Can't MAKE HelloWorld
Posted: Sat Dec 27, 2014 9:51 pm
I am running CodeLite 5.2
Running on OpenSuSe 13.2 x64
Installed from downloaded rpms
GCC 4.8.1
I tried the first 'getting started' project, a simple HelloWorld. It did not produce an executable, giving the output:
/bin/sh -c 'make -j 2 -e -f Makefile'
----------Building project:[ HelloWorld - Debug ]----------
make[1]: Entering directory `/home/base_home/programming/C/HelloWorld'
make[1]: *** No rule to make target `Debug/HelloWorld_main.o', needed by `Debug/HelloWorld'. Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/base_home/programming/C/HelloWorld'
make: *** [All] Error 2
0 errors, 0 warnings
There seems to be no way around this. If I try make in a console I get the same 'no rule' error, and again trying make -f HelloWorld.mk
What now? As someone who has been teaching Java and Python for years, I feel remarkably stupid at not being able to start solving this.
Tony
Running on OpenSuSe 13.2 x64
Installed from downloaded rpms
GCC 4.8.1
I tried the first 'getting started' project, a simple HelloWorld. It did not produce an executable, giving the output:
/bin/sh -c 'make -j 2 -e -f Makefile'
----------Building project:[ HelloWorld - Debug ]----------
make[1]: Entering directory `/home/base_home/programming/C/HelloWorld'
make[1]: *** No rule to make target `Debug/HelloWorld_main.o', needed by `Debug/HelloWorld'. Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/base_home/programming/C/HelloWorld'
make: *** [All] Error 2
0 errors, 0 warnings
There seems to be no way around this. If I try make in a console I get the same 'no rule' error, and again trying make -f HelloWorld.mk
What now? As someone who has been teaching Java and Python for years, I feel remarkably stupid at not being able to start solving this.
Tony