Wednesday, February 9, 2011

How to link jsoncpp?

Programmer Question

How to link jsoncpp with a C++ program using g++? I tried "g++ -o program program.cpp -L/path/to/library/files -ljsoncpp", -ljson, -llibjsoncpp, but g++ keeps saying: "/usr/bin/ld: cannot find -lsomething"



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails