Skip to content

Can't get CMake to configure #536

Open

Description

@prechtl

I downloaded the OSVR CMake project. Having a hugely difficult time getting CMake to configure this project. I had to go back and get jsoncpp and libfunctionality (& SDL2 & openCV). I think I've solved all those issues. However, I'm now trying to point at Boost. I have a previous version of Boost on my machine: boots_1_61_0. I'm pretty sure this is a legitimate version of Boost. However, in the OSVR CMake project, it's asking for me to specify my 'Boost_DIR' which is normally where there would be a boostConfig.cmake file. However, no such file exists in my Boost project. Is there a different place from where I can get Boost that is a version compatible with OSVR?

Activity

  1. 0x1100 commented on Apr 10, 2017

    @0x1100

    That's the same version of Boost that I'm using so that's not where the problem comes from.

    The build system should find Boost if you add its installation directory to CMAKE_PREFIX_PATH when configuring OSVR.
    cmake -DCMAKE_PREFIX_PATH="path_to_your_boost_installation" ...

  2. tobi-tobsen commented on May 3, 2017

    @tobi-tobsen

    You can also download boost, extract it, build it (e.g.:
    b2 install --prefix=d:\somepath\install\boost\ --stagedir=./stage/x64 address-model=64 --toolset=msvc-12.0 but create the dir stage/x64 before running that command).

    Afterwards add a new item in the osvr cmake:
    Boost_LIBRARYDIR with value d:\somepath\install\boost\lib
    and also add a value d:\somepath\install\boost\include\boost-1_63\ for item BOOST_INCLUDE_DIR

    Also consider closing #535 which seems to be created by accident.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions