[PATCH] building Boost.Python fails

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] building Boost.Python fails

Claudio Bley
Hi.

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 "make modularize && make":

,----
| [ 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.

Regards,
Claudio

--- 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



_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] building Boost.Python fails

Claudio Bley
Sorry, wrong list. Supposed to be posting this to boost-cmake... *shame*

--
Claudio

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake