View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0007943 | CMake | Modules | public | 2008-11-05 03:26 | 2009-02-23 22:49 | ||||
Reporter | RW Penney | ||||||||
Assigned To | Philip Lowman | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | CMake-2-6 | |||||||
Summary | 0007943: Cannot find Boost headers (WIN32 version) | ||||||||
Description | Despite the claims that bug 0007456 has been fixed, I have not succeeded in getting either cmake-2.6.1 and cmake-2.6.2 to find the Boost headers under WIN32. Both cmake versions have been downloaded as executables from cmake.org, and Boost 1.35.0 has been installed in the default location C:/Boost. I have tried multiple attempts at getting FindBoost.cmake to find the boost headers, including setting BOOST_ROOT, BOOST_INCLUDEDIR as recommended by the error-message issued by FindBoost.cmake. None of these has produced any success. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0014037) Bill Hoffman (manager) 2008-11-05 17:36 |
Have you tried CMake 2.6.3 RC 1? |
(0014045) RW Penney (reporter) 2008-11-06 03:29 |
Yes, I have now tried 2.6.3-RC1. This also fails to find the Boost headers, apparently producing exactly the same dialog window (including suggestions about BOOST_ROOT). For the time being, I shall be sticking with 2.4.8 (after manually adding 1_35, 1_35_0 etc to the list of versions searched by FindBoost.cmake). Could the problem have something to do with the different separators used in the version-specific paths on WIN32 versus Linux (e.g. Boost_1_35 versus Boost-1.35)? |
(0014050) Bill Hoffman (manager) 2008-11-06 10:11 |
I just installed (well untared boost_1_37_0) onto my windows box. If I set BOOST_ROOT=c:/hoffman/Projects/boost_1_37_0, then do this: project(test) cmake_minimum_required(VERSION 2.7) find_package(Boost REQUIRED) It finds boost no problem. Can you describe the steps you are taking? |
(0014051) RW Penney (reporter) 2008-11-06 12:02 |
I have installed boost_1_35_0 from source using MSVC++9, compiling with 'bjam --build-type=complete' then installing with 'bjam --build-type=complete install'. This installs everything beneath the default path of C:\Boost, so that the 'config.hpp' which FindBoost.cmake searches for, is at 'C:\Boost\include\boost-1_35\boost\config.hpp'. My CMakeLists.txt contains a very similar recipe to yours, in amongst many other options which I believe should have no impact on FindBoost.cmake. Exactly the same CMakeLists.txt has successfully found a variety of versions of Boost on Linux, OpenBSD, and Windows platforms, although never when I've tried using cmake-2.6 on Windows. Hopefully you can suggest why Win32 is being so awkward? Thanks. |
(0014562) Philip Lowman (developer) 2009-01-15 01:59 |
Okay, doing some bug triaging here. Please: 1.) Download the latest FindBoost.cmake from CVS, here: http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/?root=CMake [^] 2.) Download CMake 2.6.3 RC8 Windows prebuilt from here: http://www.cmake.org/files/v2.6/ [^] Then prior to calling FIND_PACKAGE(Boost...) please add this line: SET(Boost_DEBUG TRUE) Then if it doesn't work as you desired please post the results here and I'll have a closer look. |
(0014605) Philip Lowman (developer) 2009-01-18 15:24 |
I'm pretty sure this issue should be resolved. Please reopen the bug if you encounter any further difficulty with the FindBoost.cmake as checked into CVS. |
(0015313) Philip Lowman (developer) 2009-02-23 22:49 |
Fix available in 2.6.3 |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-11-05 03:26 | RW Penney | New Issue | |
2008-11-05 17:36 | Bill Hoffman | Status | new => assigned |
2008-11-05 17:36 | Bill Hoffman | Assigned To | => Douglas Gregor |
2008-11-05 17:36 | Bill Hoffman | Note Added: 0014037 | |
2008-11-06 03:29 | RW Penney | Note Added: 0014045 | |
2008-11-06 10:11 | Bill Hoffman | Note Added: 0014050 | |
2008-11-06 12:02 | RW Penney | Note Added: 0014051 | |
2009-01-10 09:40 | Alex Neundorf | Category | CMake => Modules |
2009-01-15 01:59 | Philip Lowman | Note Added: 0014562 | |
2009-01-18 15:24 | Philip Lowman | Note Added: 0014605 | |
2009-01-18 15:24 | Philip Lowman | Assigned To | Douglas Gregor => Philip Lowman |
2009-01-18 15:24 | Philip Lowman | Status | assigned => resolved |
2009-01-18 15:24 | Philip Lowman | Resolution | open => fixed |
2009-02-23 22:49 | Philip Lowman | Note Added: 0015313 | |
2009-02-23 22:49 | Philip Lowman | Status | resolved => closed |
2009-02-23 22:49 | Philip Lowman | Fixed in Version | => CMake-2-6 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |