c++ - OpenCV2.4.10 with Qt -


i have installed 32-bit qt , have 64 bit compiled binaries opencv2.4.10 (from source). have 2 questions:

  1. i built opencv libraries before installing qt. understand, more use qt style ui not necessary interface qt. should rebuild opencv?

  2. when tried 64-bit qt, didn't work because opencv compiled vs 2013 - 32-bit. moved on 32-bit qt, still gives me linker errors of form: mainwindow.obj : error lnk2019: unresolved external symbol "void __cdecl cv::fastfree(void *)" (?fastfree@cv@@yaxpax@z) referenced in function "public: __thiscall cv::mat::~mat(void)" (??1mat@cv@@qae@xz) added include path , libraries in .pro file. getting error because qt 32-bit , using 64-bit opencv?

i need use 64-bit opencv. there way can qt interface opencv? or other way have gui c++/opencv?

thanks,

if think happens when press compile button realise why cannot have 2 different architecture sets libraries.

when compile program in 32 bit coded in way 32 ( coincidently 64) bit architecture can understand , run on underlying hardware.

however 32 bit hardware can not run 64 bit architecture set coded programs, happens when try include 2 different binaries application? how visual studio know how build them together?

it worth having @ this , this in order gather better understanding.

now in answer to:

i need use 64-bit opencv. there way can qt interface opencv? or other way have gui c++/opencv?

if need 64bit opencv going have find way use 64bit qt or not use qt. here guide on how , running, need add features visual studio.

you of course use qtcreator if more comfortable visual studio may worth putting effort in.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -