Summary: | media-libs/opencv-2.3.0 fails to build with errors in modules/highgui/src/grfmt_png.cpp | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Todd Goodman <tsg> |
Component: | New packages | Assignee: | Andreas K. Hüttel <dilfridge> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | hwoarang, kde, m.debruijne |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
emerge -pqv build log build log Correct (failing) build.log) |
Created attachment 287157 [details]
emerge -pqv
We need a full build.log Created attachment 287163 [details]
build log
Created attachment 287165 [details]
build log
Comment on attachment 287163 [details]
build log
Sorry, wrong build logs
Created attachment 287169 [details]
Correct (failing) build.log)
*** This bug has been marked as a duplicate of bug 383571 *** |
Created attachment 287155 [details] emerge --info opencv-2.3.0 fails to build with the following: /var/tmp/portage/media-libs/opencv-2.3.0/work/OpenCV-2.3.0/modules/highgui/src/grfmt_png.cpp:308:33: error: ‘MAX_MEM_LEVEL’ was not declared in this scope /var/tmp/portage/media-libs/opencv-2.3.0/work/OpenCV-2.3.0/modules/highgui/src/grfmt_png.cpp:354:60: error: ‘Z_BEST_SPEED’ was not declared in this scope /var/tmp/portage/media-libs/opencv-2.3.0/work/OpenCV-2.3.0/modules/highgui/src/grfmt_png.cpp:356:59: error: ‘Z_HUFFMAN_ONLY’ was not declared in this scope make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_png.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2 make: *** [all] Error 2 emake failed If I add an #include <zlib.h> in grfmt_png.cpp then it builds OK.