openframeworks / openframeworks/openFrameworks
Can't use OpenCV 2 on iOS
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
When I try to use OpenCV 2 I get an error about these two lines:
#include "opencv2/videoio.hpp"
#include "opencv2/highgui.hpp"
Inside opencv.hpp. I'm guessing they don't exist on iOS because they can't be compiled or aren't useful on iOS. I can workaround it by commenting these lines out, but is that the recommended solution? Or is there something smarter I can do?
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 iOS build error from opencv.hpp, focusing on the included opencv2/videoio.hpp and opencv2/highgui.hpp headers. Check how OpenCV 2 is integrated for iOS and whether these headers are expected to be available there. Done means identifying and documenting the supported fix or confirming the correct platform-specific handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, ios, opencv
- Domain
- computer-vision, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100