[MacPorts] #58040: wxWidgets-3.2: builds on 10.7 but requires `--with-macosx-sdk` set to 10.8 SDK
MacPorts
noreply at macports.org
Fri Feb 8 17:15:41 UTC 2019
#58040: wxWidgets-3.2: builds on 10.7 but requires `--with-macosx-sdk` set to 10.8
SDK
----------------------------+----------------------
Reporter: kencu | Owner: mojca
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: lion
Port: wxWidgets-3.2 |
----------------------------+----------------------
Description changed by kencu:
Old description:
> According to the official website, wxWidgets-3.2 will run on 10.7+, but
> when building on 10.7, it fails due to 10.8 - specific SDK features (log
> attached).
>
> Passing in the path to the 10.8 SDK on 10.7 does fix the build.
>
> I thought `${developer_dir}/SDKS/MacOSX10.8.sdk` should be the path, but
> it turns out that is not correct on 10.7 at least. The following worked:
> {{{
> --with-macosx-
> sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
> \
> --with-macosx-version-min=${macosx_deployment_target} \
> }}}
New description:
According to the official website, wxWidgets-3.2 will run on 10.7+, but
when building on 10.7, it fails due to 10.8 - specific SDK features (log
attached).
Passing in the path to the 10.8 SDK on 10.7 does fix the build.
I thought `${developer_dir}/SDKs/MacOSX10.8.sdk` should be the path, but
it turns out that is not correct on 10.7 at least. The following worked:
{{{
--with-macosx-
sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
\
--with-macosx-version-min=${macosx_deployment_target} \
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/58040#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list