OpenCV 2.4.9 Windows (Bug #3667)


Added by Dan Bell almost 11 years ago. Updated almost 11 years ago.


Status:Cancelled Start date:2014-04-29
Priority:Normal Due date:
Assignee:Anatoly Baksheev % Done:

0%

Category:build/install
Target version:-
Affected version:2.4.9 (latest release) Operating System:Windows
Difficulty:Easy HW Platform:x86
Pull request:

Description

Hello.

I have just downloaded, installed and configured OpenCV-2.4.9.exe with Visual Studio 2012. I cannot find any references to the viz module, or any dlls or sources. I have checked both x86 and x64 bin and libs.

Regards,

Daniel


Related issues

related to Bug #3665: OpenCV 2.4.9 Nuget Package Cancelled 2014-04-28

Associated revisions

Revision cd1ca7b0
Added by Vadim Pisarevsky about 10 years ago

Merge pull request #3667 from AfterEight:cap_ximea_setResolution_bugfix

History

Updated by Dan Bell almost 11 years ago

Also, when building OpenCV 3.0 from trunk (Github), there is a dependancy on QT 4.8.0

Updated by Dan Bell almost 11 years ago

Building from trunk in Visual Studio 2012.

Originally i had a link 1104 error for qtGuid4.lib with version 4.8.0 of Qt. I uninstalled my version, 5.2, and downgraded to 4.8.0 for this error to occur during Visual Studio's building of the OpenCV solution.

Error 1 error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' C:\opencv-master\build\modules\viz\vtkCommon-gd.lib(vtkObject.obj) opencv_viz

Updated by Dan Bell almost 11 years ago

Build terminates with second error....

Error 2 error LNK1104: cannot open file '..\..\lib\Debug\opencv_viz300d.lib' C:\opencv-master\build\modules\viz\LINK opencv_test_viz

Updated by Andrey Pavlenko almost 11 years ago

The new `viz` module exists in OpenCV-2.4.9 sources but was not included into pre-built libraries since it depends on VTK that assumes redistribution of pre-built VTK with the package.

For those who needs the `viz` module we suggest building OpenCV-2.4.9 from sources with `-DWITH_VTK=ON` CMake option. (Use `-DVTK_DIR=/your/vtk/build/path` to help CMake finding VTK).

  • Status changed from New to Cancelled
  • Category set to build/install

Updated by Anatoly Baksheev almost 11 years ago

Not a bug

No plans to include pre-compiled opencv_viz into the binary package. Use it from sources.

'opencv_viz' dependency on Qt may only be derived from VTK (if VTK is compiled with a Qt version). One of possible solutions is to recompile VTK without Qt.

Also I recommend you to compile and link VTK statically -- in this case final size of 'opencv_viz.dll' will be ~15Mb and no any other external dependencies at all (fully self contained)

  • Affected version changed from 2.4.8 (latest release) to 2.4.9 (latest release)

Updated by Anatoly Baksheev almost 11 years ago

  • Assignee set to Anatoly Baksheev

Also available in: Atom PDF