binance-exchange / binacpp

Binance C++ library
MIT License
212 stars 108 forks source link

cannot find -ljsoncpp #47

Open Benjamin-Lentz opened 3 years ago

Benjamin-Lentz commented 3 years ago

Having :

/usr/bin/ld: cannot find -ljsoncpp collect2: error: ld returned 1 exit status make: *** [Makefile:26: example] Error 1

while making example

who to fix that ? Any ideas ?

ghost commented 3 years ago

did you fixed it?..

algolist-manager commented 2 years ago

You can just delete -ljsoncpp because that is included in libbinacpp. But to confirm that jsoncpp is included in libbinacpp, it would be better to "make clean && make" in binacpp/src to recompile the libbinacpp library in your build environment