Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

build bot in the github, I see one nice project

(1/21) > >>

ollydbg:

i686-codeblocks-builds

This project looks nice, I see it use github action to build the codeblocks 32 bit version.

I'm asking the author could tried 64bit version also, see here: Hi, this project is nice, can you create a windows 64 bit codeblocks builds? Issue #1 zxunge/i686-codeblocks-builds

stahta01:
The github user is not likely to change to 64 bit because MSys2 already has two 64 bit packages UCRT64 and CLANG64 environments https://www.msys2.org/docs/environments/ and their package builds for the MINGW64 environment.

I would suggest forking the repo; I am doing that right now to see if it is easy to change to what I want which is building MINGW64 and maybe MINGW32.

Edit: You do realize the built code is for use under MSys2 MINGW32, correct?

Tim S.

ollydbg:
Hi, Tim, thanks for the reply and your work.

i686-codeblocks-builds/.github/workflows/main.yml at main zxunge/i686-codeblocks-builds

When I looked at this file, I see this uses msys2 environment, and also it use the 32 bit gcc compiler. So, I think this project support MSys2 MINGW32, am I correct?

Grit Clef:
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 ---

ollydbg:
Hi, thanks.

That's why you disable the wxSmith related option for building C::B


--- Code: ---./configure --disable-pch --with-contrib-plugins=all,-wxsmith,-wxsmithaui,-wxsmithcontrib,-Valgrind --prefix=/opt/codeblocks

--- End code ---

I see it in:

https://github.com/zxunge/i686-codeblocks-builds/blob/main/.ci/build.sh

Navigation

[0] Message Index

[#] Next page

Go to full version