Skip to content

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

@davidawad

Description

@davidawad

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions