ofxCv and Qt Beginner setup problems


Hi , i’m new in the OF community.
I want to setup a project with ofxCv , so i clone it in the addons and added inside the of.addons in this way

  of.addons: [

and qt Creator return me this error

C:\of_v0.10.1_msys2_release\libs\openFrameworksCompiled\project\qtcreator\modules\of\of.qbs:308: warning: error: Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found

I dont know how to set this opencv.pc file in Windows 10
Can someone help me to figure it out ?
Thanks for all.


there is a problem right now with msys2 and opencv cause they are distributing opencv4 already while we still use 3.x we need to do a few changes to support opencv 4 or just pack opencv 3 for the platforms that use it from the system

not sure if in msys2 you can install a previous version of a package but installing any opencv3 should solve this temporarily


Thanks Arturo.
It’s so frustrating ,
i cant find a way to install opencv 3 with msys2


you can always use visual studio which works fine and it’s installation is even easier than msys2 + qtcreator. using it might be slightly more complicated but not much really


I installed vs 2017 ,
and with projectGenerator seems work