Giter Site home page Giter Site logo

Comments (2)

snowymo avatar snowymo commented on June 1, 2024

I think I figured that out. I might upload some detailed example for people who might want to use but not familiar with cmake

from arucounity.

snowymo avatar snowymo commented on June 1, 2024

I suggest use VS2015 instead of VS2017, there is some issue with cl.exe not found.

Part I, configure opencv contrib

  1. Run Developer Command Prompt for VS2015.
  2. Go to cmake.exe folder to run cmake-gui.exe.
  3. Assign source and build folder with <opencv_dir>/source and <opencv_dir>/build and click configure.
  4. Choose vs 2015 64bits as the generator. If this window did not show up, delete all caches and try again.
  5. Find OPENCV_EXTRA_MODULES_PATH and add your <opencv-contrib-dir>/modules and click configure.
  6. When you see all options turn white, click generate.
    Now you have solutions for opencv library. You can either build solutions through VS2015 or through other IDE.

Part II, generate ArucoUnity.dll
cd <aruco_unity_build_directory>
cmake -DCMAKE_INSTALL_PREFIX=<aruco_unity_install_directory> -DOpenCV_DIR=<opencv_install_directory> -G <generator-name> <aruco_unity_directory>
for example,
cmake -DCMAKE_INSTALL_PREFIX=aruco-unity\install -DOpenCV_DIR=opencv\build\install -G "Visual Studio 14 2015 Win64" aruco-unity\
cmake --build . --config Release --target INSTALL

Then you will have the ArucoUnity.dll in correct folder.

from arucounity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.