Page 1 of 1

Can't compile ANYTHING except examples

Posted: Sat Feb 21, 2009 8:19 pm
by GlitchGuy2
Okay, my problem here is that there is some problem with compiling in ANYTHING I've tried to compile it in, I placed a "source" and "include" folder in the directory, with main.c in source and Makefile in the folder containing the project. Now I've tried compiling it through THREE different methods, Visual C++ 2008 Express, DevKitPro's Programmer's Notepad, and the DOS cmd thingy.

Each time I do this I get something like this:
make[1]: *** /c/Documents: Invalid request code. Stop.
make: *** [build] Error 2
Yeah, call me a newbie but I don't get any of this at all. Help?

Re: Can't compile ANYTHING except examples

Posted: Sat Feb 21, 2009 9:36 pm
by Pete
I think the compiler doesn't like spaces in the path and it looks like your files are in something like "C:\Documents And Settings". Try moving them to a folder in the root of the C drive.

Re: Can't compile ANYTHING except examples

Posted: Sun Feb 22, 2009 12:01 am
by Sylus101
Just confirm, Pete is correct. You'll want to have a project path with no spaces. c:\ds_projects\projectname\ or something as such...

Re: Can't compile ANYTHING except examples

Posted: Sun Feb 22, 2009 12:29 am
by GlitchGuy2
It works now, thank you guys SO much.