When I try to compile my eclipse project(c++) on CentOS, it comes up with an error saying "cannot find -ltinyxml"
I tried changing the cross GCC compiler command from "g++ -std=c++11" to "g++ -std=c++0x"
If I keep the command as "g++ -std=c++11" I am getting an error that says:-
cclplus: error: unrecognized command line option "-std=c++11"
make: *** [util/Bool.o] Error 1
I tried searching and found out that the command should be "g++ -std=c++0x" I tried this one and now I'm not getting the same error, instead I get "cannot find -ltinyxml"
To add more information, it's CentOS 64 bit (Via VBox) and I am running Eclipse neon 2, have installed CDT features as well. I have also installed gcc using "yum install gcc-c++"
Lemme know if more information is required.
Aucun commentaire:
Enregistrer un commentaire