Re: SimpleAmqpClient

26 views
Skip to first unread message

Alan Antonuk

unread,
Oct 31, 2017, 1:44:07 AM10/31/17
to Andrew Sangster, simpleamqpclient-users
Please use the +simpleamqpclient-users group for these sorts of questions.

First check to see whether you've built a static or non-static version of boost, and which runtime library you're building against (multithreaded? debug?).

Second, cmake's FindBoost can sometimes be picky about the parameters you pass it, and what its searching for.  Take a look at the parameters here: https://cmake.org/cmake/help/v3.10/module/FindBoost.html. Setting   -DBoost_DEBUG=ON will make CMake emit more details about where its attempting to find the boost libraries.

-Alan

On Tue, Oct 24, 2017 at 9:59 AM Andrew Sangster <andrew....@navblue.aero> wrote:

Hey Alan,

 

Sorry if this isn’t the best way to contact you but I’m trying compile your SimpleAmqpClient. I got your RabbitMQC project built with OpenSSL support but my problem is with Boost.

I have version 1.65.1 downloaded and build non-statically. I have BOOST_ROOT set as an environment variable and in the CMakeLists.txt file and I’m still getting the following error :

CMake Error at C:/Program Files/CMake/share/cmake-3.10/Modules/FindBoost.cmake:1928 (message):

  Unable to find the requested Boost libraries.

 

  Boost version: 1.65.1

 

  Boost include path: C:/bin/boost-1.65.1/include/boost-1_65_1

 

  Could not find the following Boost libraries:

 

          boost_chrono

          boost_system

 

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the

  directory containing Boost libraries or BOOST_ROOT to the location of

  Boost.

Call Stack (most recent call first):

  CMakeLists.txt:37 (FIND_PACKAGE)

 

Would you have any advice?

 

Thanks,

 

Andrew Sangster

Software Developer

andrew....@navblue.aero

tel. +1519 747 1170 (457)

NAVBLUE

620 Nine Mile Drive

Suite 203 (Snow Recruitment)

Halifax | Nova Scotia | B4A 0H4 - Canada

 

www.navblue.aero

 

image003.png

 

Reply all
Reply to author
Forward
0 new messages