Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

gcc: error: long: No such file or directory

I'm trying to build opencv to use with qt5. using CMake I configured and generated opencv with qt options. now when I try to run mingw32-make -j 8 as mentioned in the follow-through, I get the error:

gcc: error: long: No such file or directory
C:\Strawberry\c\bin\windres.exe: preprocessing failed.
mingw32-make[2]: * [modules\core\CMakeFiles\opencv_core.dir\build.make:1341: modules/core/CMakeFiles/opencv_core.dir/vs_version.rc.obj] Error 1
mingw32-make[1]:  [CMakeFiles\Makefile2:1889: modules/core/CMakeFiles/opencv_core.dir/all] Error 2
mingw32-make: ** [Makefile:182: all] Error 2