#52951 closed defect (fixed)
wxWidgets-3.2 does not build
Reported by: | rkitover (Rafael Kitover) | Owned by: | mojca (Mojca Miklavec) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | sierra | Cc: | jyrkiwahlstedt |
Port: | wxWidgets-3.2 |
Description (last modified by larryv (Lawrence Velázquez))
I get this error:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets-3.2/wxWidgets-3.2/ work/wxWidgets-3.1.0/build/bk-deps /usr/bin/clang++ -c -o htmldll_m_fonts.o -I./.pch/wxprec_htmldll -D__WXOSX_COCOA__ -DWXBUILDING -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_HTML -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-vir tual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_r elease_tarballs_ports_graphics_wxWidgets-3.2/wxWidgets-3.2/work/wxWidgets-3.1.0/build/lib/wx/include/osx_cocoa-unicode-3.1 -I../include -I/op t/local/include -I/opt/local/include -DWX_PRECOMP -pipe -Os -arch x86_64 -stdlib=libc++ -fno-common -fvisibility=hidden -fvisibility-inlines- hidden ../src/html/m_fonts.cpp ../src/osx/cocoa/mediactrl.mm:76:10: fatal error: 'QTKit/QTKit.h' file not found #include <QTKit/QTKit.h> ^ 1 error generated.
Attachments (1)
Change History (11)
comment:1 Changed 8 years ago by larryv (Lawrence Velázquez)
Cc: | jyrkiwahlstedt added |
---|---|
Description: | modified (diff) |
Keywords: | build removed |
Owner: | changed from macports-tickets@… to mojca |
Status: | new → assigned |
comment:3 Changed 8 years ago by mojca (Mojca Miklavec)
This is the same problem as #52069, except that I forgot about existence of wxWidgets 3.1 when I was patching version 3.0.
There are two or three possibilities:
- the fastest one is to
--disable-mediactrl
in configure - the proper one is to backport the changes from master
- another lazy one is to switch to
master
forwxWidgets-3.2
This problem has been fixed upstream (in the master branch) long time ago already. The patches have recently also been backported to the 3.0 branch (not that this affects wxWidgets-3.2
in any way), see:
Are you in a hurry to get this fixed?
comment:4 Changed 8 years ago by mojca (Mojca Miklavec)
Keywords: | sierra added |
---|---|
Version: | 2.3.5 |
comment:5 Changed 8 years ago by rkitover (Rafael Kitover)
Don't know about anyone else, but I'm in no hurry at all!
comment:6 Changed 8 years ago by mojca (Mojca Miklavec)
Are you willing to check whether the attached Portfile (also on github/mojca:wx/graphics/wxWidgets-3.2) works for you?
I currently don't have access to 10.12.
Changed 8 years ago by mojca (Mojca Miklavec)
Attachment: | wxWidgets-3.2.Portfile added |
---|
A Portfile for wxWidgets 3.1.0 from the latest git master, should hopefully work on 10.12
comment:7 Changed 8 years ago by rkitover (Rafael Kitover)
Just built your Portfile, builds fine, tried linking our app with it, works fine as well.
Thank you!
comment:8 Changed 8 years ago by mojca (Mojca Miklavec)
Thanks for confirmation. I'll wait for another patch to be merged in the official repository that will allow wxWidgets 3.2 to be built also on 10.7 & 10.8 (that was broken in the meantime) and then commit a slightly newer version.
comment:9 Changed 8 years ago by mojca (Mojca Miklavec)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Are you on Sierra?