Re: [Boost-users] boost's cmake error on windows platform
please help me to fix this problem as soon as possible thanks a lot 2018-01-23 16:10 GMT+01:00 Mefteh Safa <mefteh.safa9@gmail.com>:
Hi, I want to use boost c++ libraries on windows platform with CLion via cmakelists. I've followed these steps: 1- download boost_1_66_0.7z <https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.7z> 2- navigate to C:\Program Files\boost_1_66_0\tools\build and Run bootstrap.bat gcc 3- Run b2 install --prefix="C:\Program Files\boost-build" 4- C:\Program Files\boost-build\bin to Windows PATH. 5- restart my computer 6- open cmd, then navigate to C:\Program Files\boost_1_66_0 7- Run b2 --build-dir="C:\Program Files\boost_1_66_0\build" --prefix="C:\Program Files\boost" --toolset=gcc install
here you find the output file containing include directories and libraries: boost.7z <https://drive.google.com/file/d/1bxJqqUgXYvyGnp0g_Mqr259cushpSW78/view?usp=drive_web> 8- here the cmakelists.txt file for the configuration of boost.
but the cmake still show me this problem [image: Images intégrées 1]
AMDG On 01/24/2018 02:02 PM, Mefteh Safa via Boost-users wrote:
2018-01-23 16:10 GMT+01:00 Mefteh Safa <mefteh.safa9@gmail.com>:
<snip>>> 6- open cmd, then navigate to C:\Program Files\boost_1_66_0 7- Run b2 --build-dir="C:\Program Files\boost_1_66_0\build" --prefix="C:\Program Files\boost" --toolset=gcc install
According to this the libraries should be in C:\Program Files\boost\lib and the headers should be in C:\Program Files\boost\include\boost-1_66, but...
here you find the output file containing include directories and libraries: boost.7z <https://drive.google.com/file/d/1bxJqqUgXYvyGnp0g_Mqr259cushpSW78/view?usp=drive_web> 8- here the cmakelists.txt file for the configuration of boost.
but the cmake still show me this problem [image: Images intégrées 1]
...this is searching for Boost in a totally different place (D:\boost_1_66_0) In Christ, Steven Watanabe
participants (2)
-
Mefteh Safa
-
Steven Watanabe