[Ubuntu] Can't build Basalt version


I’m following the tutorial for beginner ( https://developer.pebble.com/tutorials/watchface-tutorial/part1/ ) but I can’t build my app, I’ve this error message:

~/Dev/Pebble/watchface$ pebble build
Setting top to                           : /home/arthur/Dev/Pebble/watchface 
Setting out to                           : /home/arthur/Dev/Pebble/watchface/build 
Checking for program webpack             : /home/arthur/.pebble-sdk/SDKs/current/node_modules/.bin/webpack 
Found Pebble SDK for basalt in:          : /home/arthur/.pebble-sdk/SDKs/current/sdk-core/pebble/basalt 
Checking for program gcc,cc              : arm-none-eabi-gcc 
Checking for program ar                  : arm-none-eabi-ar 
'configure' finished successfully (0.020s)
Waf: Entering directory `/home/arthur/Dev/Pebble/watchface/build'
[15/19] basalt | cprogram: build/src/c/watchface.c.9.o build/basalt/appinfo.auto.c.9.o build/basalt/src/resource_ids.auto.c.9.o build/src/message_keys.auto.c.9.o -> build/basalt/pebble-app.elf
/home/arthur/.pebble-sdk/SDKs/current/sdk-core/pebble/basalt/lib/libpebble.a: could not read symbols: Erreur d'entrée/sortie
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/home/arthur/Dev/Pebble/watchface/build'
Build failed
 -> task in 'basalt/pebble-app.elf' failed (exit status 1): 
	{task 139964010810384: cprogram watchface.c.9.o,appinfo.auto.c.9.o,resource_ids.auto.c.9.o,message_keys.auto.c.9.o -> pebble-app.elf}
['arm-none-eabi-gcc', '-mcpu=cortex-m3', '-mthumb', '-Wl,--gc-sections', '-Wl,--warn-common', '-fPIE', '-Os', '-Wl,--build-id=sha1', '-Wl,-Map,pebble-app.map,--emit-relocs', '-T/home/arthur/Dev/Pebble/watchface/build/basalt/pebble_app.ld.auto', 'src/c/watchface.c.9.o', 'basalt/appinfo.auto.c.9.o', 'basalt/src/resource_ids.auto.c.9.o', 'src/message_keys.auto.c.9.o', '-o', '/home/arthur/Dev/Pebble/watchface/build/basalt/pebble-app.elf', '-L/home/arthur/.pebble-sdk/SDKs/current/sdk-core/pebble/basalt/lib', '-lpebble']
Build failed.

I have no idea of what it means…
Thanks for your help ^^

EDIT : I’m using pedrolane’s PPA for SDK’s installation, could the problem come from that?


Ok, I’ve solve my problem.
I don’t know why, the libpebble.a couldn’t be read. I’ve also seen that the app could be build for Chalk, so I replace my Basalt’s version by this (chalk) version. ^^

And now it’s building and working on my watch :yum: