can't run the executable file after compiling with g++ compiler
Hi there,
I am really new to Linux. I just installed Ubuntu on my old laptop few days for some school projects. I've also installed the GNU C++ compiler. I was able to compile things smoothly with a make file and everything; however, when I tried to run the executable file, it said that "command "xxxxx" is not identified". It is quite strange 'cause it works totally fine on my school linux server. I've also tried to create a very simple file and compile with g++ -c test.cpp, g++ -o test test.o, and same thing happened when I tried to run the executable file. Can someone please tell me know what the problem is?? Any response is appreciated. Thanks very much!
|