{"action":"created","issue":{"url":"https://api.github.com/repos/pebble/pebblejs/issues/31","labels_url":"https://api.github.com/repos/pebble/pebblejs/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/pebble/pebblejs/issues/31/comments","events_url":"https://api.github.com/repos/pebble/pebblejs/issues/31/events","html_url":"https://github.com/pebble/pebblejs/issues/31","id":59255598,"number":31,"title":"SDK 3 Working project","user":{"login":"grillorafael","id":1812267,"avatar_url":"https://avatars.githubusercontent.com/u/1812267?v=3","gravatar_id":"","url":"https://api.github.com/users/grillorafael","html_url":"https://github.com/grillorafael","followers_url":"https://api.github.com/users/grillorafael/followers","following_url":"https://api.github.com/users/grillorafael/following{/other_user}","gists_url":"https://api.github.com/users/grillorafael/gists{/gist_id}","starred_url":"https://api.github.com/users/grillorafael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grillorafael/subscriptions","organizations_url":"https://api.github.com/users/grillorafael/orgs","repos_url":"https://api.github.com/users/grillorafael/repos","events_url":"https://api.github.com/users/grillorafael/events{/privacy}","received_events_url":"https://api.github.com/users/grillorafael/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-02-27T16:04:45Z","updated_at":"2015-03-01T18:35:18Z","closed_at":null,"body":"Hi guys!\r\n\r\nI'm trying to make this work on SDK 3 but it is not working.\r\n1. pebble convert-project\r\n  1. Pebble generated a new wscript that I merged with the old one\r\n\r\n\r\nWhen I build the project I get lots of errors in simply. It seems that those errors are related to bitmap and colors."},"comment":{"url":"https://api.github.com/repos/pebble/pebblejs/issues/comments/76622951","html_url":"https://github.com/pebble/pebblejs/issues/31#issuecomment-76622951","issue_url":"https://api.github.com/repos/pebble/pebblejs/issues/31","id":76622951,"user":{"login":"idoodler","id":6825153,"avatar_url":"https://avatars.githubusercontent.com/u/6825153?v=3","gravatar_id":"","url":"https://api.github.com/users/idoodler","html_url":"https://github.com/idoodler","followers_url":"https://api.github.com/users/idoodler/followers","following_url":"https://api.github.com/users/idoodler/following{/other_user}","gists_url":"https://api.github.com/users/idoodler/gists{/gist_id}","starred_url":"https://api.github.com/users/idoodler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idoodler/subscriptions","organizations_url":"https://api.github.com/users/idoodler/orgs","repos_url":"https://api.github.com/users/idoodler/repos","events_url":"https://api.github.com/users/idoodler/events{/privacy}","received_events_url":"https://api.github.com/users/idoodler/received_events","type":"User","site_admin":false},"created_at":"2015-03-01T18:35:18Z","updated_at":"2015-03-01T18:35:18Z","body":"@Meiguro The wscript and the appinfo have been adapted automatically for me. But to make sure, that there is no error I replaced my wscript with the one you provided, I also checked the appinfo.json and there is no significant change, so I did not touched it. I then builded the project and I got a huge load of errors. I think there is another error.\r\n\r\nHere is my terminal output:\r\n\r\n\"Last login: Sun Mar  1 19:26:49 on ttys000\r\nYou have mail.\r\nDavids-MBP:~ David$ cd /Users/David/Downloads/pebblejs-master\r\nDavids-MBP:pebblejs-master David$ pebble build\r\nSetting top to                           : /Users/David/Downloads/pebblejs-master \r\nSetting out to                           : /Users/David/Downloads/pebblejs-master/build \r\nFound Pebble SDK for aplite in:          : /Users/David/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite \r\nChecking for program gcc,cc              : arm-none-eabi-gcc \r\nChecking for program ar                  : arm-none-eabi-ar \r\nFound Pebble SDK for basalt in:          : /Users/David/pebble-dev/PebbleSDK-3.0-dp1/Pebble/basalt \r\nChecking for program gcc,cc              : arm-none-eabi-gcc \r\nChecking for program ar                  : arm-none-eabi-ar \r\n'configure' finished successfully (0.056s)\r\nWaf: Entering directory `/Users/David/Downloads/pebblejs-master/build'\r\n[17/73] app_resources.pbpack.manifest: build/resources/aplite/fonts/UbuntuMono-Regular.ttf.MONO_FONT_14.pfo build/resources/aplite/images/logo_splash.pbi build/resources/aplite/images/LoxoneForPebble.pbi build/resources/aplite/images/minus.pbi build/resources/aplite/images/plus.pbi build/resources/aplite/images/push.pbi build/resources/aplite/images/up.pbi build/resources/aplite/images/info.pbi build/resources/aplite/images/close.pbi build/resources/aplite/images/error.pbi build/resources/aplite/images/success.pbi build/resources/aplite/images/warning.pbi ../../pebble-dev/PebbleSDK-3.0-dp1/Pebble/common/tools/pbpack_meta_data.py -> build/aplite/app_resources.pbpack.manifest\r\n[36/73] app_resources.pbpack.manifest: build/resources/basalt/fonts/UbuntuMono-Regular.ttf.MONO_FONT_14.pfo build/resources/basalt/images/logo_splash.png build/resources/basalt/images/LoxoneForPebble.png build/resources/basalt/images/minus.png build/resources/basalt/images/plus.png build/resources/basalt/images/push.png build/resources/basalt/images/up.png build/resources/basalt/images/info.png build/resources/basalt/images/close.png build/resources/basalt/images/error.png build/resources/basalt/images/success.png build/resources/basalt/images/warning.png ../../pebble-dev/PebbleSDK-3.0-dp1/Pebble/common/tools/pbpack_meta_data.py -> build/basalt/app_resources.pbpack.manifest\r\n[39/73] c: src/simply/simply_accel.c -> build/src/simply/simply_accel.c.39.o\r\n[40/73] c: src/simply/simply_menu.c -> build/src/simply/simply_menu.c.39.o\r\n[43/73] c: src/simply/simply_splash.c -> build/src/simply/simply_splash.c.39.o\r\n[44/73] c: src/simply/simply_stage.c -> build/src/simply/simply_stage.c.39.o\r\n[48/73] c: src/simply/simply_wakeup.c -> build/src/simply/simply_wakeup.c.39.o\r\n[48/73] c: src/simply/simply_window.c -> build/src/simply/simply_window.c.39.o\r\n../src/simply/simply_accel.c: In function 'send_accel_tap':\r\n../src/simply/simply_accel.c:42:5: error: missing initializer [-Werror=missing-field-initializers]\r\n../src/simply/simply_accel.c:42:5: error: (near initialization for 'packet.packet.length') [-Werror=missing-field-initializers]\r\ncc1: all warnings being treated as errors\r\n../src/simply/simply_splash.c: In function 'window_load':\r\n../src/simply/simply_splash.c:28:46: error: 'RESOURCE_ID_IMAGE_TILE_SPLASH' undeclared (first use in this function)\r\n../src/simply/simply_splash.c:28:46: note: each undeclared identifier is reported only once for each function it appears in\r\n../src/simply/simply_menu.c: In function 'send_menu_item':\r\n../src/simply/simply_menu.c:93:5: error: missing initializer [-Werror=missing-field-initializers]\r\n../src/simply/simply_menu.c:93:5: error: (near initialization for 'packet.packet.length') [-Werror=missing-field-initializers]\r\n../src/simply/simply_menu.c: In function 'request_menu_section':\r\n../src/simply/simply_menu.c:198:3: error: missing initializer [-Werror=missing-field-initializers]\r\n../src/simply/simply_menu.c:198:3: error: (near initialization for '(anonymous).<anonymous>.<anonymous>.title') [-Werror=missing-field-initializers]\r\n../src/simply/simply_menu.c: In function 'request_menu_item':\r\n../src/simply/simply_menu.c:211:5: error: missing initializer [-Werror=missing-field-initializers]\r\n../src/simply/simply_menu.c:211:5: error: (near initialization for '(anonymous).<anonymous>.<anonymous>.title') [-Werror=missing-field-initializers]\r\n../src/simply/simply_menu.c: In function 'handle_menu_section_packet':\r\n../src/simply/simply_menu.c:417:5: error: missing initializer [-Werror=missing-field-initializers]\r\n../src/simply/simply_menu.c:417:5: error: (near initialization for '(anonymous).<anonymous>.<anonymous>.title') [-Werror=missing-field-initializers]\r\n../src/simply/simply_menu.c: In function 'handle_menu_item_packet':\r\n../src/simply/simply_menu.c:428:5: error: missing initializer [-Werror=missing-field-initializers]\r\n../src/simply/simply_menu.c:428:5: error: (near initialization for '(anonymous).<anonymous>.<anonymous>.title') [-Werror=missing-field-initializers]\r\n../src/simply/simply_menu.c: In function 'simply_menu_create':\r\n../src/simply/simply_menu.c:480:5: error: missing initializer [-Werror=missing-field-initializers]\r\n../src/simply/simply_menu.c:480:5: error: (near initialization for '(anonymous).window.window') [-Werror=missing-field-initializers]\r\ncc1: all warnings being treated as errors\r\n../src/simply/simply_wakeup.c: In function 'send_launch_reason':\r\n../src/simply/simply_wakeup.c:52:5: error: missing initializer [-Werror=missing-field-initializers]\r\n../src/simply/simply_wakeup.c:52:5: error: (near initialization for 'packet.packet.length') [-Werror=missing-field-initializers]\r\n../src/simply/simply_wakeup.c: In function 'send_wakeup_signal':\r\n../src/simply/simply_wakeup.c:63:5: error: missing initializer [-Werror=missing-field-initializers]\r\n../src/simply/simply_wakeup.c:63:5: error: (near initialization for 'packet.packet.length') [-Werror=missing-field-initializers]\r\ncc1: all warnings being treated as errors\r\n../src/simply/simply_stage.c: In function 'send_animate_element_done':\r\n../src/simply/simply_stage.c:117:5: error: missing initializer [-Werror=missing-field-initializers]\r\n../src/simply/simply_stage.c:117:5: error: (near initialization for 'packet.packet.length') [-Werror=missing-field-initializers]\r\n../src/simply/simply_stage.c: In function 'simply_stage_create':\r\n../src/simply/simply_stage.c:625:3: error: missing initializer [-Werror=missing-field-initializers]\r\n../src/simply/simply_stage.c:625:3: error: (near initialization for '(anonymous).window.window') [-Werror=missing-field-initializers]\r\ncc1: all warnings being treated as errors\r\n../src/simply/simply_window.c: In function 'send_click':\r\n../src/simply/simply_window.c:56:5: error: missing initializer [-Werror=missing-field-initializers]\r\n../src/simply/simply_window.c:56:5: error: (near initialization for 'packet.packet.length') [-Werror=missing-field-initializers]\r\ncc1: all warnings being treated as errors\r\nWaf: Leaving directory `/Users/David/Downloads/pebblejs-master/build'\r\nBuild failed\r\n -> task in 'aplite/pebble-app.elf' failed (exit status 1): \r\n\t{task 4571664720: c simply_accel.c -> simply_accel.c.39.o}\r\n['arm-none-eabi-gcc', '-std=c99', '-mcpu=cortex-m3', '-mthumb', '-ffunction-sections', '-fdata-sections', '-g', '-Os', '-Wall', '-Wextra', '-Werror', '-Wno-unused-parameter', '-Wno-error=unused-function', '-Wno-error=unused-variable', '-fPIE', '-I/Users/David/Downloads/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/Downloads/pebblejs-master/build', '-I/Users/David/Downloads/pebblejs-master', '-I/Users/David/Downloads/pebblejs-master/build/src', '-I/Users/David/Downloads/pebblejs-master/src', '-I/Users/David/Downloads/pebblejs-master/build/aplite', '-I/Users/David/Downloads/pebblejs-master/aplite', '-DRELEASE', '-DPBL_PLATFORM_APLITE', '-DPBL_BW', '-D__FILE_NAME__=\"simply_accel.c\"', '../src/simply/simply_accel.c', '-c', '-o', 'src/simply/simply_accel.c.39.o']\r\n -> task in 'aplite/pebble-app.elf' failed (exit status 1): \r\n\t{task 4571665296: c simply_splash.c -> simply_splash.c.39.o}\r\n['arm-none-eabi-gcc', '-std=c99', '-mcpu=cortex-m3', '-mthumb', '-ffunction-sections', '-fdata-sections', '-g', '-Os', '-Wall', '-Wextra', '-Werror', '-Wno-unused-parameter', '-Wno-error=unused-function', '-Wno-error=unused-variable', '-fPIE', '-I/Users/David/Downloads/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/Downloads/pebblejs-master/build', '-I/Users/David/Downloads/pebblejs-master', '-I/Users/David/Downloads/pebblejs-master/build/src', '-I/Users/David/Downloads/pebblejs-master/src', '-I/Users/David/Downloads/pebblejs-master/build/aplite', '-I/Users/David/Downloads/pebblejs-master/aplite', '-DRELEASE', '-DPBL_PLATFORM_APLITE', '-DPBL_BW', '-D__FILE_NAME__=\"simply_splash.c\"', '../src/simply/simply_splash.c', '-c', '-o', 'src/simply/simply_splash.c.39.o']\r\n -> task in 'aplite/pebble-app.elf' failed (exit status 1): \r\n\t{task 4571664848: c simply_menu.c -> simply_menu.c.39.o}\r\n['arm-none-eabi-gcc', '-std=c99', '-mcpu=cortex-m3', '-mthumb', '-ffunction-sections', '-fdata-sections', '-g', '-Os', '-Wall', '-Wextra', '-Werror', '-Wno-unused-parameter', '-Wno-error=unused-function', '-Wno-error=unused-variable', '-fPIE', '-I/Users/David/Downloads/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/Downloads/pebblejs-master/build', '-I/Users/David/Downloads/pebblejs-master', '-I/Users/David/Downloads/pebblejs-master/build/src', '-I/Users/David/Downloads/pebblejs-master/src', '-I/Users/David/Downloads/pebblejs-master/build/aplite', '-I/Users/David/Downloads/pebblejs-master/aplite', '-DRELEASE', '-DPBL_PLATFORM_APLITE', '-DPBL_BW', '-D__FILE_NAME__=\"simply_menu.c\"', '../src/simply/simply_menu.c', '-c', '-o', 'src/simply/simply_menu.c.39.o']\r\n -> task in 'aplite/pebble-app.elf' failed (exit status 1): \r\n\t{task 4571665680: c simply_wakeup.c -> simply_wakeup.c.39.o}\r\n['arm-none-eabi-gcc', '-std=c99', '-mcpu=cortex-m3', '-mthumb', '-ffunction-sections', '-fdata-sections', '-g', '-Os', '-Wall', '-Wextra', '-Werror', '-Wno-unused-parameter', '-Wno-error=unused-function', '-Wno-error=unused-variable', '-fPIE', '-I/Users/David/Downloads/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/Downloads/pebblejs-master/build', '-I/Users/David/Downloads/pebblejs-master', '-I/Users/David/Downloads/pebblejs-master/build/src', '-I/Users/David/Downloads/pebblejs-master/src', '-I/Users/David/Downloads/pebblejs-master/build/aplite', '-I/Users/David/Downloads/pebblejs-master/aplite', '-DRELEASE', '-DPBL_PLATFORM_APLITE', '-DPBL_BW', '-D__FILE_NAME__=\"simply_wakeup.c\"', '../src/simply/simply_wakeup.c', '-c', '-o', 'src/simply/simply_wakeup.c.39.o']\r\n -> task in 'aplite/pebble-app.elf' failed (exit status 1): \r\n\t{task 4571665360: c simply_stage.c -> simply_stage.c.39.o}\r\n['arm-none-eabi-gcc', '-std=c99', '-mcpu=cortex-m3', '-mthumb', '-ffunction-sections', '-fdata-sections', '-g', '-Os', '-Wall', '-Wextra', '-Werror', '-Wno-unused-parameter', '-Wno-error=unused-function', '-Wno-error=unused-variable', '-fPIE', '-I/Users/David/Downloads/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/Downloads/pebblejs-master/build', '-I/Users/David/Downloads/pebblejs-master', '-I/Users/David/Downloads/pebblejs-master/build/src', '-I/Users/David/Downloads/pebblejs-master/src', '-I/Users/David/Downloads/pebblejs-master/build/aplite', '-I/Users/David/Downloads/pebblejs-master/aplite', '-DRELEASE', '-DPBL_PLATFORM_APLITE', '-DPBL_BW', '-D__FILE_NAME__=\"simply_stage.c\"', '../src/simply/simply_stage.c', '-c', '-o', 'src/simply/simply_stage.c.39.o']\r\n -> task in 'aplite/pebble-app.elf' failed (exit status 1): \r\n\t{task 4571665808: c simply_window.c -> simply_window.c.39.o}\r\n['arm-none-eabi-gcc', '-std=c99', '-mcpu=cortex-m3', '-mthumb', '-ffunction-sections', '-fdata-sections', '-g', '-Os', '-Wall', '-Wextra', '-Werror', '-Wno-unused-parameter', '-Wno-error=unused-function', '-Wno-error=unused-variable', '-fPIE', '-I/Users/David/Downloads/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/Downloads/pebblejs-master/build', '-I/Users/David/Downloads/pebblejs-master', '-I/Users/David/Downloads/pebblejs-master/build/src', '-I/Users/David/Downloads/pebblejs-master/src', '-I/Users/David/Downloads/pebblejs-master/build/aplite', '-I/Users/David/Downloads/pebblejs-master/aplite', '-DRELEASE', '-DPBL_PLATFORM_APLITE', '-DPBL_BW', '-D__FILE_NAME__=\"simply_window.c\"', '../src/simply/simply_window.c', '-c', '-o', 'src/simply/simply_window.c.39.o']\r\n[ERROR   ] A compilation error occurred\r\nDavids-MBP:pebblejs-master David$ \r\n\""}}