如何使用g ++将jsoncpp与C++程序链接?我试过了:
g++ -o program program.cpp -L/path/to/library/files -ljsoncpp, -ljson, -llibjsoncpp
但是g ++一直在说:
/usr/bin/ld: cannot find -lsomething
c++ linker g++ jsoncpp
c++ ×1
g++ ×1
jsoncpp ×1
linker ×1