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.

DS development > How do you set up Visual Studio for DS Development?

#46160 - Kujo - Tue Jun 21, 2005 12:23 am

I've searched through the forums for the past 2 days trying to get everything setup...

I can compile the examples with NDSLIB through the command line...but I'd prefer to get it going through Visual Studio. I've tried the template from NDS Dev Env (I actually don't use NDS Dev Env...set up my environment manually) but to no avail...so...

How do you set up Visual Studio for DS Development? A step by step guide would be greatly appreciated by me...and others I'd imagine.

I'd be happy with even just a few pointers to get me started.

Thanks in advance :)

#46161 - DekuTree64 - Tue Jun 21, 2005 12:44 am

The way I do it is with a batch file. Create a build.bat with something like this:

Code:
SET PATH=c:\ndsdev\devkitarm\bin;c:\msys\bin
make


Then create a makefile project in visual studio and in the command line box in project settings, type build. That calls your build.bat.
_________________
___________
The best optimization is to do nothing at all.
Therefore a fully optimized program doesn't exist.
-Deku

#46162 - arog - Tue Jun 21, 2005 2:08 am

Quote:
I've searched through the forums


... but you forgot to search my site. :)

http://www.aaronrogers.com/nintendods/manual_setup.php#vs

- Aaron Rogers
http://www.aaronrogers.com/nintendods/

#46164 - Kujo - Tue Jun 21, 2005 2:46 am

lol arog...I used your site to manually set up the environment...I edited what your site said but it just doesn't like me...

even tried your template and another from drunken coders (I think)...neither would work...

Oh, I'm using Visual Studio 2005 if that's a problem *shrugs*

#46165 - Kujo - Tue Jun 21, 2005 2:50 am

DekuTree64 wrote:
The way I do it is with a batch file. Create a build.bat with something like this:

Code:
SET PATH=c:\ndsdev\devkitarm\bin;c:\msys\bin
make


Then create a makefile project in visual studio and in the command line box in project settings, type build. That calls your build.bat.


I'll get on to setting that up tomorrow :)

#46168 - arog - Tue Jun 21, 2005 5:51 am

Quote:
Oh, I'm using Visual Studio 2005 if that's a problem *shrugs*


Oh, I haven't used that yet. Is it out of beta yet?

- Aaron Rogers
http://www.aaronrogers.com/nintendods/

#46232 - Kujo - Wed Jun 22, 2005 12:48 am

arog wrote:
Quote:
Oh, I'm using Visual Studio 2005 if that's a problem *shrugs*


Oh, I haven't used that yet. Is it out of beta yet?

- Aaron Rogers
http://www.aaronrogers.com/nintendods/


no...currently 'beta 2'