سؤال

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