problem setting up ide in visual c++

support for the ARM toolchain
Post Reply
stuntpenguin007
Posts: 4
Joined: Mon Aug 03, 2009 6:48 pm

problem setting up ide in visual c++

Post by stuntpenguin007 » Mon Aug 03, 2009 6:52 pm

I want to be able to use visual c++ 2008 express edition to compile code for the nds but I'm running into a few problems.

I did this... http://www.devkitpro.org/faq/how-do-i-u ... c-express/

but when I try to compile this

Code: Select all

#include <nds.h>
#include <stdio.h>
 
int main(void)
{
	int i;
 
	consoleDemoInit();
 
	videoSetMode(MODE_FB0);
 
	vramSetBankA(VRAM_A_LCD);
 
	printf("Hello World!\n");
	printf("drunkencoders.com");
 
	for(i = 0; i < 256 * 192; i++)
		VRAM_A[i] = RGB15(31,0,0);
 
	return 0;
}

It doesn't actually compile and I get this for an output.
1>------ Build started: Project: Pokesav ds, Configuration: Debug Win32 ------
1>Performing Makefile project actions
1>make: *** No targets specified and no makefile found. Stop.
1>Build log was saved at "file://c:\Users\Matt\Documents\Visual Studio 2008\Projects\Pokesav ds\Debug\BuildLog.htm"
1>Pokesav ds - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: problem setting up ide in visual c++

Post by WinterMute » Tue Aug 04, 2009 12:12 am

You can't put projects in a path with spaces, try pokesav_ds instead
Help keep devkitPro toolchains free, Donate today

Personal Blog

stuntpenguin007
Posts: 4
Joined: Mon Aug 03, 2009 6:48 pm

Re: problem setting up ide in visual c++

Post by stuntpenguin007 » Tue Aug 04, 2009 1:48 am

still doesn't work. should I take the spaces out of the folder called "visual studio 2008"?


file://c:\Users\Matt\Documents\Visual Studio 2008\Projects\Pokesav ds\

to

file://c:\Users\Matt\Documents\Visual_Studio_2008\Projects\Pokesav ds\


or should I try downgrade to visual c++ 2007 or lower?



edit: do I need to make a makefile?

elhobbs
Posts: 358
Joined: Thu Jul 02, 2009 1:19 pm

Re: problem setting up ide in visual c++

Post by elhobbs » Tue Aug 04, 2009 2:31 am

you may be better off creating a new folder at the root of the C: drive - I use the following myself:

C:\DEVL

than I create a folder for each project underneath.

also, your corrected example has a space in the path - the project name (which is also the name of the folder where the project is stored) cannot have spaces.

stuntpenguin007
Posts: 4
Joined: Mon Aug 03, 2009 6:48 pm

Re: problem setting up ide in visual c++

Post by stuntpenguin007 » Tue Aug 04, 2009 3:02 am

still nothing.

Code: Select all

1>Performing Makefile project actions
1>make: *** No targets specified and no makefile found.  Stop.
1>Build log was saved at "file://c:\dsdev\pokesav\Debug\BuildLog.htm"
1>pokesav - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

StevenH
Posts: 133
Joined: Sun Feb 22, 2009 7:59 pm

Re: problem setting up ide in visual c++

Post by StevenH » Tue Aug 04, 2009 11:56 am

There is a Visual Studio 2008 add-on for NDS development, it was done by dovoto, and is on this forum somewhere...

Here's a direct link to the add-on: http://www.drunkencoders.com/index.php? ... page=Tools

Once that's installed start a new project and everything will work without a hitch, I know as I'm using it now...

stuntpenguin007
Posts: 4
Joined: Mon Aug 03, 2009 6:48 pm

Re: problem setting up ide in visual c++

Post by stuntpenguin007 » Tue Aug 04, 2009 4:51 pm

Thanks that did it!

here's a direct-er link if anybody needs it. http://thepernproject.com/tools/DS/visu ... wizard.zip

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests