CMake is not finding Boost

前端 未结 5 580
不思量自难忘°
不思量自难忘° 2020-11-29 04:24

I am trying to install CGAL. They describe their installation process as ever-so-simple here, section 6.1. When I run cmake-gui and then click configure

5条回答
  •  天命终不由人
    2020-11-29 05:18

    1. CGAL uses the shared Boost libraries. So, the libraries like "libboost_thread-vc100-mt-p-1_49.lib" are statically linked libraries.

    2. It's because CMake (I used v2.8.9) can not read the name of Boost libraries correctly. When I changed the library names, boost_thread-vc100-mt-p-1_49.dll and boost_thread-vc100-mt-p-1_49.lib to boost_thread-vc100-mt-1_49.dll and boost_thread-vc100-mt-1_49, respectively, it fixed the problem.

提交回复
热议问题