#104976 - Diirewolf - Wed Oct 04, 2006 9:35 pm
I have Visual Studio 2005 and devkitPro installed and i want to start making gba roms using vs2k5. I have tried evrything to get it to work and compile under vs2k5 but it just doesnt want to work. I have probably visited every link available on the web so im looking for someone who can HELP me not link me. Please help me set up vs2k5 to work with devkitPro and compile roms directly from vs2k5. Any help will be greatly appreciated!
Thanks!
#105081 - Diirewolf - Thu Oct 05, 2006 8:08 pm
nvm figured it out... really stupid actually. I made my project in
C:\GBA Projects\ folder. After many hours of trial and error, i realised that it compiled in any other folder... odd no? So i changed the name of this folder and found that it worked! I guess it doesnt compile in folders which contain spaces!!! Well for those who want to know how to set it up, its quite simple (using devkitPro & Visual Studio):
- new makefile project, make sure the "create directory for solution" is unchecked.
- in the build command line, type in: " make -r 2>&1 | sed -e 's/\(.[a-zA-Z]\+\):\([0-9]\+\):/\1(\2):/' " (without the spaces be4 and after the quotes and without the quotes).
- next for output put (yourprojname).gba
- also for Clean Commands type in "make clean"
- copy the makefile from a devkitpro template project in devkitPro\examples\gba(or another one)\template.
thats it, should work (dont forget to add the devkitPro\devkitARM\bin to executables under vc++ directories. note when you make a code file it should be in the source folder of your project or else the makefile wont find it.
Alright thats it hope this helps!