[CMake] Building with Cmake using Boost problem (Karel Geiregat)

Karel Geiregat karelgeiregat at gmail.com
Thu Mar 17 11:14:59 EDT 2016


OH GOD !

Just saying, i have spent 3 days finding a solution to this problem since
the files got provided from a 3th party provider. The team that got
assigned to this project asked me (i'm senior QA and responsible for
further development). In the meanwhile, this project has to be set in
standby phase because of the building problems.

We, all, and especially I certainly have overlooked on that part. I didn't
understood it well. When i have generated the dll's using the build process
described in Boost manuals ... cmake found the libraries !
Now, an other issue arises. But at least cmake is now able to find the
boost libraries ^^

Thanks !

2016-03-16 22:35 GMT+01:00 Knox, Kent <Kent.Knox at amd.com>:

> It looks like you built static libraries with b2:
> PS D:\software\boost_1_60_0\stage\lib> Get-ChildItem libboost_filesystem*
> > -name
> > libboost_filesystem-vc140-mt-1_60.lib
> > libboost_filesystem-vc140-mt-gd-1_60.lib
>
> But I believe you are telling cmake (or boost preprocessor?) to search for
> dynamic libraries:
> > add_definitions (
> >     -DBOOST_REGEX_DYN_LINK
> >     -DBOOST_FILESYSTEM_DYN_LINK
> >     -DBOOST_SYSTEM_DYN_LINK
>
> Try building dynamic (.dll w/ import libs) boost libraries and see if
> cmake finds them.
>
> Kent
> ________________________________________
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160317/70eb6ce3/attachment.html>


More information about the CMake mailing list