Install the SDK by following the steps below. Once the installation is successful, the NDS game developer has started many things. The game development predecessors have already written it and transferred it to several useful addresses.
(Note that the version must be the same, and vs2005 is successful, but vs2008 Express has a small problem)
Use palib (A devkitpro tool kit based on fans for more convenient development) combined with the specific installation steps of VC ++ 9.0 (Supplement 2009.02.06 to solve the compatibility issues of the new versions of palib and devkitpro)
00-Visual C ++ 2008 express Edition
Http://www.microsoft.com/express/vc/Default.aspx
01-devkitpro Updater
V. 1-4.7
Http://sourceforge.net/project/showfiles.php? Group_id = 114505 & package_id = 160396
02-devkitarm
R21
Http://sourceforge.net/project/showfiles.php? Group_id = 114505 & package_id = 124207 & release_id = 549080
Delete c: \ devkitpro \ devkitarm \ and extract to c: \ devkitpro \
03-libnds
20071023
Http://sourceforge.net/project/showfiles.php? Group_id = 114505 & package_id = 151608 & release_id = 549081
Delete all contents inside c: \ devkitpro \ libnds \ and extract in the folder
04-palib community update
Beta 080203
Http://palib.info/downloads/Beta/PALib_CommunityUpdate_BETA-080203.7z
Extract to c: \ devkitpro \
080823
Http://palib.info/downloads/Stable/PAlib_080823_Archive.zip
Extract and copy palib/lib/* to C: \ devkitpro \ palib (fix some bugs)
05-libfat-nds
20070127
Http://sourceforge.net/project/showfiles.php? Group_id = 114505 & package_id = 197264
Extract the files in the include folder to c: \ devkitpro \ libnds \ include \ and the files in the Lib folder to C: \ devkitpro \ libnds \ Lib \
06-dswifi
0.3.4
Http://sourceforge.net/project/showfiles.php? Group_id = 114505 & package_id = 199021
The same method as 05
07-start \ computer \ right click \ properties \ Advanced Tab \ Environnement Variables
Add a new user variable
Name: papath
Value: C:/devkitpro/palib
Add a new system variable
Name: devkitpro
Value:/C/devkitpro
08-
Vc8.0 setup
Http://www.thechip.net/images/PALibAppWizard.zip
Vc9.0 setup
Http://nintendork32.googlepages.com/PALibAppWizard.zip
09-open VC ++ and new A palib project, build it, create an. NDS file,
Just run it.