Opened 6 years ago
Last modified 6 years ago
#58040 closed defect
wxWidgets-3.2: builds on 10.7 but requires `--with-macosx-sdk` set to 10.8 SDK — at Version 3
Reported by: | kencu (Ken) | Owned by: | mojca (Mojca Miklavec) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | lion | Cc: | |
Port: | wxWidgets-3.2 |
Description (last modified by kencu (Ken))
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} \
Change History (4)
Changed 6 years ago by kencu (Ken)
Attachment: | wxWidgets-3.2-10.7-main-log-fail.log added |
---|
comment:1 Changed 6 years ago by kencu (Ken)
comment:2 Changed 6 years ago by kencu (Ken)
Cc: | mojca removed |
---|---|
Owner: | set to mojca |
Status: | new → assigned |
comment:3 Changed 6 years ago by kencu (Ken)
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
Worth noting I think that the
MacOSX10.8.sdk
is I believe pre-installed in the Xcode for 10.7, so nothing actually needs to be physically added.