-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://
: 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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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,
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:
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
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,
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.
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
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
24 matches
Mail list logo