41
Using Code::Blocks / Re: Debug report has been generated... ?!
« Last post by lakshyakeshwani on October 07, 2024, 08:05:32 pm »Try to remove (or rename) ~/.codeblocks/cbKeyBinder10.ini.how to do so?
The new Release 20.03 is out! You can download binaries for Windows and many major Linux distros here .
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.
sed '/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