Autobahn | Cpp | Issue in Building Examples

#1

Hi all,
I am interested to use Autobahn Cpp in my new project.
I had installed Autobahn Cpp with Boost v1.61.0, MsgPack-C and Clang v3.8.0 on Ubuntu 16.04 machine.
I have referred the steps for installation from this link https://github.com/crossbario/autobahn-cpp#building
All commands went fine, but when I am trying to built autobahn examples its giving error regarding boost_thread-mt

vaibhav@vaibhav-ws1:~/autobahn-cpp/examples$ scons
scons: Reading SConscript files …
Using clang toolchain
scons: done reading SConscript files.
scons: Building targets …
clang++ -o callee -stdlib=libstdc++ -pthread callee.o -L/usr/lib -L/home/vaibhav/msgpack_clang/lib -L/home/vaibhav/boost_1_61_0/stage/lib libparameters.a -lboost_thread-mt -lboost_system -lmsgpackc
/usr/bin/ld: cannot find -lboost_thread-mt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [callee] Error 1
scons: building terminated because of errors.
vaibhav@vaibhav-ws1:~/autobahn-cpp/examples$

``

Does anyone knows how to fix above error?
Please help.

Thanks,
Vaibhav

0 Likes