C++ library

Here is some info about how to use robocadSim C++ library in your project. I am going to use Visual Studio 2019.

  1. You need open-cv installed in your project. (How to install example).

  2. Right click on Your project name in Solution explorer -> Properties

../../../../_images/first_step_cpp.png
  1. Click on Configuration Properties -> C/C++ -> General -> Additional Include Directories -> Edit

../../../../_images/second_step_cpp.png
  1. Create a new line and paste here path to C++ header files (./robocadSim/Lib/cpp/robocadSimLibCpp) -> click OK

../../../../_images/third_step_cpp.png
  1. Go to Linker -> General -> Additional Library Directories -> Edit

../../../../_images/fourth_step_cpp.png
  1. Create new line and paste here path to .lib file (./robocadSim/Lib/cpp/x64/Release) -> click OK

../../../../_images/fifth_step_cpp.png
  1. Go to Linker -> Input -> Additional dependencies -> Edit

../../../../_images/sixth_step_cpp.png
  1. Paste here robocadSimLibCpp.lib line -> click OK

../../../../_images/seventh_step_cpp.png
  1. Now You can use robocadSim C++ library in Your project!

If You can’t use some header files:

  1. Copy .dll file in robocadSim release folder (./robocadSim/Lib/cpp/x64/Release)

  2. Paste it to the path: path_to_your_project/your_project_name/your_project_name/