forum.getinpulse.com
http://www.getinpulse.com/hack/forum/

Psychedelic Clock
http://www.getinpulse.com/hack/forum/viewtopic.php?f=7&t=4
Page 1 of 1

Author:  Jon [ Tue Feb 15, 2011 8:02 am ]
Post subject:  Psychedelic Clock

http://www.getinpulse.com/apps/psychedelic_clock/

This app prints the current time over a dynamic pulsating psychedelic background. The button is used to toggle between normal and sleep modes. It is crazy cool and we really need a video to describe it better.

http://www.youtube.com/watch?v=FjrzquqC ... r_embedded

Author:  JLo [ Sat Mar 26, 2011 12:16 am ]
Post subject:  Re: Psychedelic Clock

Hi Jon,

I've been trying out all of the featured apps, and this is the only one I haven't been able to install. Can you take a look at the trace below and advise me on what I might be doing wrong? I have attached the source I'm compiling as well.

Thanks!

JLo

>python compileandload.py -c

use correct syntax
all .c files must be in src/ and all .h files in include/
Use a flat directory structure, no directories in src/ or include/ at this momen
t
File added: include\app_resources.h
File added: include\pulse_os.h
File added: include\pulse_types.h
File added: src\pulse_app.bin
File added: src\pulse_app.c

uuID= 6597e392-d758-4918-a781-c0203ce527ce

arm-none-eabi-gcc -o build/pulse_app -Iinclude -std=gnu99 -g -Os -Wall -Wno-for
mat -fno-builtin -mcpu=arm7tdmi-s -march=armv4t -mthumb -mthumb-interwork -ffunc
tion-sections -fdata-sections -DNDEBUG -Wno-unused-parameter -Tlib/obj/firmware.
ld -Wl,--cref -Wl,--gc-sections -Wl,-Map=build/pulse_app.map,-\( lib/libapp_comm
on.a lib/libbtstack.a lib/libdebug.a lib/libkernel.a lib/libpulse_os.a lib/libpu
lse_protocol.a lib/libpulse_widgets.a lib/obj/irq.o lib/obj/kernel_struct.o src/
pulse_app.c -lgcc -Wl,-\)
src/pulse_app.c: In function 'psychedlic_background':
src/pulse_app.c:65: warning: implicit declaration of function 'cycle_color'
src/pulse_app.c: At top level:
src/pulse_app.c:71: warning: conflicting types for 'cycle_color'
src/pulse_app.c: At top level:
src/pulse_app.c:71: warning: conflicting types for 'cycle_color'
src/pulse_app.c:65: note: previous implicit declaration of 'cycle_color' was her
e
src/pulse_app.c: In function 'print_time_into_text_buffer':
src/pulse_app.c:112: warning: implicit declaration of function 'sprintf'
src/pulse_app.c: In function 'draw_clock':
src/pulse_app.c:129: error: 'FONT_CLOCKOPIA_32' undeclared (first use in this fu
nction)
src/pulse_app.c:129: error: (Each undeclared identifier is reported only once
src/pulse_app.c:129: error: for each function it appears in.)
make: *** [pulse_app] Error 1

compile failed.

Compile failed. See error report above

Attachments:
File comment: Source code generating this error:
C:\Documents and Settings\JL\Desktop\Inpulse\Psychedelic Clock>python compileand
load.py -c
use correct syntax
all .c files must be in src/ and all .h files in include/
Use a flat directory structure, no directories in src/ or include/ at this momen
t
File added: include\app_resources.h
File added: include\pulse_os.h
File added: include\pulse_types.h
File added: src\pulse_app.bin
File added: src\pulse_app.c

uuID= 6597e392-d758-4918-a781-c0203ce527ce

arm-none-eabi-gcc -o build/pulse_app -Iinclude -std=gnu99 -g -Os -Wall -Wno-for
mat -fno-builtin -mcpu=arm7tdmi-s -march=armv4t -mthumb -mthumb-interwork -ffunc
tion-sections -fdata-sections -DNDEBUG -Wno-unused-parameter -Tlib/obj/firmware.
ld -Wl,--cref -Wl,--gc-sections -Wl,-Map=build/pulse_app.map,-\( lib/libapp_comm
on.a lib/libbtstack.a lib/libdebug.a lib/libkernel.a lib/libpulse_os.a lib/libpu
lse_protocol.a lib/libpulse_widgets.a lib/obj/irq.o lib/obj/kernel_struct.o src/
pulse_app.c -lgcc -Wl,-\)
src/pulse_app.c: In function 'psychedlic_background':
src/pulse_app.c:65: warning: implicit declaration of function 'cycle_color'
src/pulse_app.c: At top level:
src/pulse_app.c:71: warning: conflicting types for 'cycle_color'
src/pulse_app.c: At top level:
src/pulse_app.c:71: warning: conflicting types for 'cycle_color'
src/pulse_app.c:65: note: previous implicit declaration of 'cycle_color' was her
e
src/pulse_app.c: In function 'print_time_into_text_buffer':
src/pulse_app.c:112: warning: implicit declaration of function 'sprintf'
src/pulse_app.c: In function 'draw_clock':
src/pulse_app.c:129: error: 'FONT_CLOCKOPIA_32' undeclared (first use in this fu
nction)
src/pulse_app.c:129: error: (Each undeclared identifier is reported only once
src/pulse_app.c:129: error: for each function it appears in.)
make: *** [pulse_app] Error 1

compile failed.

Compile failed. See error report above

Psychedelic Clock.rar [1.19 MiB]
Downloaded 9 times

Author:  JLo [ Sat Mar 26, 2011 12:22 am ]
Post subject:  Re: Psychedelic Clock

Hmm.. that .rar attachment didn't seem to take. I've added it again as a .zip...

Attachments:
Psychedelic Clock.zip [1.36 MiB]
Downloaded 12 times

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/