Problem building project in Windows 7 (nds)

support for the ARM toolchain
Post Reply
Baro
Posts: 2
Joined: Fri Apr 15, 2011 3:54 pm

Problem building project in Windows 7 (nds)

Post by Baro » Fri Apr 15, 2011 4:17 pm

When running make, it tries to run a file named "[", which of course doesn't exist. It also creates a folder named -p.
The makefile I'm using is the one for the nitroFS example, which doesn't compile either. Anyway, in my old computer the code used to compile, so the problem must have to do with my current configuration.

Code: Select all

process_begin: CreateProcess(NULL, basename D:/Dropbox/Project2BJ/hw, ...) failed.
"[" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
Ya existe el subdirectorio o el archivo build.
Error mientras se procesaba: build.
make: *** [build] Error 1
My guess is that it isn't understanding correctly these lines:

Code: Select all

$(BUILD):
	@[ -d $@ ] || mkdir -p $@
	@make --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
I have the GNUWin32 make.exe version 3.81 (Although my system is 64 bits, but that shouldn't affect the case), and devkitpro is upgraded.

Any ideas on getting this to work? Thanks in advance!

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

Re: Problem building project in Windows 7 (nds)

Post by WinterMute » Sat Apr 16, 2011 4:38 pm

Remove GnuWin32 make and ensure you have msys installed, the gnuwin tools aren't compatible.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Baro
Posts: 2
Joined: Fri Apr 15, 2011 3:54 pm

Re: Problem building project in Windows 7 (nds)

Post by Baro » Sun Apr 17, 2011 12:43 pm

I noticed while trying to reinstall from the downloaded files that there was something wrong with the msys file (couldn't open as archive), so I downloaded the devkitpro files and installed again, and everything works fine. Thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests