Skip to content

Instantly share code, notes, and snippets.

@MarSoft
Created April 4, 2015 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarSoft/4bc45cadea4f3353518c to your computer and use it in GitHub Desktop.
Save MarSoft/4bc45cadea4f3353518c to your computer and use it in GitHub Desktop.
mars@bookone p12 /tmp $ pebble new-project
Creating new project test
mars@bookone p12 /tmp $ cd test
mars@bookone p12 /tmp/test $ pebble build
Setting top to : /tmp/test
Setting out to : /tmp/test/build
Checking for program gcc,cc : arm-none-eabi-gcc
Checking for program ar : arm-none-eabi-ar
Found Pebble SDK in : /opt/pebble/Pebble
'configure' finished successfully (0.705s)
Waf: Entering directory `/tmp/test/build'
[ 1/13] appinfo.auto.c: appinfo.json -> build/appinfo.auto.c
[ 2/13] app_resources.pbpack.table: ../../opt/pebble/Pebble/tools/pbpack_meta_data.py -> build/app_resources.pbpack.table
[ 3/13] app_resources.pbpack.manifest: ../../opt/pebble/Pebble/tools/pbpack_meta_data.py -> build/app_resources.pbpack.manifest
[ 4/13] app_resources.pbpack.data: ../../opt/pebble/Pebble/tools/pbpack_meta_data.py -> build/app_resources.pbpack.data
[ 5/13] resource_ids.auto.h: ../../opt/pebble/Pebble/tools/generate_resource_code.py -> build/src/resource_ids.auto.h
[ 6/13] app_resources.pbpack: build/app_resources.pbpack.manifest build/app_resources.pbpack.table build/app_resources.pbpack.data -> build/app_resources.pbpack
[ 7/13] c: build/appinfo.auto.c -> build/appinfo.auto.c.7.o
[ 8/13] c: src/test.c -> build/src/test.c.7.o
In file included from /opt/pebble/Pebble/include/pebble_process_info.h:3:0,
from appinfo.auto.c:1:
/usr/lib/gcc/arm-none-eabi/4.9.2/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory
# include_next <stdint.h>
^
compilation terminated.
In file included from /tmp/test/build/src/resource_ids.auto.h:9:0,
from /opt/pebble/Pebble/include/pebble.h:4,
from ../src/test.c:1:
/usr/lib/gcc/arm-none-eabi/4.9.2/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory
# include_next <stdint.h>
^
compilation terminated.
Waf: Leaving directory `/tmp/test/build'
Build failed
-> task in 'pebble-app.elf' failed (exit status 1):
{task 140443027506128: c appinfo.auto.c -> appinfo.auto.c.7.o}
['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/tmp/opt/pebble/Pebble/include', '-I/opt/pebble/Pebble/include', '-I/tmp/test/build', '-I/tmp/test', '-I/tmp/test/build/src', '-I/tmp/test/src', '-DRELEASE', '-D__FILE_NAME__="appinfo.auto.c"', 'appinfo.auto.c', '-c', '-o', 'appinfo.auto.c.7.o']
-> task in 'pebble-app.elf' failed (exit status 1):
{task 140443027506192: c test.c -> test.c.7.o}
['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/tmp/opt/pebble/Pebble/include', '-I/opt/pebble/Pebble/include', '-I/tmp/test/build', '-I/tmp/test', '-I/tmp/test/build/src', '-I/tmp/test/src', '-DRELEASE', '-D__FILE_NAME__="test.c"', '../src/test.c', '-c', '-o', 'src/test.c.7.o']
[ERROR ] A compilation error occurred
1 mars@bookone p12 /tmp/test $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment