I have been trying to create my own Visual studio project for robwork
and robworkstudio using Cmake.
But Cmake gives me an error and tells me it can't find boost_thread.
My first assumption was that cmake was the problem, but after asking a
couple of times on their mailing list.
http://www.cmake.org/pipermail/cmake/2009-November/033239.html
I concluded that the problem was in the robwork cmake files, because
I could create other projects using cmake that had the same demands.
The error cmake returns is created by:
- C:\local\workspace\RobWork\build\depends.cmake
-in line FIND_PACKAGE(Boost COMPONENTS thread REQUIRED)
It can find boost but not the boost_thread library.
I have been trying with the RobWork-0.4.0-VS2005-Installer_0.1.0.exe
and downloading the source version and compiling boost and xerces by
myself. The problem is the same for both senarios.
My setup is:
Windows Xp
Visual Studio 2008 (and Visual Studio 2005)
cmake 2.6
Qt 2009.04(build for msvs-8 and msvs-9)
To create the robwork project i run the following commands using the
console:
- cd c:\lokal\workspace\RobWork\build\release
- cmake -G "Visual Studio 9 2008" -DCMAKE_BUILD_TYPE=Release ../..
Is my cmake command wrong or what is the problem???