本文首發於我的博客https://kezunlin.me/post/51cd9fa0/,歡迎閱讀!html
compile opengv on windows 10 from sourcegit
wget http://releases.llvm.org/5.0.1/LLVM-5.0.1-win64.exe
and install llvm to system.github
git clone https://github.com/laurentkneip/opengv cd opengv mkdir build && cd build && cmake-gui ..
Configure
and choose generator Visual Studio 14 2015 Win64
and set toolset LLVM-vs2014
(by default Visual Studio 2015 (v140)
)ubuntu
OK.windows
with optionsless
CMAKE_CONFIGURATION_TYPES Release EIGEN_INCLUDE_DIR C:/Program Files/PCL 1.8.1/3rdParty/Eigen/eigen3 BUILD_PYTHON OFF BUILD_TESTS OFF
generate opengv.sln
.dom
we can see toolset has benn changed from Visual Studio 2015 (v140)
to LLVM-vs2014
.
ide
compile project and opengv.lib
and random_generators.lib
will be generated.post
install to C:/Program Files/opengv
.ui