-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined symbol for freetype #2239
Comments
Freetype 2.10.1 (latest) + OpenCV 4.1.0 is working. |
opencv 4.1.1 changed something in the CMakeFiles.txt before I could only get opencv to use freetype with the line perhaps the related: #1497 |
Issue still exists in 4.3.0. |
…`<PKG>_LIBRARIES` been wiped, according to: * https://github.com/opencv/opencv/blob/01b2c5a77ca6dbef3baef24ebc0a5984579231d9/cmake/OpenCVUtils.cmake#L823-L825 Work around opencv/opencv_contrib#2239
Worked around by setting:
It's important to set |
System information (version)
Detailed description
We compile OpenCV with freetype module and recently start to get build failures with unresolved external symbols when we try to update to the latest release.
Since there're updates in both freetype and OpenCV, I'm not sure which one is the root cause.
Note that we compile freetype/harfbuzz/OpenCV from source by script.
Our last update was in mid Jun, 2019.
So the previous working version should be freetype 2.10.0 + OpenCV 4.1.0.
There's no change in our build script and we always pull the latest release version to build.
Current latest of freetype is 2.10.1.
I also tried freetype 2.10.0+opencv 4.1.1 but got the same error.
Log attached:
The text was updated successfully, but these errors were encountered: