#50330 - Fhqwhgads - Mon Aug 08, 2005 7:26 am
*edit I fixed it! wootness I'm so happy right now! All I did was move the demo1 directory to c:\ added a few environtment variables from the devkitpro tutorial, and it worked.
I am following this tutorial on gettign set up to develop DS apps. In the tutorial I downloaded the demo1 app. Which comes with .nds .nda.gba Makefile and the sourcecode.
So I setup the environment variables [picture of variables] ran mingw/minsys put in Makefile and I get this error...
I have the devkit all set up like the tutorial says. I have mingw/minsys installed in the default locations and I have the demo app on my desktop. Any help would be appreciated!
I am following this tutorial on gettign set up to develop DS apps. In the tutorial I downloaded the demo1 app. Which comes with .nds .nda.gba Makefile and the sourcecode.
So I setup the environment variables [picture of variables] ran mingw/minsys put in Makefile and I get this error...
Quote: |
$ Makefile ./Makefile: DEVKITPRO: command not found ./Makefile: DEVKITPRO: command not found ./Makefile: all:: command not found ./Makefile: arm7_main.o:: command not found ./Makefile: NDSLIB_INCLUDE: command not found arm7_main.cpp:6:17: error: nds.h: No such file or directory arm7_main.cpp:17: error: 's32' does not name a type arm7_main.cpp:18: error: 's32' does not name a type arm7_main.cpp:19: error: 's32' does not name a type arm7_main.cpp:20: error: 's32' does not name a type arm7_main.cpp:26: error: 'uint32' has not been declared arm7_main.cpp:26: error: 'u8' has not been declared arm7_main.cpp:26: error: 'u8' has not been declared arm7_main.cpp:26: error: 'u8' has not been declared arm7_main.cpp:26: error: 'u8' has not been declared arm7_main.cpp: In function 'void startSound(int, const void*, int, int, int, int, int)': arm7_main.cpp:27: error: 'SCHANNEL_TIMER' was not declared in this scope arm7_main.cpp:27: error: 'SOUND_FREQ' was not declared in this scope arm7_main.cpp:28: error: 'SCHANNEL_SOURCE' was not declared in this scope arm7_main.cpp:28: error: 'uint32' was not declared in this scope arm7_main.cpp:28: error: expected `;' before 'data' arm7_main.cpp:29: error: 'SCHANNEL_LENGTH' was not declared in this scope arm7_main.cpp:30: error: 'SCHANNEL_CR' was not declared in this scope arm7_main.cpp:30: error: 'SOUND_ENABLE' was not declared in this scope arm7_main.cpp:30: error: 'SOUND_ONE_SHOT' was not declared in this scope arm7_main.cpp:30: error: 'SOUND_VOL' was not declared in this scope arm7_main.cpp:30: error: 'SOUND_PAN' was not declared in this scope arm7_main.cpp:30: error: 'SOUND_8BIT' was not declared in this scope arm7_main.cpp:30: error: 'SOUND_16BIT' was not declared in this scope arm7_main.cpp: At global scope: arm7_main.cpp:34: error: 's8' does not name a type arm7_main.cpp: In function 'void InterruptHandler()': arm7_main.cpp:48: error: 'IF' was not declared in this scope arm7_main.cpp:48: error: 'IRQ_VBLANK' was not declared in this scope arm7_main.cpp:49: error: 'uint16' was not declared in this scope arm7_main.cpp:49: error: expected `;' before 'but' arm7_main.cpp:51: error: 'uint32' was not declared in this scope arm7_main.cpp:51: error: expected `;' before 'temp' arm7_main.cpp:52: error: 'uint8' was not declared in this scope arm7_main.cpp:52: error: expected `;' before 'ct' arm7_main.cpp:59: error: 'but' was not declared in this scope arm7_main.cpp:59: error: 'XKEYS' was not declared in this scope arm7_main.cpp:62: error: 'x' was not declared in this scope arm7_main.cpp:62: error: 'TSC_MEASURE_X' was not declared in this scope arm7_main.cpp:62: error: 'touchRead' was not declared in this scope arm7_main.cpp:63: error: 'y' was not declared in this scope arm7_main.cpp:63: error: 'TSC_MEASURE_Y' was not declared in this scope arm7_main.cpp:64: error: 'xpx' was not declared in this scope arm7_main.cpp:64: error: 'TOUCH_WIDTH' was not declared in this scope arm7_main.cpp:64: error: 'TOUCH_OFFSET_X' was not declared in this scope arm7_main.cpp:65: error: 'ypx' was not declared in this scope arm7_main.cpp:65: error: 'TOUCH_HEIGHT' was not declared in this scope arm7_main.cpp:65: error: 'TOUCH_OFFSET_Y' was not declared in this scope arm7_main.cpp:66: error: 'z1' was not declared in this scope arm7_main.cpp:66: error: 'TSC_MEASURE_Z1' was not declared in this scope arm7_main.cpp:67: error: 'z2' was not declared in this scope arm7_main.cpp:67: error: 'TSC_MEASURE_Z2' was not declared in this scope arm7_main.cpp:70: error: 'batt' was not declared in this scope arm7_main.cpp:70: error: 'TSC_MEASURE_BATTERY' was not declared in this scope arm7_main.cpp:70: error: 'touchRead' was not declared in this scope arm7_main.cpp:71: error: 'aux' was not declared in this scope arm7_main.cpp:71: error: 'TSC_MEASURE_AUX' was not declared in this scope arm7_main.cpp:74: error: expected primary-expression before ')' token arm7_main.cpp:74: error: 'rtcGetTime' was not declared in this scope arm7_main.cpp:75: error: expected primary-expression before ')' token arm7_main.cpp:75: error: 'ct' was not declared in this scope arm7_main.cpp:75: error: 'BCDToInteger' was not declared in this scope arm7_main.cpp:78: error: 'temp' was not declared in this scope arm7_main.cpp:78: error: 'touchReadTemperature' was not declared in this scope arm7_main.cpp:81: error: 'IPC' was not declared in this scope arm7_main.cpp:83: error: 'x' was not declared in this scope arm7_main.cpp:84: error: 'y' was not declared in this scope arm7_main.cpp:85: error: 'xpx' was not declared in this scope arm7_main.cpp:86: error: 'ypx' was not declared in this scope arm7_main.cpp:87: error: 'z1' was not declared in this scope arm7_main.cpp:88: error: 'z2' was not declared in this scope arm7_main.cpp:92: error: 'u32' was not declared in this scope arm7_main.cpp:92: error: expected `;' before 'i' arm7_main.cpp:92: error: 'i' was not declared in this scope arm7_main.cpp:102: error: 'TransferSound' was not declared in this scope arm7_main.cpp:102: error: 'snd' was not declared in this scope arm7_main.cpp:106: error: 's8' was not declared in this scope arm7_main.cpp:106: error: expected `;' before 'chan' arm7_main.cpp:107: error: 'chan' was not declared in this scope arm7_main.cpp:115: error: 'IF' was not declared in this scope arm7_main.cpp: In function 'int main(int, char**)': arm7_main.cpp:124: error: 'rtcReset' was not declared in this scope arm7_main.cpp:127: error: 'SOUND_CR' was not declared in this scope arm7_main.cpp:127: error: 'SCHANNEL_ENABLE' was not declared in this scope arm7_main.cpp:127: error: 'SOUND_VOL' was not declared in this scope arm7_main.cpp:128: error: 'IPC' was not declared in this scope arm7_main.cpp:131: error: 'IME' was not declared in this scope arm7_main.cpp:132: error: 'IRQ_HANDLER' was not declared in this scope arm7_main.cpp:133: error: 'IE' was not declared in this scope arm7_main.cpp:133: error: 'IRQ_VBLANK' was not declared in this scope arm7_main.cpp:134: error: 'IF' was not declared in this scope arm7_main.cpp:135: error: 'DISP_SR' was not declared in this scope arm7_main.cpp:135: error: 'DISP_VBLANK_IRQ' was not declared in this scope arm7_main.cpp:139: error: 'swiWaitForVBlank' was not declared in this scope ./Makefile: arm7.elf:: command not found ./Makefile: NDSLIB_LIB: command not found arm-elf-g++.exe: arm7_main.o: No such file or directory arm-elf-g++.exe: no input files ./Makefile: arm7.bin:: command not found c:\devkitpro\devkitarm\bin\arm-elf-objcopy.exe: 'arm7.elf': No such file ./Makefile: arm9_main.o:: command not found ./Makefile: NDSLIB_INCLUDE: command not found arm9_main.cpp:6:17: error: nds.h: No such file or directory arm9_main.cpp:7:30: error: nds/arm9/console.h: No such file or directory arm9_main.cpp: In function 'int main()': arm9_main.cpp:11: error: 'POWER_ALL' was not declared in this scope arm9_main.cpp:11: error: 'powerON' was not declared in this scope arm9_main.cpp:14: error: 'MODE_0_2D' was not declared in this scope arm9_main.cpp:14: error: 'DISPLAY_BG0_ACTIVE' was not declared in this scope arm9_main.cpp:14: error: 'videoSetMode' was not declared in this scope arm9_main.cpp:15: error: 'VRAM_A_MAIN_BG' was not declared in this scope arm9_main.cpp:15: error: 'vramSetBankA' was not declared in this scope arm9_main.cpp:16: error: 'BG0_CR' was not declared in this scope arm9_main.cpp:16: error: 'BG_MAP_BASE' was not declared in this scope arm9_main.cpp:19: error: 'BG_PALETTE' was not declared in this scope arm9_main.cpp:19: error: 'RGB15' was not declared in this scope arm9_main.cpp:22: error: 'lcdSwap' was not declared in this scope arm9_main.cpp:24: error: 'u16' was not declared in this scope arm9_main.cpp:24: error: expected primary-expression before ')' token arm9_main.cpp:24: error: expected primary-expression before ')' token arm9_main.cpp:24: error: 'consoleInitDefault' was not declared in this scope arm9_main.cpp:26: error: 'consolePrintf' was not declared in this scope arm9_main.cpp:28: error: 'consolePrintSet' was not declared in this scope arm9_main.cpp:29: error: 'IPC' was not declared in this scope ./Makefile: arm9.elf:: command not found ./Makefile: NDSLIB_LIB: command not found arm-elf-g++.exe: arm9_main.o: No such file or directory arm-elf-g++.exe: no input files ./Makefile: arm9.bin:: command not found c:\devkitpro\devkitarm\bin\arm-elf-objcopy.exe: 'arm9.elf': No such file ./Makefile: demo1.nds:: command not found Nintendo DS rom tool 1.22 - Aug 1 2005 by Rafael Vuijk (aka DarkFader) Cannot open file 'arm9.bin'. ./Makefile: demo1.nds.gba:: command not found dsbuild 1.21 - Jul 21 2005 using default loader ./Makefile: clean:: command not found |
I have the devkit all set up like the tutorial says. I have mingw/minsys installed in the default locations and I have the demo app on my desktop. Any help would be appreciated!