Trying to configure OpenCV 3.1 Viz Module with Visual Studio 2015
Hello all,
I am currently trying to configure my Visual Studio to work with the Viz module for OpenCV for a 3D scanning project I have been working on. My build of OpenCV only had a build and sources folder. I added the viz.hpp and corresponding headers to the opencv2 directories within the include folder and it shows no errors. I am getting an error when trying to build my project saying that there are some unresolved external symbols, which make sense as there isn't a definition for some of these declared methods, which point to the needed module folder viz. In the viz folder, it contains all the C++ files for the needed headers, I am just struggling to make them visible to the project. Adding them to the included source directories of my properties file seemed to not change the error.
Tl;dr version: I need to configure Visual Studio to recognize and source the Viz module properly.
Any help would be greatly appreciated!
use cmake gui.
first donwload vtk and compile it. then clone opencv run cmakegui. Compile opencv
I'm not sure if it worked, I was able to compile both of them and in the resulting opencv folder there is no build or source folder present and there's a bunch of install VC++ files in every directory along with cmake directories. I am using Visual Studio to compile the code.
"I was able to compile " have you build opencv with samples? have you got dll in bin/debug or bin/release
I am not seeing a build folder with samples. I am getting the debug and release folders https://gyazo.com/ea61d8398bbe74d1186d89159a5d01ed (https://gyazo.com/ea61d8398bbe74d1186...) https://gyazo.com/8c720a6b12022cf847b7d4ea5c26d898 (https://gyazo.com/8c720a6b12022cf847b...) but I am not seeing the build or source folder like in the common .exe installer for windows that I would expect for including in Visual Studio https://gyazo.com/c728a1943a39cc8a7adacf8bbe0a95c5 (https://gyazo.com/c728a1943a39cc8a7ad...) . Thank you for your help LBerger with this, I've been really struggling
in this folder have you got opencv_viz320 ?