Re: boost's cmake error on windows platform

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: boost's cmake error on windows platform

Boost - Users mailing list
please help me to fix this problem as soon as possible
thanks a lot

2018-01-23 16:10 GMT+01:00 Mefteh Safa <[hidden email]>:
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
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:
8- here the cmakelists.txt file for the configuration of boost.
 
but the cmake still show me this problem
Images intégrées 1
 


_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
Reply | Threaded
Open this post in threaded view
|

Re: boost's cmake error on windows platform

Boost - Users mailing list
AMDG

On 01/24/2018 02:02 PM, Mefteh Safa via Boost-users wrote:
> 2018-01-23 16:10 GMT+01:00 Mefteh Safa <[hidden email]>:
>
>> <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
_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users