문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top