Boost installation on windows, libraries missing -


I'm trying to promote I followed this. I make a folder C: \ Boost that contains and Libs and I add it to my environment path. However, when I try to create another project with CMK, then I am getting:

  Error in C: Program / Files / CMK 2.8 / Share / Semicax 2.8 / Module / Fastbost Make: 1106 (Message): Boost version unable to find the requested boost library: 1.55.0 Boost path is included: C: / Boost / included / boost-1_55 The following Boost libraries could not be found: boost_system boost_filesystem boost_signals No Boost Library found. You may need to set BOOST_LIBRARYDIR to a Boost Libraries or BOOST_ROOT directory in place of Boost. Call stack (the most recent call first): CMakeLists.txt: 88 (find_package)   

Any ideas about those missing lubs?

This is a bad thing to start answering with a question, but I still do it I:

  • First of all, am I right to assume that you set a environmental variable BOOST_ROOT pointing to C: \ Boost? (Just can not be enough to add it to the path here.)
  • Second, which are you running the CMake generator? Visual studio, makefile, ninja?

    I have recently encountered a similar problem which was connected to the generator which I was actually using. More precise, I was trying to create a ninja project from within the Semici-GI and found almost the same error message. However, I was able to create a visual studio project in the Semi-Gavi project without the problem.

    When looking for a ninja case, I found the following two rows at the beginning: I saw the following two rows at the command output:

      C compiler detection is unknown CXX compiler identity is unknown   

    This signal on the actual problem. Although it is clear that the compiler will be used for Visual Studio (9, 10, 11, ...), a default compiler for a semicolon can not be estimated because it is a normal build system with various compilers Runs. Finally did not get encouraged because the compiler is unknown.

    Developer for Visual Studio Edition was a simple solution to open a command prompt that you want to run. When you create a project in the "Extended" command prompt, CMake will be able to guess the correct compiler. Alternatively, you can set CMAKE_CXX_COMPILER and CMAKE_C_COMPILER flags while walking cmak.

      cmake -G "ninja" & lt; path / to / CMakeLists.txt & gt; Semic-g "Ninja" & lt; path / to / CMakeLists.txt & gt; -DCMAKE_CXX_COMPILER = "path / in / CAD / compiler" -CMAKE_C_COMPILER = "path / in / c / compiler"   

    Hope this is helpful!

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -