This repository has been archived by the owner on Mar 22, 2020. It is now read-only.
forked from opencv/opencv
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64216a3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about for Android, that comes with webp library on device?
64216a3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure I understand the question. WebP builds fine on Android and OpenCV has
WITH_WEBP=ON
by default for Android, so I guess it's used just like any other dependency.64216a3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Normally it will link to the webp in NDK, which uses the system shared library.
64216a3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I see. Yes it seems that
${OpenCV_SOURCE_DIR}/3rdparty/libwebp
directory not used on Androidif(WITH_WEBP AND NOT WEBP_FOUND AND (NOT ANDROID ...)
. Do you think it will cause any troubles or it's just not optimal?64216a3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just not optimal. Won't cause issues (may just get a newer WebP version).
64216a3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just got an error compiling OpenCV for Android when host machine is Windows:
Seems silly seeing as it shouldn't be compiled at all.
64216a3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I understand where the error happened exactly, can you show full log with
HUNTER_STATUS_DEBUG=ON
?64216a3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also probably it make sense to open an issue, not a comment to commit.