what is the json-spirit linker flag for g++?

有些话、适合烂在心里 提交于 2020-01-29 23:38:30

问题


I can't find this anywhere.

I've installed json-spirit on my ubuntu server with apt-get install json-spirit-dev.

What linker flag has to be used with g++ to use json-spirit?


回答1:


The only library listed in that package is called libjson_spirit.a. You can link with it by adding -ljson_spirit to your linker step.



来源:https://stackoverflow.com/questions/17437893/what-is-the-json-spirit-linker-flag-for-g

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!