51
Development / Re: build bot in the github, I see one nice project
« Last post by Grit Clef on October 08, 2024, 05:45:47 am »OK. Thank you.
Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!
-------------- Build: Release in Hello (compiler: GNU GCC Compiler)---------------
Scanned 0 files for #includes, cache used 0, cache updated 0
CWD for depslib was: /home/lee/MySourceCode/Hello.
CWD for depslib is: /home/lee/MySourceCode/Hello.
Scanned 0 files for #includes, cache used 0, cache updated 0
g++ -Wall -fexceptions -O2 -c /home/lee/MySourceCode/Hello/main.cpp -o obj/Release/main.o
g++ -o bin/Release/Hello obj/Release/main.o -s
Output file is bin/Release/Hello with size 14.13 KB
CWD for depslib was: /home/lee/MySourceCode/Hello.
...
CWD for depslib is: /home/lee/MySourceCode/Hello.
Scanned 0 files for #includes, cache used 0, cache updated 0
Process terminated with status 0 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
lee@lee-X570S:~/MySourceCode/Hello/bin/Release$ ./Hello
Hello world!
lee@lee-X570S:~/MySourceCode/Hello/bin/Release$
-------------- Run: Release in Hello (compiler: GNU GCC Compiler)---------------
gnome-terminal -- bash -c ./
gnome-terminal -t $TITLE -x ./
Try to remove (or rename) ~/.codeblocks/cbKeyBinder10.ini.how to do so?
g++.exe -Wall -std=gnu++11 -pipe -mthreads -fmessage-length=0 -fexceptions -DBUILDING_PLUGIN -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DNOPCH -DwxUSE_UNICODE -I..\..\..\include -I..\..\..\include\tinyxml -I..\..\..\sdk\wxscintilla\include -ID:/msys64/opt/wxwidgets3.2/include -ID:/msys64/opt/wxwidgets3.2/lib\gcc_dll\msw -c projectdependencies.cpp -o ..\\..\\..\\.objs32\\plugins\\contrib\\FortranProject\\projectdependencies.o
In file included from D:/msys64/opt/wxwidgets3.2/include/wx/defs.h:45,
from D:/msys64/opt/wxwidgets3.2/include/wx/wxprec.h:12,
from ..\..\..\include/sdk_common.h:24,
from ..\..\..\include/sdk.h:14,
from projectdependencies.h:13,
from projectdependencies.cpp:10:
D:/msys64/opt/wxwidgets3.2/include/wx/platform.h:159:10: fatal error: wx/setup.h: No such file or directory
159 | #include "wx/setup.h"
| ^~~~~~~~~~~~
compilation terminated.
mingw32-make[1]: ***
-ID:/msys64/opt/wxwidgets3.2/lib\gcc_dll\msw
Good news: I had just forgotten to use some shell commands to change the Makefile so that it can work under MSYS2 zip. The following commands can change all back-slashes to forward-slashes and do other necessary modification:CodeA successful action can be found at https://github.com/zxunge/winstyle-codeblocks-bins/actions/runs/11192814700sed '/zip -jq9*/ s/\\/\//g' Makefile_core -i
sed -i '85 s/LIB_SDK = $(LIB) -lshfolder -ltxml -lwxscintilla_cb -lsquirrel -lgdi32/LIB_SDK = -lshfolder -ltxml -lwxscintilla_cb $(LIB) -lsquirrel -lgdi32/' Makefile_core
sed 's/$(DEP_.*//g' Makefile_core -i
So now maybe we can use a automatical winstyle build.
I'm now wondering if cbp2make can convert .workspace files.