Processing
 

opencv_perf_stitching_Release.gch not generated by cmakefiles

02/09/2016 08:30#1

Joined at: 9 months ago

Post: 2

Thank: 0

Thanked: 0

I am trying to configure openCV with codeblocks but It got stuck during mingw32-make step, giving me this 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 for 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 for 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 for target 'all' failed mingw32-make:
*** [all] Error 2

I am unable to resolve it!

I am using windows 7 32bit

12/09/2016 04:05Top#2

Roaid

Member

Joined at: 4 months ago

Post: 1

Thank: 0

Thanked: 0

I met the similar problem that may be caused by cmd input limitation. The cmd input limitation in win7 is about 8000 characters and in most case that is enough.

However in opencv build,one built component (opencv_perf_stitching_Release) might break this limition due to a long executed command.Because of different folder length for different users,the cutting point in executed command is located at unfixed position.Their error messages are also totally distinctive.In my example,I got a message unrecognized command line option '-sse' but i doubt we met the same problem.

The simplest solutiuon is to reduce your building folder level.In your case,you can change your install path from C:/opeCV/opencv/ to C:/opencv/ and try again.

Similar articles

How to use Logstash with log4j in Windows 7 32-bit VM

4 months ago - Reply: 1 - Views: 116

Running webrick server in background for Windows

4 months ago - Reply: 0 - Views: 40

Task Scheduler doesn't start my exe for the next day

4 months ago - Reply: 0 - Views: 32

Unable to get Windows Updates in Windows 7 [on hold]

4 months ago - Reply: 0 - Views: 21

Connect Spark-Shell using Eclipse in Windows 7

4 months ago - Reply: 0 - Views: 21

Can't use custom windows themes

4 months ago - Reply: 1 - Views: 108

“npm install <module>” doesn't work

4 months ago - Reply: 0 - Views: 31

OpenGL 4.5 functions segfaulting

4 months ago - Reply: 0 - Views: 6

Executing a batch file during installation

4 months ago - Reply: 0 - Views: 2

vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re