i trying configure opencv codeblocks got stuck during mingw32-make step, giving me error:
[ 94%] generating
perf_precomp.hpp.gch/opencv_perf_stitching_release.gch
c:/opencv/opencv/build/x86/mingw/modules/stitching/perf_precomp.hpp:1:0:
fatal error: can't creat e precompiled header
c:/opecv/opencv/build/x86/mingw/modules/stitching/perf_precomp.hpp.gch/opencv_perf_stitching_release.gch:
no such file or directory #ifdef __gnuc__ ^ compilation terminated.
modules\stitching\cmakefiles\pch_generate_opencv_perf_stitching.dir\build.make:61:
recipe tar get
'modules/stitching/perf_precomp.hpp.gch/opencv_perf_stitching_release.gch'
failed mingw32-make[2]: ***
[modules/stitching/perf_precomp.hpp.gch/opencv_perf_stitching_release.gch]
e rror 1 cmakefiles\makefile2:6569: recipe target
'modules/stitching/cmakefiles/pch_generate_opencv_pe
rf_stitching.dir/all' failed mingw32-make[1]: ***
[modules/stitching/cmakefiles/pch_generate_opencv_perf_stitching.dir/all]
er ror 2 makefile:159: recipe target 'all' failed mingw32-make:
*** [all] error 2
i unable resolve it!
i using windows 7 32bit
i met similar problem may caused cmd input limitation. cmd input limitation in win7 8000 characters , in case enough.
however in opencv build,one built component (opencv_perf_stitching_release) might break limition due long executed command.because of different folder length different users,the cutting point in executed command located @ unfixed position.their error messages totally distinctive.in example,i got message unrecognized command line option '-sse'
doubt met same problem.
the simplest solutiuon reduce building folder level.in case,you can change install path c:/opecv/opencv/
c:/opencv/
, try again.
Comments
Post a Comment