gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Visual Studio screws up sometimes...???

#111024 - Diirewolf - Sun Dec 03, 2006 7:06 pm

I have set up Visual Studio with devKitPro and use the makefile provided with the samples there (also the make commands). Sometimes, really randomly, the compiler doesn't want to compile... it just quickly says "build succeeded" and nothing happens... any ideas?

#111086 - Miked0801 - Mon Dec 04, 2006 1:08 am

The .o files marked red only and not modified? Perhaps the files you were working on were never saved and it didn't compile?

#111087 - Lick - Mon Dec 04, 2006 1:09 am

Visual C++ Epxress works 100% of the times.
_________________
http://licklick.wordpress.com

#111180 - thegamefreak0134 - Mon Dec 04, 2006 5:53 pm

The makefile should only compile something if one of its non-compiled parts has been modified since the last compile. The no-make state you are describing is caused by me most often by forgetting to save my file before running the make command. If you cant get it to compile even then, try running a clean command, which should force it to re-compile everything the next time you make.

-gamefreak

PS: This is done in programmers notepad, but I believe the process should be the same in visual studio.
_________________
What if the hokey-pokey really is what it's all about?

[url=http:/www.darknovagames.com/index.php?action=recruit&clanid=1]Support Zeta on DarkNova![/url]

#111458 - Diirewolf - Wed Dec 06, 2006 7:27 pm

actually i think it was a linker error. for some reson it doesn't show linker errors in Visual Studio so i got Visual C++ Express and it shows the errors. thanks for the suggestion