We're using cookies to ensure you get the best experience on our website. More info
Understood
@mmhnmm123Registered October 10, 2011Active 12 years, 7 months ago
7 Replies made

That worked…
Should someone update the demo file so if some one tries to run them, they can?

I really hate to be a pain but i finally got set up…
but going through the demos listed in the wiki and it didn’t compile.
The errors come from video.h…
(An excerpt)
../libgccvb/world.h:54: `n’ undeclared here (not in a function)
../libgccvb/world.h:54: warning: type defaults to `int’ in declaration of `WAM’
../libgccvb/world.h:54: size of array `WAM’ has non-integer type
../libgccvb/world.h:54: conflicting types for `WAM’
../libgccvb/video.h:22: previous declaration of `WAM’

My question is, is my setup sqrewed up? or… is it actually a video.h, something i have to fix, or is there an updated video.h somewhere?

I guess i should be more specific the makefile listed in the eclipse wiki gives me an error make *** [.c] error 127
with 2 warnings:
make: Circular ProjectName<- ProjectName dependency dropped. make: Circular .elf<- ProjectName dependency dropped.

Nevermind i got it.
but Eclipse complains of circular logic in the make file…

  • This reply was modified 13 years, 1 month ago by mmHNmm.

Thanks for that. But it still does not work. I think i know why but i cannot figure out what to do about it.

Eclipse seems to be completely ignoring the makefile altogether and generating its own prior to compiling. And placing it into the default output folder “debug”.

I changed the toolchain in eclipse from cross GCC to cygwin gcc and now it compiles… a windows application. even with the makefile written in drawsync or copying the makefile from the eclipse wiki page.

when i type make in the cygwin prompt, it compiles the drawsync perfectly fine.

run it in the emulator and i get flashes of white and black.