c++ - configuration opencv 2.4.11 with visual studio 2010 -
here situation. have tried 3 days configure opencv visual studio 2012 keeps on failing. want know how solve quick possible:
- my computer 64 bit operating system
system variables set:
name: opencv_dir
value: c:\opencv\build\x64\vc10
path: add %opencv_dir%\bin
in properties add
-c/c++ -> additional include directories -> add '$(opencv_dir)\..\..\include'
-linker -> general -> additional library directories-> add '$(opencv_dir)\lib'
i put libraries in well
- linker -> input -> additional dependencies
i open new emtry project
finall try sample code found in official web of opencv http://docs.opencv.org/doc/tutorials/introduction/windows_visual_studio_opencv/windows_visual_studio_opencv.html#windows-visual-studio-how-to (under "test it")
however, keeps fail time! first , says there mis matched in machine, change file x64 x86. klater see bulid success, can not find pdb file.
i have no idea why not work. suppose simple example not work mean configuration fails well.
Comments
Post a Comment