Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
build bot in the github, I see one nice project
ollydbg:
The build error message looks like there are some wx related headers are missing when building the translation unit. I don't have much experience on the "configure/make" build system, hope some guys can help.
Grit Clef:
I see in the wxWidgets Forums a similar error: CodeBlocks compilation (it uses wxWidgets), but It's old and didn't have any reply.
This one is old, too: wxPDFDocument - Which files to add to a project.
ollydbg:
Maybe this post is related:
patch for the autotools build to work with Msys2/MinGW32
I know that one dev in github/msys2 who supports builds C::B for the clang or ucrt ports, but he is not interested in supporting the MinGW64 port. :(
stahta01:
--- Quote from: Grit Clef on August 17, 2024, 06:59:56 am ---But there's still one problem. Using a build script in msys2 can't really build a complete codeblocks. wxSmith related plugins, which are considered the best plugins in CB, always give us errors:
--- Code: ---wxsarraystringeditordlg.cpp: In member function 'virtual const wxEventTable* wxsArrayStringEditorDlg::GetEventTable() const':
wxsarraystringeditordlg.cpp:39:19: error: definition of static data member 'wxsArrayStringEditorDlg::sm_eventTable' of dllimport'd class
39 | BEGIN_EVENT_TABLE(wxsArrayStringEditorDlg,wxScrollingDialog)
| ^~~~~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw32/include/wx-3.2/wx/event.h:4371:24: note: in definition of macro 'wxBEGIN_EVENT_TABLE'
4371 | const wxEventTable theClass::sm_eventTable = \
| ^~~~~~~~
wxsarraystringeditordlg.cpp:39:1: note: in expansion of macro 'BEGIN_EVENT_TABLE'
39 | BEGIN_EVENT_TABLE(wxsArrayStringEditorDlg,wxScrollingDialog)
| ^~~~~~~~~~~~~~~~~
wxsarraystringeditordlg.cpp: In member function 'virtual wxEventHashTable& wxsArrayStringEditorDlg::GetEventHashTable() const':
wxsarraystringeditordlg.cpp:39:19: error: definition of static data member 'wxsArrayStringEditorDlg::sm_eventHashTable' of dllimport'd class
39 | BEGIN_EVENT_TABLE(wxsArrayStringEditorDlg,wxScrollingDialog)
| ^~~~~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw32/include/wx-3.2/wx/event.h:4375:22: note: in definition of macro 'wxBEGIN_EVENT_TABLE'
4375 | wxEventHashTable theClass::sm_eventHashTable(theClass::sm_eventTable); \
| ^~~~~~~~
wxsarraystringeditordlg.cpp:39:1: note: in expansion of macro 'BEGIN_EVENT_TABLE'
39 | BEGIN_EVENT_TABLE(wxsArrayStringEditorDlg,wxScrollingDialog)
| ^~~~~~~~~~~~~~~~~
wxsarraystringeditordlg.cpp: In constructor 'wxsArrayStringEditorDlg::wxsArrayStringEditorDlg(wxWindow*, wxArrayString&, wxWindowID)':
wxsarraystringeditordlg.cpp:34:12: error: definition of static data member 'wxsArrayStringEditorDlg::ID_TEXTCTRL1' of dllimport'd class
34 | const long wxsArrayStringEditorDlg::ID_TEXTCTRL1 = wxNewId();
| ^~~~~~~~~~~~~~~~~~~~~~~
--- End code ---
--- End quote ---
There is an MSys2 Mingw PR that fixes the building wxSmith; they fixed it in a way I do not like; but, it appears to compile with the Msys2 MINGW CI server.
Tim S.
Grit Clef:
Release updated: with a complete codeblocks of both 32bit and 64bit version.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version