News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

build bot in the github, I see one nice project

Started by ollydbg, August 16, 2024, 03:20:16 PM

Previous topic - Next topic

Grit Clef

Not in that way. I just came up with an idea, that is, using cbp2make to generate Makefiles, and make using that. I am trying. See http://github.com/zxunge/winstyle-codeblocks-bins
-Windows 7, 32-bit
-CodeBlocks r13542, gcc 14.2.0, debug version

ollydbg

Quote from: Grit Clef on August 19, 2024, 12:55:46 PM
Not in that way. I just came up with an idea, that is, using cbp2make to generate Makefiles, and make using that. I am trying. See http://github.com/zxunge/winstyle-codeblocks-bins

Well, I haven't used that cbp2make plugin before. Hope you will make success.  :)
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Grit Clef

But why a lot of undefined errors?

g++.exe -shared -LD:/msys64/opt/wxwidgets3.2/lib\gcc_dll -Ldevel32 .objs32\\sdk\\scripting\\bindings\\sc_plugin.o .objs32\\sdk\\scripting\\bindings\\scriptbindings.o .objs32\\sdk\\scripting\\bindings\\sc_wxtypes.o .objs32\\sdk\\scripting\\bindings\\sc_utils.o .objs32\\sdk\\scripting\\bindings\\sc_util_dialogs.o .objs32\\sdk\\scripting\\bindings\\sc_tinyxml.o .objs32\\sdk\\scripting\\bindings\\sc_progress.o .objs32\\sdk\\scripting\\bindings\\sc_io.o .objs32\\sdk\\scripting\\bindings\\sc_globals.o .objs32\\sdk\\scripting\\bindings\\sc_consts.o .objs32\\sdk\\workspaceloader.o .objs32\\sdk\\uservarmanager.o .objs32\\sdk\\toolsmanager.o .objs32\\sdk\\tinywxuni.o .objs32\\sdk\\templatemanager.o .objs32\\sdk\\selecttargetdlg.o .objs32\\sdk\\searchresultslog.o .objs32\\sdk\\sdk_events.o .objs32\\sdk\\scrollingdialog.o .objs32\\sdk\\scriptsecuritywarningdlg.o .objs32\\sdk\\scriptingmanager.o .objs32\\sdk\\mozilla_chardet\\src\\nsEUCJPProber.o .objs32\\sdk\\mozilla_chardet\\src\\nsMBCSSM.o .objs32\\sdk\\mozilla_chardet\\src\\nsMBCSGroupProber.o .objs32\\sdk\\mozilla_chardet\\src\\nsLatin1Prober.o .objs32\\sdk\\mozilla_chardet\\src\\nsHebrewProber.o .objs32\\sdk\\mozilla_chardet\\src\\nsGB2312Prober.o .objs32\\sdk\\mozilla_chardet\\src\\nsEscSM.o .objs32\\sdk\\mozilla_chardet\\src\\nsEscCharsetProber.o .objs32\\sdk\\mozilla_chardet\\src\\nsEUCTWProber.o .objs32\\sdk\\mozilla_chardet\\src\\nsEUCKRProber.o .objs32\\sdk\\mozilla_chardet\\src\\nsSBCSGroupProber.o .objs32\\sdk\\mozilla_chardet\\src\\nsCharSetProber.o .objs32\\sdk\\mozilla_chardet\\src\\nsBig5Prober.o .objs32\\sdk\\mozilla_chardet\\src\\LangThaiModel.o .objs32\\sdk\\mozilla_chardet\\src\\LangHungarianModel.o .objs32\\sdk\\mozilla_chardet\\src\\LangHebrewModel.o .objs32\\sdk\\mozilla_chardet\\src\\LangGreekModel.o .objs32\\sdk\\mozilla_chardet\\src\\LangCyrillicModel.o .objs32\\sdk\\mozilla_chardet\\src\\LangBulgarianModel.o .objs32\\sdk\\mozilla_chardet\\src\\JpCntx.o .objs32\\sdk\\pipedprocess.o .objs32\\sdk\\projectloader_hooks.o .objs32\\sdk\\projectloader.o .objs32\\sdk\\projectlayoutloader.o .objs32\\sdk\\projectfileoptionsdlg.o .objs32\\sdk\\projectfile.o .objs32\\sdk\\projectbuildtarget.o .objs32\\sdk\\printing_types.o .objs32\\sdk\\pluginsconfigurationdlg.o .objs32\\sdk\\pluginmanager.o .objs32\\sdk\\personalitymanager.o .objs32\\sdk\\newfromtemplatedlg.o .objs32\\sdk\\multiselectdlg.o .objs32\\sdk\\mozilla_chardet\\src\\nsUniversalDetector.o .objs32\\sdk\\mozilla_chardet\\src\\nsUTF8Prober.o .objs32\\sdk\\mozilla_chardet\\src\\nsSJISProber.o .objs32\\sdk\\mozilla_chardet\\src\\nsSBCharSetProber.o .objs32\\sdk\\mozilla_chardet\\src\\CharDistribution.o .objs32\\sdk\\projectmanager.o .objs32\\sdk\\projecttemplateloader.o .objs32\\sdk\\projectsfilemasksdlg.o .objs32\\sdk\\xtra_res.o .objs32\\sdk\\editorlexerloader.o .objs32\\sdk\\filemanager.o .objs32\\sdk\\filegroupsandmasks.o .objs32\\sdk\\filefilters.o .objs32\\sdk\\externaldepsdlg.o .objs32\\sdk\\encodingdetector.o .objs32\\sdk\\edittooldlg.o .objs32\\sdk\\editpathdlg.o .objs32\\sdk\\editpairdlg.o .objs32\\sdk\\editormanager.o .objs32\\sdk\\findreplacedlg.o .objs32\\sdk\\editorcolourset.o .objs32\\sdk\\editorbase.o .objs32\\sdk\\editor_utils.o .objs32\\sdk\\editor_hooks.o .objs32\\sdk\\editarraystringdlg.o .objs32\\sdk\\editarrayorderdlg.o .objs32\\sdk\\editarrayfiledlg.o .objs32\\sdk\\debuggermanager.o .objs32\\sdk\\manager.o .objs32\\sdk\\menuitemsmanager.o .objs32\\sdk\\cygwin.o .objs32\\sdk\\macrosmanager.o .objs32\\sdk\\logmanager.o .objs32\\sdk\\loggers.o .objs32\\sdk\\infowindow.o .objs32\\sdk\\incremental_select_helper.o .objs32\\sdk\\importers_globals.o .objs32\\sdk\\globals.o .objs32\\sdk\\genericmultilinenotesdlg.o .objs32\\sdk\\autodetectcompilers.o .objs32\\sdk\\cbexception.o .objs32\\sdk\\cbeditorprintout.o .objs32\\sdk\\cbeditor.o .objs32\\sdk\\cbdebugger_interfaces.o .objs32\\sdk\\cbcolourmanager.o .objs32\\sdk\\cbauibook.o .objs32\\sdk\\cbart_provider.o .objs32\\sdk\\blockallocated.o .objs32\\sdk\\base64.o .objs32\\sdk\\cbplugin.o .objs32\\sdk\\annoyingdialog.o .objs32\\sdk\\compiler.o .objs32\\sdk\\crc32.o .objs32\\sdk\\confirmreplacedlg.o .objs32\\sdk\\configuretoolsdlg.o .objs32\\sdk\\configurationpanel.o .objs32\\sdk\\configmanager.o .objs32\\sdk\\compiletargetbase.o .objs32\\sdk\\compileroptions.o .objs32\\sdk\\compilerfactory.o .objs32\\sdk\\compilercommandgenerator.o .objs32\\sdk\\compileoptionsbase.o .objs32\\sdk\\ccmanager.o .objs32\\sdk\\cbworkspace.o .objs32\\sdk\\cbtreectrl.o .objs32\\sdk\\cbthreadpool.o .objs32\\sdk\\cbstyledtextctrl.o .objs32\\sdk\\cbstatusbar.o .objs32\\sdk\\cbproject.o .objs32\\sdk\\configmanager-revision.o  -o devel32\\codeblocks.dll -Wl,--enable-auto-image-base -Wl,--add-stdcall-alias -Wl,--enable-auto-import -Wl,--no-undefined  -lwxmsw32u -lshfolder -ltxml -lwxscintilla_cb -lsquirrel -lgdi32
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0x3ff): undefined reference to `_imp___ZN9wxControl6CreateEP8wxWindowiRK7wxPointRK6wxSizelRK11wxValidatorRK8wxString'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0x4a8): undefined reference to `_imp___ZN12wxWindowBase14SetInitialSizeERK6wxSize'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xad84): undefined reference to `_imp___ZN17wxStringTokenizerC1ERK8wxStringS2_21wxStringTokenizerMode'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xadae): undefined reference to `_imp___ZN17wxStringTokenizer12GetNextTokenEv'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xb0a6): undefined reference to `_imp___ZNK17wxStringTokenizer13HasMoreTokensEv'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xb1a7): undefined reference to `_imp___ZN6wxFont11SetFaceNameERK8wxString'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xb583): undefined reference to `_imp___ZN7wxFFileC1ERK8wxStringS2_'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xb5aa): undefined reference to `_imp__wxConvCurrent'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xb5d8): undefined reference to `_imp___ZN7wxFFile5WriteERK8wxStringRK8wxMBConv'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xb6a8): undefined reference to `_imp___ZN7wxFFileC1ERK8wxStringS2_'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xb704): undefined reference to `_imp___ZN7wxFFile7ReadAllEP8wxStringRK8wxMBConv'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xc0a4): undefined reference to `_imp___ZN9wxPaintDCC1EP8wxWindow'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xc1cb): undefined reference to `_imp___ZN11wxScrollBar12ms_classInfoE'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xdb33): undefined reference to `_imp__wxEVT_PAINT'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xdb42): undefined reference to `_imp__wxEVT_PAINT'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xdbb4): undefined reference to `_imp__wxEVT_SCROLLWIN_TOP'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xdbc3): undefined reference to `_imp__wxEVT_SCROLLWIN_TOP'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xdc32): undefined reference to `_imp__wxEVT_SCROLLWIN_BOTTOM'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xdc41): undefined reference to `_imp__wxEVT_SCROLLWIN_BOTTOM'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xdcb0): undefined reference to `_imp__wxEVT_SCROLLWIN_LINEUP'
D:/msys64/opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: devel32/libwxscintilla_cb.a(wxscintilla.o):wxscintilla.cp:(.text+0xdcbf): undefined reference to `_imp__wxEVT_SCROLLWIN_LINEUP'
-Windows 7, 32-bit
-CodeBlocks r13542, gcc 14.2.0, debug version

ollydbg

My guess:

-Wl,--enable-auto-import -Wl,--no-undefined  -lwxmsw32u -lshfolder -ltxml -lwxscintilla_cb -lsquirrel -lgdi32

is that the

-lwxmsw32u

should be put "after" the

-lwxscintilla_cb
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ollydbg

Quote from: ollydbg on August 19, 2024, 12:23:09 PM
Quote from: Grit Clef on August 19, 2024, 12:10:36 PM
I'm working on making a Windows-style build; i.e. build cb using cb through cmdline.

I'm not sure whether the codeblocks.exe could run in pure "command line mode". Hopefully it could.

Another idea is that we may try some virtual desktop in windows runner?

such as this discussion:

Github action virtual display resolution for windows server 2019  community Discussion #49112
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Grit Clef

That's exactly the answer! But I don't know why it was successful when using CB projects, while unsuccessful when using cbp2make.
-Windows 7, 32-bit
-CodeBlocks r13542, gcc 14.2.0, debug version

Grit Clef

Another error occurred:

zip -jq9 devel32\share\CodeBlocks\manager_resources.zip sdk\resources\*.xrc
zip error: Nothing to do! (devel32/share/CodeBlocks/manager_resources.zip)
mingw32-make: *** [Makefile_core:958: after_sdk] Error 12
-Windows 7, 32-bit
-CodeBlocks r13542, gcc 14.2.0, debug version

stahta01

Quote from: Grit Clef on August 19, 2024, 03:45:55 PM
Another error occurred:

zip -jq9 devel32\share\CodeBlocks\manager_resources.zip sdk\resources\*.xrc
zip error: Nothing to do! (devel32/share/CodeBlocks/manager_resources.zip)
mingw32-make: *** [Makefile_core:958: after_sdk] Error 12


That is the error I get when I use an non windows compatible zip command. I think it is the "\*" that is the main cause of the issue.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

ollydbg

#23
Quote from: stahta01 on August 19, 2024, 04:06:20 PM
Quote from: Grit Clef on August 19, 2024, 03:45:55 PM
Another error occurred:

zip -jq9 devel32\share\CodeBlocks\manager_resources.zip sdk\resources\*.xrc
zip error: Nothing to do! (devel32/share/CodeBlocks/manager_resources.zip)
mingw32-make: *** [Makefile_core:958: after_sdk] Error 12


That is the error I get when I use an non windows compatible zip command. I think it is the "\*" that is the main cause of the issue.

Tim S.

The suggested zip command is from our wiki page:

[4.3 ZIP](https://wiki.codeblocks.org/index.php/MinGW_installation#ZIP)

And I think you are using the zip command from 7zip?

Because from this file:

https://github.com/zxunge/winstyle-codeblocks-bins/blob/main/.github/workflows/main.yml

I don't find you install a zip tool.

EDIT:

            zip
            unzip
            p7zip


I think you are using the zip command from msys2's mingw32 port? I haven't used that zip tool before.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Grit Clef

That zip would not work; I have tried several other distributions, but none of them worked.
-Windows 7, 32-bit
-CodeBlocks r13542, gcc 14.2.0, debug version

ollydbg

Quote from: Grit Clef on August 22, 2024, 04:28:17 AM
That zip would not work; I have tried several other distributions, but none of them worked.

Zip file path separator - Stack Overflow

or

windows - Zip files expand with backslashes on Linux, no subdirectories - Super User

You can see that the zip file format should always use "/".

Can we hack the cb2make plugin?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ollydbg

I just looked at the source code of cb2make project, I see this line:

https://github.com/mirai-computing/cbp2make/blob/d40e6de50a5142f57576d0f2e8e433b7f510270a/src/platforms.cpp#L89


void CPlatform::Assign(const CPlatform& Platform)
{
m_OS_Type  = Platform.m_OS_Type;
m_Active   = Platform.m_Active;
m_Cmd_Null = Platform.m_Cmd_Null;
m_Cmd_Copy = Platform.m_Cmd_Copy;
m_Cmd_Move = Platform.m_Cmd_Move;
m_Cmd_Make = Platform.m_Cmd_Make;
m_Tool_Make = Platform.m_Tool_Make;
//m_Cmd_TestFile        = Platform.m_Cmd_TestFile;
m_Cmd_RemoveFile      = Platform.m_Cmd_RemoveFile;
m_Cmd_ForceRemoveFile = Platform.m_Cmd_ForceRemoveFile;
//m_Cmd_TestDir    = Platform.m_Cmd_TestDir;
m_Cmd_MakeDir      = Platform.m_Cmd_MakeDir;
m_Cmd_TestMakeDir  = Platform.m_Cmd_TestMakeDir;
m_Cmd_ForceMakeDir = Platform.m_Cmd_ForceMakeDir;
m_Cmd_RemoveDir    = Platform.m_Cmd_RemoveDir;
m_Cmd_PrintWorkDir = Platform.m_Cmd_PrintWorkDir;
m_Cmd_EvalWorkDir  = Platform.m_Cmd_EvalWorkDir;
m_Cmd_ChangeDir    = Platform.m_Cmd_ChangeDir;
m_PathDelimiter    = Platform.m_PathDelimiter;
m_LibraryPrefix    = Platform.m_LibraryPrefix;
m_StaticLibraryExtensions = Platform.m_StaticLibraryExtensions;
m_DynamicLibraryExtensions = Platform.m_DynamicLibraryExtensions;
}


So, we can hack the "m_PathDelimiter" variable? for Windows system?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

stahta01

#27
Quote from: ollydbg on August 24, 2024, 02:57:46 PM
I just looked at the source code of cb2make project, I see this line:

https://github.com/mirai-computing/cbp2make/blob/d40e6de50a5142f57576d0f2e8e433b7f510270a/src/platforms.cpp#L89


void CPlatform::Assign(const CPlatform& Platform)
{
m_OS_Type  = Platform.m_OS_Type;
m_Active   = Platform.m_Active;
m_Cmd_Null = Platform.m_Cmd_Null;
m_Cmd_Copy = Platform.m_Cmd_Copy;
m_Cmd_Move = Platform.m_Cmd_Move;
m_Cmd_Make = Platform.m_Cmd_Make;
m_Tool_Make = Platform.m_Tool_Make;
//m_Cmd_TestFile        = Platform.m_Cmd_TestFile;
m_Cmd_RemoveFile      = Platform.m_Cmd_RemoveFile;
m_Cmd_ForceRemoveFile = Platform.m_Cmd_ForceRemoveFile;
//m_Cmd_TestDir    = Platform.m_Cmd_TestDir;
m_Cmd_MakeDir      = Platform.m_Cmd_MakeDir;
m_Cmd_TestMakeDir  = Platform.m_Cmd_TestMakeDir;
m_Cmd_ForceMakeDir = Platform.m_Cmd_ForceMakeDir;
m_Cmd_RemoveDir    = Platform.m_Cmd_RemoveDir;
m_Cmd_PrintWorkDir = Platform.m_Cmd_PrintWorkDir;
m_Cmd_EvalWorkDir  = Platform.m_Cmd_EvalWorkDir;
m_Cmd_ChangeDir    = Platform.m_Cmd_ChangeDir;
m_PathDelimiter    = Platform.m_PathDelimiter;
m_LibraryPrefix    = Platform.m_LibraryPrefix;
m_StaticLibraryExtensions = Platform.m_StaticLibraryExtensions;
m_DynamicLibraryExtensions = Platform.m_DynamicLibraryExtensions;
}


So, we can hack the "m_PathDelimiter" variable? for Windows system?

There is an option for msys that should fix the issue under msys2 and may fix it for the poster.
I was planning to test it; but, the issue I had was fixed by an Msys2 packager.

        Manage platforms:
                cbp2make --config platform [-msys|-unix|-windows|-mac] [-pwd <print_dir_command>]
                         [-cd <change_dir_command>] [-rm <remove_file_command>]
                         [-rmf <remove_file_forced>] [-rmd <remove_dir_command>]
                         [-cp <copy_file_command>] [-mv <move_file_command>]
                         [-md <make_dir_command>] [-mdf <make_dir_forced>]
                         [-make <default_make_tool>]


Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

ollydbg

Quote from: stahta01 on August 24, 2024, 04:07:19 PM

There is an option for msys that should fix the issue under msys2 and may fix it for the poster.
I was planning to test it; but, the issue I had was fixed by an Msys2 packager.

        Manage platforms:
                cbp2make --config platform [-msys|-unix|-windows|-mac] [-pwd <print_dir_command>]
                         [-cd <change_dir_command>] [-rm <remove_file_command>]
                         [-rmf <remove_file_forced>] [-rmd <remove_dir_command>]
                         [-cp <copy_file_command>] [-mv <move_file_command>]
                         [-md <make_dir_command>] [-mdf <make_dir_forced>]
                         [-make <default_make_tool>]


Tim S.

Hi, Tim, thanks!

I think the OP should use the option "-msys" for generating the makefile for used by mingw32-make.exe.  :)
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Grit Clef

#29
OK, I will have a try.
Still the same...
I think those commands are from the project files.
-Windows 7, 32-bit
-CodeBlocks r13542, gcc 14.2.0, debug version