Page 2 of 2

Re: Visual Studio 2008 + Vista + devkitPro = Not Compiling!

Posted: Wed Sep 03, 2008 3:09 pm
by AeR4
WinterMute wrote:
AeR4 wrote: But if i copy and paste an example code of the devkit, and want to compile it, visual c++ always says there is 1 error.

What did I wrong?
Can you see what the actual error is? It's kind of hard to help without knowing that.
I'm sorry for that.
Ehm now it doesn't say there is an error when compiling. I think i've figured this out by typin' in the paths to the library, bin and include folders.
Ok this is done, but now i have the same problem like jithin.rao.
Visual C++ doesn't compile the .nds, also if I include the Makefile.
Any idea why? :(

Greetings,
AeR4

Re: Visual Studio 2008 + Vista + devkitPro = Not Compiling!

Posted: Tue Sep 09, 2008 12:40 pm
by jeffool
I hate to be annoying, but having copied many makefiles into my project's directory, I'm still unable to produce a .nds file anywhere on my PC. It seems like there's just an obvious and simple step that I'm missing, and I hope someone can point me in the right direction.

Re: Visual Studio 2008 + Vista + devkitPro = Not Compiling!

Posted: Mon Dec 01, 2008 5:45 am
by Thaumaturgus
I too am having problems with Visual Studio 2008 + Vista when compiling. After following the setup directions for Visual Studio (same as above), then copy the template and try to compile, which leads to this:

Code: Select all

main.c
arm-eabi-gcc -MMD -MP -MF /c/devkitPro/proj1/build/main.d -g -Wall -O2 -mcpu=arm9tdmi -mtune=arm9tdmi -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/c/devkitPro/proj1/include -I/c/devkitPro/proj1/build -I/c/devkitPro/libnds/include -I/c/devkitPro/libnds/include -I/c/devkitPro/proj1/build -DARM9 -c /c/devkitPro/proj1/source/main.c -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
Build log was saved at "file://c:\devkitPro\proj1\Debug\BuildLog.htm"
proj1 - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Re: Visual Studio 2008 + Vista + devkitPro = Not Compiling!

Posted: Tue Dec 23, 2008 2:55 am
by dovoto
My Visual Studio wizard might be worth your time.

http://www.drunkencoders.com/index.php? ... page=Tools

However, i sometimes get a runtime error with Visual Studio calling make (this happens on all versions of windows / VS as far as i can tell)
It normally happens the first time i try to build a project after starting VS, my solution is just to click build again and that has so far always worked.

Re: Visual Studio 2008 + Vista + devkitPro = Not Compiling!

Posted: Tue Dec 23, 2008 3:28 am
by WinterMute
A couple of other things worth checking :-

Logitech software causes horrible problems - see the FAQ entry.

If you have an on demand virus scanner try excluding the devkitPro directory if you can.