Skip to content

Compile eos in Win10 for beginner

李新鹏 edited this page May 23, 2018 · 4 revisions
  1. Download Source Code in Releases or use git clone --recursive [email protected]:patrikhuber/eos.git

  2. Download external dependencies Boost and OpenCV, we can download the compiled boost-binaries named boost_1_63_0-msvc-14.0-64.exe in here and the compiled opencv-binaries named opencv-3.4.0-vc14_vc15.exe in here. Then extract them to eos/3rdparty/

  3. Add the following directories to your include path(you can change your file name)

  • your path to eos/3rdparty/boost_1_63_0
  • your path to eos/3rdparty/boost_1_63_0/lib64-msvc-14.0-xxx
  • your path to eos/3rdparty/opencv/build/include
  • your path to eos/3rdparty/opencv/build/x64/vc15/bin
  • your path to eos/3rdparty/opencv/build/x64/vc15/lib
  1. Use cmake-gui and eos/CMakeLists.txt to generate the VS project, and select which project to compile. For example, I check the boxes including EOS_BUILD_EXAMPLES, EOS_GENERATE_PYTHON_BINDINGS, which means compiling examples and python bindings.

  2. Use Visual Studio 2017 Win 64 to compile the project.

Clone this wiki locally