It is currently Wed Jul 06, 2011 1:34 pm

All times are UTC - 8 hours




 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: Psychedelic Clock
PostPosted: Tue Feb 15, 2011 8:02 am 
User avatar

Joined: Tue Feb 15, 2011 1:00 am
Posts: 60
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


Offline
 Profile  
 
 Post subject: Re: Psychedelic Clock
PostPosted: Sat Mar 26, 2011 12:16 am 

Joined: Fri Mar 18, 2011 10:56 pm
Posts: 9
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 8 times
Offline
 Profile  
 
 Post subject: Re: Psychedelic Clock
PostPosted: Sat Mar 26, 2011 12:22 am 

Joined: Fri Mar 18, 2011 10:56 pm
Posts: 9
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
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: