How to link jsoncpp?
Pregunta
How can I 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
No hay solución correcta
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow