SimpleAmqpClient build error in windows

96 views
Skip to first unread message

U MK

unread,
Feb 17, 2020, 2:13:05 AM2/17/20
to rabbitmq-c-users
Hi,

I am following the link 
https://github.com/alanxz/SimpleAmqpClient  to build the simpleAMQPClient in Windows.

getting the below error even after fallowing provided instruction.

5.JPG

but solution for this error suggested is to set(Boost_USE_STATIC_LIBS ON), but even after setting this I am getting same error.

Can someone please suggest where I am missing.

thanks,
Mohan

U MK

unread,
Feb 17, 2020, 4:35:51 AM2/17/20
to rabbitmq-c-users
Fixed by building using cmake command instead of cmake GUI.

> cmake -DBOOST_ROOT="D:\dev\boost_1_71_0" -DBoost_LIBRARY_DIRS="D:\dev\boost_1_71_0\stage\lib" -DBoost_INCLUDE_DIR="D:\dev\boost_1_71_0" -DBoost_INCLUDE_DIRS="D:\dev\boost_1_71_0" -DRabbitmqc_INCLUDE_DIRS="D:\dev\rabbitmq-c-0.9.0\librabbitmq" -DRabbitmqc_LIBRARY="D:\dev\cmakerabbitMQc\librabbitmq\Debug\librabbitmq.4.lib" -DBUILD_STATIC_LIBS=ON -DENABLE_SSL_SUPPORT=OFF -DBoost_USE_STATIC_LIBS=ON -DDOXYFILE_LATEX=OFF "../SimpleAmqpClient-master"

Thanks,
Mohan
Reply all
Reply to author
Forward
0 new messages