Question

Comment puis-je relier JSONCPP avec un programme C ++ en utilisant G ++? J'ai essayé:

g++ -o program program.cpp -L/path/to/library/files -ljsoncpp, -ljson, -llibjsoncpp

Mais G ++ ne cesse de dire:

/usr/bin/ld: cannot find -lsomething

Pas de solution correcte

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top