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.

DS development > DevkitARM? Libnds

#65747 - mreaves - Thu Jan 05, 2006 12:17 pm

Is there any other way to run make under windows rather than having to go through msys? It seems a bit of a pain. Ideally I'd like to run the compile stage from within my editor (Codewrite) like I do with all my other development projects.

Also, where can I find out how to use Libnds since it doesn't seem to document the library. Or ideally...

Where can I find information about the nds hardware itself so I can convert my library from another system to work with the NDS.

#65756 - FireSlash - Thu Jan 05, 2006 2:36 pm

You should be able to just call 'make' in the same directory as your makefile.

I've not used codewarrior, but the best solution might be a batch file...


cd \path\to\my\project\
make clean
make
pause
_________________
FireSlash.net

#65764 - wintermute - Thu Jan 05, 2006 4:48 pm

Have a look at the FAQ entries http://www.devkitpro.org/faq.shtml

There should be a way of running make from CodeWright (being honest I have no idea how you use that piece of crap anyway, I thought it was one of the worst editors I've ever seen in my life)

The devkitPro installer includes Programmer's NotePad 2 set up and ready to go.

#65765 - mreaves - Thu Jan 05, 2006 5:07 pm

Best editor around, extremely quick and totally customisable. I don't know which version you used but 7.5 is the dogs.

Beats the shit out of editors with an ide just due to sheer speed, and there isn't anything that other editors do that you can't do with it, or make it do.

#65767 - wintermute - Thu Jan 05, 2006 5:15 pm

mreaves wrote:
Best editor around, extremely quick and totally customisable. I don't know which version you used but 7.5 is the dogs.

Beats the shit out of editors with an ide just due to sheer speed, and there isn't anything that other editors do that you can't do with it, or make it do.


Apart from run make apparently :P

Actually I do have some vague recollections of having trouble with external tools like make which was why I settled on UltraEdit.

One of life's constants really, try and separate a coder from his favourite editor & you'll have a fight on your hands :)

#65771 - mreaves - Thu Jan 05, 2006 5:22 pm

It can run make and anything you want it to run, the problem is running make using devkitARM as is causes errors, so if I try to compile (make) any of the nds-examples from a normal DOS box (or Codewrite) I get errors because the env vars are set up unix style. Even if I change them to Windows style it still doesn't work. Unless I have suspect version of make.

#65776 - wintermute - Thu Jan 05, 2006 5:42 pm

mreaves wrote:
It can run make and anything you want it to run, the problem is running make using devkitARM as is causes errors, so if I try to compile (make) any of the nds-examples from a normal DOS box (or Codewrite) I get errors because the env vars are set up unix style. Even if I change them to Windows style it still doesn't work. Unless I have suspect version of make.


You're running the wrong make, you need to run make provided with msys.

#65780 - mreaves - Thu Jan 05, 2006 5:49 pm

It works, a bloody path problem would you believe...

#65816 - dovoto - Thu Jan 05, 2006 9:59 pm

Visual Studio !

thats all i got
_________________
www.drunkencoders.com