[MacPorts] #64244: wxWidgets: 'wx/setup.h' file not found

MacPorts noreply at macports.org
Sun Dec 19 00:13:01 UTC 2021


#64244: wxWidgets: 'wx/setup.h' file not found
-------------------------+-------------------------------------------------
 Reporter:  jasonliu--   |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.7.1
 Keywords:               |       Port:  wxWidgets-3.0 wxWidgets-3.2
                         |  wxGTK-2.8
-------------------------+-------------------------------------------------
 One of the portfiles I'm working on has the following line in its
 {{{main.cpp}}}:

 {{{
 #include <wx/wx.h>
 }}}

 This is resulting in the following build error:

 {{{
 :info:build In file included from main.cpp:27:
 :info:build In file included from
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/wx.h:14:
 :info:build In file included from
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/defs.h:27:
 :info:build
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/platform.h:183:10:
             fatal error: 'wx/setup.h' file not found
 :info:build #include "wx/setup.h"
 :info:build          ^
 :info:build 1 error generated.
 :info:build make[3]: *** [main.o] Error 1
 }}}

 The same error is occurring regardless of whether I try using
 {{{wxWidgets-3.0}}}, {{{wxWidgets-3.2}}}, or {{{wxGTK-2.8}}}.

-- 
Ticket URL: <https://trac.macports.org/ticket/64244>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list