The installer/updater already sets up Programmer's Notepad as per that FAQ, you didn't need to do it again.
Check you have an msys directory in your devkitPro install and the system path contains a path to the <devkitPro>/msys/bin folder.Check also that msys/bin contains make.exe.
Cannot Make Hello World?
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
-
- Posts: 1
- Joined: Wed May 12, 2010 9:30 pm
Re: Cannot Make Hello World?
Hello,
I have tried to set up devkitpro on my ubuntu 10.04 32bit netbook version.
devkitpro is placed in:
/opt/devkitpro and I'm confident I have extracted the files correct as I followed the wiki-entry:
http://wiki.devkitpro.org/index.php/Get ... /devkitARM
I'm having a problem when trying to run the make command.
Can anyone help, please?
-----
Nevermind, I figured it out...
I have tried to set up devkitpro on my ubuntu 10.04 32bit netbook version.
devkitpro is placed in:
/opt/devkitpro and I'm confident I have extracted the files correct as I followed the wiki-entry:
http://wiki.devkitpro.org/index.php/Get ... /devkitARM
I'm having a problem when trying to run the make command.
I tried running it using sudo first, which returnedlightningeagle@lightningeagle:/opt/devkitpro/examples/nds/hello_world$ make
main.cpp
arm-eabi-g++ -MMD -MP -MF /opt/devkitpro/examples/nds/hello_world/build/main.d -g -Wall -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/opt/devkitpro/examples/nds/hello_world/include -I/opt/devkitpro/examples/nds/hello_world/build -I/opt/devkitpro/libnds/include -I/opt/devkitpro/libnds/include -I/opt/devkitpro/examples/nds/hello_world/build -DARM9 -fno-rtti -fno-exceptions -c /opt/devkitpro/examples/nds/hello_world/source/main.cpp -o main.o
/opt/devkitpro/examples/nds/hello_world/source/main.cpp:10:17: warning: nds.h: No such file or directory
/opt/devkitpro/examples/nds/hello_world/source/main.cpp: In function 'int main()':
/opt/devkitpro/examples/nds/hello_world/source/main.cpp:25: error: 'touchPosition' was not declared in this scope
/opt/devkitpro/examples/nds/hello_world/source/main.cpp:25: error: expected ';' before 'touchXY'
/opt/devkitpro/examples/nds/hello_world/source/main.cpp:27: error: 'IRQ_VBLANK' was not declared in this scope
/opt/devkitpro/examples/nds/hello_world/source/main.cpp:27: error: 'irqSet' was not declared in this scope
/opt/devkitpro/examples/nds/hello_world/source/main.cpp:29: error: 'consoleDemoInit' was not declared in this scope
/opt/devkitpro/examples/nds/hello_world/source/main.cpp:37: error: 'swiWaitForVBlank' was not declared in this scope
/opt/devkitpro/examples/nds/hello_world/source/main.cpp:38: error: 'touchXY' was not declared in this scope
/opt/devkitpro/examples/nds/hello_world/source/main.cpp:38: error: 'touchRead' was not declared in this scope
make[1]: *** [main.o] Error 1
make: *** [build] Error 2
However, I have several times tried to set the environment variables ( both in the terminal ?and be editing ~/.bashrc ) and ubuntu recognizes $DEVKITPRO as the directory /opt/devkitpro and similarly writing $DEVKITARM in the terminal returns that /opt/devkitpro/devkitARM is a directory.Makefile:6: *** "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM". Stop.
Can anyone help, please?
-----
Nevermind, I figured it out...
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests