Opened 12 months ago

Last modified 10 months ago

#64244 new defect

wxWidgets: 'wx/setup.h' file not found

Reported by: jasonliu-- (Jason Liu) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: cooljeanius (Eric Gallager)
Port: wxWidgets-3.0 wxWidgets-3.2 wxGTK-2.8

Description

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.

Change History (3)

comment:1 Changed 12 months ago by reneeotten (Renee Otten)

are you using the wxWidgets PG or add a dependency on the above-mentioned ports directly?

comment:2 Changed 12 months ago by jasonliu-- (Jason Liu)

I'm using the wxWidgets PG, along with ${wxWidgets.port} , ${wxWidgets.wxdir} , ${wxWidgets.wxconfig} , etc.

comment:3 Changed 10 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.