Original Post

I’ve been trying to set up a virtual boy development on windows 7 but to no avail so far.

I followed the instructions in the wiki to install GCCVB by installing everything for cygwin and copying the files in what appears to be the appropriate locations.

However when i try to set up the front ends i cannot get it to work. When i try to set up eclipse, i get 1 error, which is
Program “make” is not found in PATH
even though in the path environment variable has ;e:\cygwin\bin which is where i installed cygwin. and there is a make.exe in e:\cygwin\bin…

and a of warning as well
Cannot run program “E:\cygwin\bin\gcc.exe”:

so giving up on that, i followed the instructions and when i try to compile code, i get an error
make: *** No rule to make target `ProjectName’. Stop.
even when i add a makefile (from the example of setting up eclipse) in the project.

Anyone willing to help me out?

10 Replies

Hi. Try compiling the demo attached to this post. Make sure the path is correct in the makefile. What happens when you run make from the cygwin command prompt?

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.

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.

The Wiki markup on the “Setting up Eclipse” page was eating the Makefile code. I just fixed it so it should be OK to copy/paste/adapt safely.

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”.

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

  • This reply was modified 12 years, 6 months ago by mmHNmm.

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.

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?

Try using the version of libgccvb included with the drawsync demo.

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

 

Write a reply

You must be logged in to reply to this topic.