| Summary: | =media-libs/opencv-3.4.1-r4[png] fails to build because of wrong png header location | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Vadim A. Misbakh-Soloviov (mva) <mva> |
| Component: | Current packages | Assignee: | Amy Liffey <amynka> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | dilfridge |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
as of -r5 (and actual cmake version), it builds fine now... I guess, it was cmake version-specific error... |
Hi there! I found that if I enable "png" use-flag on =media-libs/opencv-3.4.1-r4 it fails to build. ``` ... /var/tmp/portage/media-libs/opencv-3.4.1-r4/work/opencv-3.4.1/modules/imgcodecs/src/grfmt_png.cpp:62:10: fatal error: libpng/png.h: No such file or directory #include <libpng/png.h> ^~~~~~~~~~~~~~ compilation terminated. ``` Actual png.h header is placed in `libpng16/` directory, but not in `libpng/`.