Re: [CMake] Boost + CMake + Windows + Sanity -> Possible?

2018-08-09 Thread Wheeler, Gavin via CMake
-italian.co.uk On Behalf Of Chris Wilson Sent: 08 August 2018 12:29 To: Wheeler, Gavin Cc: cmake@cmake.org Subject: Re: [CMake] Boost + CMake + Windows + Sanity -> Possible? Hi all, I solved this problem (or a very similar one) by using a CMake superbuild<https://

Re: [CMake] Boost + CMake + Windows + Sanity -> Possible?

2018-08-08 Thread Wheeler, Gavin
: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Mateusz Loskot Sent: 07 August 2018 17:34 To: cmake@cmake.org Subject: Re: [CMake] Boost + CMake + Windows + Sanity -> Possible? On 7 August 2018 at 18:15, Wheeler, Gavin wrote: > [...] > 1. Look in C:\Program > Files\CMake\sha

Re: [CMake] Boost + CMake + Windows + Sanity -> Possible?

2018-08-07 Thread Mateusz Loskot
On 7 August 2018 at 18:15, Wheeler, Gavin wrote: > [...] > 1. Look in C:\Program > Files\CMake\share\cmake-3.9\Modules\FindBoost.cmake Rule #1: never use CMake older than the latest release! Rule #2: if you die hard for old CMake, force use of the latest FindBoost.cmake if (CMAKE_VERSION

Re: [CMake] Boost + CMake + Windows + Sanity -> Possible?

2018-08-07 Thread Wheeler, Gavin
versed in using CMake, and we found a simple solution. DON'T BOTHER! "Windows + CMake + source boost "build seems intractable, or at the very least intractable enough to basically be impossible, or at any rate just not worth bothering with. If are using Windows and you rate your sanit

Re: [CMake] Boost + CMake + Windows + Sanity -> Possible?

2018-07-15 Thread Dvir Yitzchaki
I recommend using Hunter package manager: https://docs.hunter.sh/en/latest/quick-start/boost-components.html Regards, Dvir -Original Message- From: CMake On Behalf Of Innokentiy Alaytsev Sent: Thursday, July 12, 2018 13:29 To: cmake@cmake.org Subject: Re: [CMake] Boost + CMake

Re: [CMake] Boost + CMake + Windows + Sanity -> Possible?

2018-07-12 Thread Innokentiy Alaytsev
Hello! First of all, I suggest you use Boost imported targets instead of Boost_INCLUDE_DIRS and Boost_LIBRARY_DIRS and the target_include_directories() and target_link_libraries() functions. Al this is to better support exporting CMake package if you need it. If you do not produce CMake package

[CMake] Boost + CMake + Windows + Sanity -> Possible?

2018-07-12 Thread Wheeler, Gavin
Hello! First the short version... Can anyone give me a set of instructions to download, build and setup the latest Boost (currently 1.67) on Windows 10 for VS 2017 64bit such that the following will work... find_package(Boost REQUIRED COMPONENTS system filesystem thread date_time

Re: [CMake] cmake, boost on windows, and linking: shouldn't find_package have put BOOST_ROOT/lib into LIB?

2011-10-30 Thread Daniel Dekkers
find_package() searches for a package, and sets variables. Typically variables like... package_FOUND # package found or not package_INCLUDE_DIR # path to the libraries include directory package_LIBRARY # name of the library You still have to link in the library yourself:

Re: [CMake] cmake, boost on windows, and linking: shouldn't find_package have put BOOST_ROOT/lib into LIB?

2011-10-30 Thread David Cole
On Sun, Oct 30, 2011 at 5:46 AM, Daniel Dekkers d.dekk...@cthrough.nl wrote: find_package() searches for a package, and sets variables. Typically variables like... package_FOUND # package found or not package_INCLUDE_DIR # path to the libraries include directory package_LIBRARY # name of

Re: [CMake] cmake, boost on windows, and linking: shouldn't find_package have put BOOST_ROOT/lib into LIB?

2011-10-30 Thread Dan Kegel
Thanks to David Daniel for the replies, but I was already doing everything by the book, so their replies didn't help. It seems to be a bug, or flaky feature, in boost; I had to disable auto-linking. Here's the final, working CMakeLists.txt: cmake_minimum_required(VERSION 2.8) # Turn off

[CMake] cmake, boost on windows, and linking: shouldn't find_package have put BOOST_ROOT/lib into LIB?

2011-10-28 Thread Dan Kegel
I'm slowly learning cmake and converting some real software to it, targeting Linux, Windows, and Mac OS X. Along the way, I'm making minimal working examples (they're a lot easier to debug them than the real thing) and putting them up at

[CMake] Boost on Windows

2009-06-23 Thread Curtis Rueden
Hi everyone, I am using CMake to build some code cross-platform. This code requires Boost Thread to compile. I am having several problems with FindBoost on Windows. First, I installed Boost using BoostPro's precompiled binaries at http://www.boostpro.com/download. Then I tried the following

Re: [CMake] Boost on Windows

2009-06-23 Thread Andreas Pakulat
On 23.06.09 13:09:25, Curtis Rueden wrote: First, I installed Boost using BoostPro's precompiled binaries at http://www.boostpro.com/download. Then I tried the following CMakeLists.txt file: -- # Simple CMake build file for testing FindBoost. Fails on Windows with # Boost

Re: [CMake] Boost on Windows

2009-06-23 Thread Michael Jackson
I use the boost pre-compiled all the time and I don't have any of these issues BUT I do set the BOOST_ROOT environment variable in My Computer-Advanced Settings after I install which may be the difference. I use threads, program_options, testing, filesystem and system. I did notice in

Re: [CMake] Boost on Windows

2009-06-23 Thread Christopher Harvey
define BOOST_ROOT and point it at the root install location for boost. I had the same problem, that fixed it. I only had to do that on windows. Curtis Rueden wrote: Hi everyone, I am using CMake to build some code cross-platform. This code requires Boost Thread to compile. I am having several

Re: [CMake] Boost on Windows

2009-06-23 Thread Curtis Rueden
Hi Mike, I use the boost pre-compiled all the time and I don't have any of these issues BUT I do set the BOOST_ROOT environment variable in My Computer-Advanced Settings after I install which may be the difference. I use threads, program_options, testing, filesystem and system. Yes, the

Re: [CMake] Boost on Windows

2009-06-23 Thread Curtis Rueden
define BOOST_ROOT and point it at the root install location for boost. I had the same problem, that fixed it. I only had to do that on windows. Thanks Christopher, but I am aware of that fix. Actually, that's what my hack does -- it uses CMake to set BOOST_ROOT programmatically. What I'm

Re: [CMake] Boost on Windows

2009-06-23 Thread Michael Jackson
On Jun 23, 2009, at 4:17 PM, Curtis Rueden wrote: Hi Mike, I use the boost pre-compiled all the time and I don't have any of these issues BUT I do set the BOOST_ROOT environment variable in My Computer-Advanced Settings after I install which may be the difference. I use threads,

Re: [CMake] Boost on Windows

2009-06-23 Thread Bill Hoffman
Christopher Harvey wrote: define BOOST_ROOT and point it at the root install location for boost. I had the same problem, that fixed it. I only had to do that on windows. There seems to be a bug in the FindBoost, BOOST_ROOT should not be required. I got it to work by adding this:

Re: [CMake] Boost on Windows

2009-06-23 Thread Andreas Pakulat
On 23.06.09 16:17:21, Curtis Rueden wrote: Also, Looking at the CMakeLists.txt file it seems you are trying to parse the Boost_THREAD library variable for something? If you are trying to differentiate between the Release and Debug versions there are the following variables for each boost

Re: [CMake] Boost on Windows

2009-06-23 Thread John Drescher
On Tue, Jun 23, 2009 at 4:23 PM, Bill Hoffmanbill.hoff...@kitware.com wrote: Christopher Harvey wrote: define BOOST_ROOT and point it at the root install location for boost. I had the same problem, that fixed it. I only had to do that on windows. There seems to be a bug in the FindBoost,

Re: [CMake] Boost on Windows

2009-06-23 Thread Andreas Pakulat
On 23.06.09 16:23:21, Bill Hoffman wrote: Christopher Harvey wrote: define BOOST_ROOT and point it at the root install location for boost. I had the same problem, that fixed it. I only had to do that on windows. There seems to be a bug in the FindBoost, BOOST_ROOT should not be required.

Re: [CMake] boost on windows

2008-10-28 Thread Andrew Maclean
For some reason in Windows the default inclde library is called Boost-1_36 not Boost_1_36. There have been several requests to fix FindBoost to include this variant (search the buglist). Andrew 2008/10/23 Emre Turkay [EMAIL PROTECTED]: Hi folks, I'm trying to compile boost with cmake and MS

[CMake] boost on windows

2008-10-23 Thread Emre Turkay
Hi folks, I'm trying to compile boost with cmake and MS Visual Studio 2003 on Windows. However, when I run the cmake I get: CMake Error at C:/Program Files/CMake 2.6/share/cmake-2.6/Modules/FindBoost.cmak e:620 (message): Unable to find the requested Boost libraries. Boost version: 1.35.0