Boost logo

Boost Interest :

Subject: [Boost-cmake] [PATCH] building Boost.Python fails
From: Claudio Bley (b_l_e_y_at_[hidden])
Date: 2009-09-16 09:02:15


With Boost 1.40.0 and using CMake 2.6.4 building the Python library
failed because the compiler could not find some header of the parameter
library. (sorry, don't have the compiler message at hand).

This happend after I ran "nmake modularize && nmake":

| [ 34%] Building CXX object libs/python/src/CMakeFiles/boost_python-mt-shared.dir/object/inheritance.cpp.obj
| inheritance.cpp
| C:\build\vc90nmake\boost_1_40_0\libs\graph\include\boost/graph/named_function_params.hpp(15)
| : fatal error C1083: Datei (Include) kann nicht geöffnet werden: "boost/parameter/name.hpp": No such file or directory
| NMAKE : fatal error U1077: "C:\PROGRA~1\MICROS~1.0\VC\bin\cl.exe": Rückgabe-Code
| "0x2"
| Stop.

After specifying the parameter library as a dependency for Boost.Graph
it compiled without problems.


--- libs/graph/module.cmake.orig 2009-06-08 17:45:46.740488000 +0200
+++ libs/graph/module.cmake 2009-09-16 14:44:52.656250000 +0200
@@ -1,4 +1,5 @@
-boost_module(graph DEPENDS property_map tuple multi_index any random)
+boost_module(graph DEPENDS property_map tuple multi_index any random parameter)
 boost_module(graph_mpi DEPENDS mpi graph)
 # any is there because of the dependency on boost/property_map/dynamic_property_map.hpp
+# parameter is there because named_function_params.hpp includes parameter/name.hpp

Boost-cmake list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at