Opened 4 years ago
Last modified 4 years ago
#60913 closed defect
qgis3 @3.14.1 fails to build on Mojave (failed to find 'gl.h'). — at Initial Version
Reported by: | gwright83 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | qgis3 |
Description
qgis3 fails build on Mojave. The failure is in the configuration step, and is caused by a failure to find the header file gl.h
.
The workaround is simple (and was mentioned in a comment on commit f2ee940 by i0ntempest. On Mojave (and perhaps earlier version of macOS), the patch
- configure.sdkroot ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk + configure.sdkroot ${developer_dir}/Developer/SDKs/MacOSX.sdk cmake.install_prefix ${applications_dir}
needs to be reverted.
I did this manually and qgis3 built to completion.
Veence, are you building on Catalina? The configure.sdkroot line probably needs to be conditioned on the OS version.
Note: See
TracTickets for help on using
tickets.