itemid.h header not installed when building wxWidgets 3.3+ with --disable-gui (Issue #25791)

18 views
Skip to first unread message

senadj

unread,
Sep 12, 2025, 9:43:59 AM (4 days ago) Sep 12
to wx-...@googlegroups.com, Subscribed
senadj created an issue (wxWidgets/wxWidgets#25791)

After building wxWidgets 3.3.1 on my debian 11 using "--disable-gui", itemid.h header does not get installed (make install). It is referenced inside event.h
I get error later when I try to build wxSQLite3:

In file included from /ysw/wx330d/include/wx-3.3/wx/wx.h:23:0,
from src/wxsqlite3.cpp:26:
/ysw/wx330d/include/wx-3.3/wx/event.h:27:23: fatal error: wx/itemid.h: No such file or directory
#include "wx/itemid.h"
^
compilation terminated.

Manually copying the file to installation directory solves this issue.
I had the same problem with 3.3.0.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/25791@github.com>

Scott Talbert

unread,
Sep 12, 2025, 9:52:08 AM (4 days ago) Sep 12
to wx-...@googlegroups.com, Subscribed
swt2c left a comment (wxWidgets/wxWidgets#25791)

Seems like itemid.h probably needs to be moved from GUI_CMN_HDR to BASE_CMN_HDR in build/bakefiles/files.bkl. Seems like this was necessary after 734face.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/25791/3285382823@github.com>

VZ

unread,
Sep 13, 2025, 8:34:02 AM (3 days ago) Sep 13
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#25791)

I think the right fix is to just avoid including this header when not using GUI, I'll push the fix soon.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/25791/3288291647@github.com>

VZ

unread,
Sep 13, 2025, 8:56:23 AM (3 days ago) Sep 13
to wx-...@googlegroups.com, Subscribed

Closed #25791 as completed via c15b5cf.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issue/25791/issue_event/19677314965@github.com>

Reply all
Reply to author
Forward
0 new messages