i just set up everything and I am trying to build my first hello code but here is the error that keeps popping out (even after restarting)
1>------ Build started: Project: test, Configuration: Debug Win32 ------
1> sed: -e expression #1, char 1: unknown command: ``'
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "make -r 2>&1 | sed -e ‘s/(.[a-zA-Z]+):([0-9]+):/1(2):/’" exited with code 1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
and the HELLO code is:
#include <nds.h>
#include <stdio.h>
int main(void)
{
int i;
consoleDemoInit();
videoSetMode(MODE_FB0);
vramSetBankA(VRAM_A_LCD);
printf("Hello World!\n");
printf("360-hq.com psp-hq.com");
for(i = 0; i < 256 * 192; i++)
VRAM_A = RGB15(31,0,0);
return 0;
}
Please can someone tell me what the error means and what correction needs to be made?
Thank you
HELP ME PLEASE?!!
Re: HELP ME PLEASE?!!
Change the quote characters you're using, from ‘ to ' .
This is how your command looks now:
This is how it should look like:
Let us know if that helps.
This is how your command looks now:
Code: Select all
make -r 2>&1 | sed -e ‘s/(.[a-zA-Z]+):([0-9]+):/1(2):/’
Code: Select all
make -r 2>&1 | sed -e 's/(.[a-zA-Z]+):([0-9]+):/1(2):/'
Re: HELP ME PLEASE?!!
Thnaks for your help , it works now
BUT
anothe rproblem arises...it says:
"Unable to start Program
C:\Users\Valentine\Documents\NDS\Projects\test\test.nds
The system cannot find the file specified"
and when I check the folder i cannot find any nds file
I don't know why there isn't any.
----------------------------------------------------------------------------
EDIT: by the way m using visual C++ 2010 (express)
----------------------------------------------------------------------------
EDIT: m sorry for the multiple reply , I m jsut trying many possibilities and errors..and to keep you update
When i 'build solution' , it is succesfully compiled but rebuild solution gave out this error:
1>------ Rebuild All started: Project: test, Configuration: Debug Win32 ------
1> make: *** No rule to make target `clean'. Stop.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(33,5): error MSB3073: The command "make clean" exited with code 2.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
If it's worth nothing, i don't really know. still no .nds output file though
----------------------------------------------------------------------------
EDIT: I am sooo soo sorry for the constant posting
But I just copied the Makefile in the template/nds folder to my project folder and it output an nds file BUT:
1>------ Build started: Project: test, Configuration: Debug Win32 ------
1> make[1]: Entering directory `/c/Users/Valentine/Documents/NDS/Projects/test/arm9'
1> make[2]: `/c/Users/Valentine/Documents/NDS/Projects/test/arm9/arm9.nds' is up to date.
1> make[1]: Leaving directory `/c/Users/Valentine/Documents/NDS/Projects/test/arm9'
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
why is it in the arm9 folder and named arm9.nds?
BUT
anothe rproblem arises...it says:
"Unable to start Program
C:\Users\Valentine\Documents\NDS\Projects\test\test.nds
The system cannot find the file specified"
and when I check the folder i cannot find any nds file
I don't know why there isn't any.
----------------------------------------------------------------------------
EDIT: by the way m using visual C++ 2010 (express)
----------------------------------------------------------------------------
EDIT: m sorry for the multiple reply , I m jsut trying many possibilities and errors..and to keep you update
When i 'build solution' , it is succesfully compiled but rebuild solution gave out this error:
1>------ Rebuild All started: Project: test, Configuration: Debug Win32 ------
1> make: *** No rule to make target `clean'. Stop.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(33,5): error MSB3073: The command "make clean" exited with code 2.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
If it's worth nothing, i don't really know. still no .nds output file though
----------------------------------------------------------------------------
EDIT: I am sooo soo sorry for the constant posting
But I just copied the Makefile in the template/nds folder to my project folder and it output an nds file BUT:
1>------ Build started: Project: test, Configuration: Debug Win32 ------
1> make[1]: Entering directory `/c/Users/Valentine/Documents/NDS/Projects/test/arm9'
1> make[2]: `/c/Users/Valentine/Documents/NDS/Projects/test/arm9/arm9.nds' is up to date.
1> make[1]: Leaving directory `/c/Users/Valentine/Documents/NDS/Projects/test/arm9'
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
why is it in the arm9 folder and named arm9.nds?
Who is online
Users browsing this forum: Bing [Bot] and 2 guests