Calling cv::namedWindow crashes on Android (Bug #2035)
Description
I have a basic OpenCV app running on Linux and now tried compiling/running the code on Android and it crashes on calling cv::namedWindow
.
Associated revisions
Issue #2035 Calling cv::namedWindow crashes on Android fixed.
Window-related functions is guarded from calls from application code.
Old implementations with "no-gui" exception are stell compiled and linked to OpenCV library for binary compatibility.
Revert "Issue #2035 Calling cv::namedWindow crashes on Android fixed."
This reverts commit 36135fc59d59f1ebfce4b00bb36ce6edfbcd9018.
Merge pull request #2035 from ilya-lavrenov:tapi_CamShift
History
Updated by Kirill Kornyakov over 12 years ago
You know, cv::namedWindow
is not supposed to work on Android anyway. It is not so easy to create a window on Android, because all applications have a single window and are fullscreen. So, we didn't decide if we would allow such calls (and other GUI related calls from highgui).
But crash is unexpected behavior in any case. Could you please provide more details about your appication? Did you modify some of OpenCV4Android samples? Or your application is command line? If you could attach a small sample that shows the problem, it would be very helpful for us...
- Target version set to 3.0
Updated by Kirill Kornyakov over 12 years ago
- Target version deleted (
3.0) - Assignee deleted (
Andrey Pavlenko)
Updated by Alexander Smorkalov over 12 years ago
- Assignee set to Alexander Smorkalov
Updated by Alexander Smorkalov over 12 years ago
Window-related functions are guarded from calls from application, but stubs in OpenCV library are saved for binary compatibility.
- Status changed from Open to Done
Updated by Alexander Smorkalov over 12 years ago
Reverted old implementation.
- Status changed from Done to Cancelled
Updated by Andrey Kamaev about 12 years ago
- Target version set to 2.4.3