python - MAC OS X Pebble SDK 3.0 error building: Compilation error InverterLayer -


a few months ago running pebble sdk 3.0 on mac , worked perfectly, ran apps basalt emulator.

recently cleaned(wiped) mac because running slow. today going run apps again didn't have pebble sdk installed.

i installed using brew command appears on pebble developer website: http://developer.getpebble.com/sdk/download/

brew install pebble/pebble-sdk/pebble-sdk 

i found directory on here:

/usr/local/cellar/pebble-sdk/3.0 

i tried run pebble build remembered needed , clone pebbles repository. did , when pebble build starts building fine then, happens:

[17/63] start build aplite:  [25/63] app_resources.pbpack.manifest: build/resources/aplite/images/menu_icon.pbi build/resources/aplite/images/logo_splash.pbi build/resources/aplite/images/tile_splash.pbi build/resources/aplite/fonts/ubuntumono-regular.ttf.mono_font_14.pfo ../pebble/common/tools/pbpack_meta_data.py -> build/aplite/app_resources.pbpack.manifest [28/63] c: src/simply/simply.c -> build/src/simply/simply.c.28.o [31/63] c: src/simply/simply_msg.c -> build/src/simply/simply_msg.c.28.o [35/63] c: src/simply/simply_splash.c -> build/src/simply/simply_splash.c.28.o in file included ../src/simply/simply.c:6:0: ../src/simply/simply_stage.h:102:3: error: unknown type name 'inverterlayer' ../src/simply/simply_splash.c: in function 'simply_splash_create': ../src/simply/simply_splash.c:45:3: error: implicit declaration of function 'window_set_fullscreen' [-werror=implicit-function-declaration] cc1: warnings being treated errors in file included ../src/simply/simply_msg.c:5:0: ../src/simply/simply_stage.h:102:3: error: unknown type name 'inverterlayer'  waf: leaving directory `/usr/local/cellar/pebble-sdk/3.0/pebblejs/build' build failed  -> task in 'basalt/pebble-app.elf' failed (exit status 1):      {task 4378463632: c simply.c -> simply.c.28.o} ['arm-none-eabi-gcc', '-std=c99', '-mcpu=cortex-m3', '-mthumb', '-ffunction-sections', '-fdata-sections', '-g', '-os', '-d_time_h_', '-wall', '-wextra', '-werror', '-wno-unused-parameter', '-wno-error=unused-function', '-wno-error=unused-variable', '-wno-address', '-wno-type-limits', '-wno-missing-field-initializers', '-fpie', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/pebble/basalt/include', '-i/usr/local/cellar/pebble-sdk/3.0/pebble/basalt/include', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/build', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/build/src', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/src', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/build/basalt', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/basalt', '-drelease', '-dpbl_platform_basalt', '-dpbl_color', '-dpbl_sdk_3', '-d__file_name__="simply.c"', '../src/simply/simply.c', '-c', '-o', 'src/simply/simply.c.28.o']  -> task in 'basalt/pebble-app.elf' failed (exit status 1):      {task 4378501264: c simply_splash.c -> simply_splash.c.28.o} ['arm-none-eabi-gcc', '-std=c99', '-mcpu=cortex-m3', '-mthumb', '-ffunction-sections', '-fdata-sections', '-g', '-os', '-d_time_h_', '-wall', '-wextra', '-werror', '-wno-unused-parameter', '-wno-error=unused-function', '-wno-error=unused-variable', '-wno-address', '-wno-type-limits', '-wno-missing-field-initializers', '-fpie', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/pebble/basalt/include', '-i/usr/local/cellar/pebble-sdk/3.0/pebble/basalt/include', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/build', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/build/src', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/src', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/build/basalt', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/basalt', '-drelease', '-dpbl_platform_basalt', '-dpbl_color', '-dpbl_sdk_3', '-d__file_name__="simply_splash.c"', '../src/simply/simply_splash.c', '-c', '-o', 'src/simply/simply_splash.c.28.o']  -> task in 'basalt/pebble-app.elf' failed (exit status 1):      {task 4378464016: c simply_msg.c -> simply_msg.c.28.o} ['arm-none-eabi-gcc', '-std=c99', '-mcpu=cortex-m3', '-mthumb', '-ffunction-sections', '-fdata-sections', '-g', '-os', '-d_time_h_', '-wall', '-wextra', '-werror', '-wno-unused-parameter', '-wno-error=unused-function', '-wno-error=unused-variable', '-wno-address', '-wno-type-limits', '-wno-missing-field-initializers', '-fpie', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/pebble/basalt/include', '-i/usr/local/cellar/pebble-sdk/3.0/pebble/basalt/include', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/build', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/build/src', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/src', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/build/basalt', '-i/usr/local/cellar/pebble-sdk/3.0/pebblejs/basalt', '-drelease', '-dpbl_platform_basalt', '-dpbl_color', '-dpbl_sdk_3', '-d__file_name__="simply_msg.c"', '../src/simply/simply_msg.c', '-c', '-o', 'src/simply/simply_msg.c.28.o']  [error   ] compilation error occurred 

i not sure do. thanks!

kevin

update: solved it!

problem: read more new sdks pebble has been updating , seems new 1 deprecated inverterlayer , other functions why wasn't compiling.

fix: did went on examples page on developer.pebble website , browse 1 of them on github, cloned 1 eliminated problems had, , copied code , ran it.


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -