Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

../src/windows/checkbox_window.c:76:54: error: 'RESOURCE_ID_TICK_BLACK' undeclared (first use in this #4

Open
davidawad opened this issue Apr 13, 2016 · 1 comment

Comments

@davidawad
Copy link

I'm getting this error, searching for the macro it seems to not be declared anywhere. where does it come from? thanks.

➜  make
pebble build
Setting top to                           : /Users/david/Projects/dex
Setting out to                           : /Users/david/Projects/dex/build
Found Pebble SDK for chalk in:           : /Users/david/Library/Application Support/Pebble SDK/SDKs/current/sdk-core/pebble/chalk
Checking for program gcc,cc              : arm-none-eabi-gcc
Checking for program ar                  : arm-none-eabi-gcc-ar
Found Pebble SDK for basalt in:          : /Users/david/Library/Application Support/Pebble SDK/SDKs/current/sdk-core/pebble/basalt
Checking for program gcc,cc              : arm-none-eabi-gcc
Checking for program ar                  : arm-none-eabi-gcc-ar
Found Pebble SDK for aplite in:          : /Users/david/Library/Application Support/Pebble SDK/SDKs/current/sdk-core/pebble/aplite
Checking for program gcc,cc              : arm-none-eabi-gcc
Checking for program ar                  : arm-none-eabi-gcc-ar
'configure' finished successfully (0.157s)
Waf: Entering directory `/Users/david/Projects/dex/build'
[ 1/59] Start build for chalk:
[ 8/59] c: src/dex.c -> build/src/dex.c.22.o
[11/59] c: src/windows/checkbox_window.c -> build/src/windows/checkbox_window.c.22.o
../src/windows/checkbox_window.c: In function 'window_load':
../src/windows/checkbox_window.c:76:54: error: 'RESOURCE_ID_TICK_BLACK' undeclared (first use in this function)
../src/windows/checkbox_window.c:76:54: note: each undeclared identifier is reported only once for each function it appears in
../src/windows/checkbox_window.c:77:54: error: 'RESOURCE_ID_TICK_WHITE' undeclared (first use in this function)
Waf: Leaving directory `/Users/david/Projects/dex/build'
Build failed
 -> task in 'chalk/pebble-app.elf' failed (exit status 1):
    {task 4429744656: c checkbox_window.c -> checkbox_window.c.22.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', '-fPIE', '-I/Users/david/Projects/Library/Application Support/Pebble SDK/SDKs/current/sdk-core/pebble/chalk/include', '-I/Users/david/Library/Application Support/Pebble SDK/SDKs/current/sdk-core/pebble/chalk/include', '-I/Users/david/Projects/dex/build', '-I/Users/david/Projects/dex', '-I/Users/david/Projects/dex/build/src', '-I/Users/david/Projects/dex/src', '-I/Users/david/Projects/dex/build/chalk', '-I/Users/david/Projects/dex/chalk', '-DRELEASE', '-DPBL_PLATFORM_CHALK', '-DPBL_COLOR', '-DPBL_ROUND', '-DPBL_MICROPHONE', '-DPBL_SMARTSTRAP', '-DPBL_HEALTH', '-DPBL_SDK_3', '-D__FILE_NAME__="checkbox_window.c"', '../src/windows/checkbox_window.c', '-c', '-o', 'src/windows/checkbox_window.c.22.o']
Build failed.
make: *** [all] Error 1
@davidawad
Copy link
Author

I solved this by just removing the macro dependence since I wasn't using it. But I still don't understand where this macro is actually defined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant