openframeworks / openframeworks/openFrameworks
ofxOpenCv missing libpng, libjpeg, libtiff
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
Attempting to call cvSaveImage/cvLoadImage from highgui.h results in linker errors on Windows (possibly other platforms) because the OpenCV libs are missing libpng, libjpeg and libtiff.
This issue was discovered while trying to compile ofxFerns on Windows, because the FERNS code uses these two functions.
The simplest fix would probably be to include precompiled versions of these libs with the OpenCV libs.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the linker errors from cvSaveImage and cvLoadImage in highgui.h while compiling ofxFerns on Windows. Inspect how the OpenCV libraries are packaged and linked, including the missing libpng, libjpeg, and libtiff dependencies. Done means the affected functions link successfully for ofxFerns on Windows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, opencv
- Domain
- build-system, computer-vision
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100