MarkMuth / QtKittiVisualizer

166 stars 62 forks source link

CMake Building Problem - Boost Filesystem #7

Open YB260568 opened 6 years ago

YB260568 commented 6 years ago

Hi,

I try to build with CMake 3.10.2 using PCL 1.8.0 and its 3rd party stuff (boost 1.61) which I installed using the All-in-one installer.

If I try to build now I get following error message:

CMake Error at C:/Program Files/CMake/share/cmake-3.10/Modules/FindBoost.cmake:1928 (message): Unable to find the requested Boost libraries.

Boost version: 1.61.0

Boost include path: C:/Program Files/PCL 1.8.0/3rdParty/Boost/include/boost-1_61

Could not find the following Boost libraries:

      boost_program_options
      boost_filesystem

Some (but not all) of the required Boost libraries were found. You may need to install these additional Boost libraries. Alternatively, set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost. Call Stack (most recent call first): CMakeLists.txt:32 (find_package)

I used the VS2015 compiler for everything. The libraries are in the lib folder where it finds all the other libraries, but it just doesn't find those two.

Since I am very new to building stuff with CMake and using Qt, VTK, OCL and bosot, I would be very thankful, if someone could help me with this issue. Thank you in advance.

Best regards

MarkMuth commented 6 years ago

Hi,

you might be the first to run this project on Windows. Since I'm very curious to see if this could run, I'm currently setting up my tool chain using Visual Studio 2017.

I'll let you know, as soon as there is something working. Removing the boost_program_options and the boost_filesystem from the CMakeLists.txt was a first step but now I have to build VTK on my own, since the VTK shipped with the PCL all-in-one installer does not seem to have support for QVTKWidget...