-
April 12th, 2012, 06:54 AM
#1
make trouble
"make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/c/Users/HYLuk/Documents/NetBeansProjects/Perfectsi
m'
VPATH=. -spec win32-g++ -o qttmp-Debug.mk nbproject/qt-Debug.pro
/bin/sh: -spec: command not found
make[1]: *** [nbproject/qt-Debug.mk] Error 127
make[1]: Leaving directory `/c/Users/HYLuk/Documents/NetBeansProjects/Perfectsim
'
make: *** [.build-impl] Error 2
=============================
sh on its own can run
I don't know why if sh is in the system path,how come it can be run standalone
HELP please
-
April 12th, 2012, 07:24 AM
#2
Re: make trouble
where is the directory /bin on windows? Can't find it
-
April 12th, 2012, 10:41 AM
#3
Re: make trouble
Windows don't have a /bin.
-
April 13th, 2012, 02:28 AM
#4
Re: make trouble
If you look closely, you will see that the error message is actually coming from /bin/sh and the error reads:
Code:
-spec: command not found
So, some line in your make file evaluates to starting with -spec, which is not a proper command. My guess is that you don't have CC or CXX defined.
More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason - including blind stupidity. --W.A.Wulf
Premature optimization is the root of all evil --Donald E. Knuth
Please read Information on posting before posting, especially the info on using [code] tags.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|