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.

Beginners > devkitPro, NDS Example Compilation Error.

#139235 - Mitternacht - Mon Sep 03, 2007 8:43 pm

Good evening,

I downloaded devkit and installed, I rebooted my computer and tried by Programmers Notepad 2 to open a project and "make" it, but it crashed...

Quote:
> "make"
main.cpp
arm-eabi-g++ -MMD -MP -MF /c/devkitPro/examples/nds/Graphics/2D/hello_world/build/main.d -g -Wall -O2 -mcpu=arm9tdmi -mtune=arm9tdmi -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/c/devkitPro/examples/nds/Graphics/2D/hello_world/include -I/c/devkitPro/examples/nds/Graphics/2D/hello_world/build -I/c/devkitPro/libnds/include -I/c/devkitPro/libnds/include -I/c/devkitPro/examples/nds/Graphics/2D/hello_world/build -DARM9 -fno-rtti -fno-exceptions -c /c/devkitPro/examples/nds/Graphics/2D/hello_world/source/main.cpp -o main.o

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
make[1]: *** [main.o] Error 3
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:01


Thanks for reading.

#139237 - DiscoStew - Mon Sep 03, 2007 9:01 pm

I get that every once in a while when running under Visual Studio. I just try building the project again to get it going.
_________________
DS - It's all about DiscoStew

#139238 - Mitternacht - Mon Sep 03, 2007 9:07 pm

I tried to uninstall, reinstall, reboot, get PA_Lib, nothing works...

I'm kinda desperate =/

#139260 - chishm - Tue Sep 04, 2007 1:26 am

I've had that problem in the past. It turned out my computer's RAM was failing. After a few too many BSODs, I replaced the faulty sticks and the problems went away.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#139300 - Mitternacht - Tue Sep 04, 2007 11:17 am

Mhm... I can't change this... But I tried to compile with VC++ and I get the same error... Maybe my MSys is bugged.

#139358 - chishm - Wed Sep 05, 2007 2:24 am

Perhaps you should try MemTest86+. If it's affecting more than one program, it might just be a harware failure. Once you rule out hardware, it becomes easier to diagnose the problem.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#139385 - Mitternacht - Wed Sep 05, 2007 5:39 pm

chishm wrote:
Perhaps you should try MemTest86+. If it's affecting more than one program, it might just be a harware failure. Once you rule out hardware, it becomes easier to diagnose the problem.


No errors on my RAM... Mmh... I wonder where can this error come from, I reinstalled once again, used VC++ and others IDE but didn't work.

#139425 - chishm - Thu Sep 06, 2007 1:53 am

Perhaps you should reinstall DKA and Msys, from freshly downloaded archives, to remove the possibility of file corruption. Also, what OS are you using?
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#139439 - Mitternacht - Thu Sep 06, 2007 6:04 am

I'm using Windows XP SP2. I'll try to reinstall MSYS (once again)

#146960 - Magfuse - Wed Dec 12, 2007 3:23 am

I installed Pa lib and I think thats where the problem lies. I could compile fine prior to its installation. I looked around the site and someone mentioned that installing rel 20 of devkitpro fixes it...

Now I can't compile anything... Any suggestions?

#146963 - eKid - Wed Dec 12, 2007 5:25 am

um, i think PA_Lib likes to break the compiler :)

#146965 - wintermute - Wed Dec 12, 2007 5:33 am

Give this a shot

http://support.microsoft.com/kb/884538
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog