*Sorry for the bad English
Hi,
I'm getting an error when I try to compile a Makefile project in Eclipse, but it seems to work when I compile it from Terminal with make. I'm using a third-party compiler (nspire-g++) and I added ti to the PATH. This is the error:
01:27:41 **** Build of configuration Default for project nspire ****
make all
nspire-g++ --std=c++11 -Wall -W -marm -Os -Wno-switch -c main.cpp
make: nspire-g++: Command not found
Makefile:20: recipe for target 'main.o' failed
make: *** [main.o] Error 127
If I specify the full compiler path, I'm getting getting this error, even if I did chmod 777 on the compiler:
01:27:41 **** Build of configuration Default for project nspire ****
make all
/opt/ndless-sdk/bin/nspire-g++ --std=c++11 -Wall -W -marm -Os -Wno-switch -c main.cpp
/opt/ndless-sdk/bin/nspire-g++: 20: /opt/ndless-sdk/bin/nspire-g++: : Permission denied
Makefile:20: recipe for target 'main.o' failed
make: *** [main.o] Error 127
Thanks in advance.
[Updated on: Fri, 13 July 2018 05:29]
Report message to a moderator