Recent Posts

Pages: 1 2 3 4 5 [6] 7 8 9 10
51
Help / Adding additional compiler
« Last post by JoeH on April 02, 2026, 05:06:03 am »
I have an old computer, running Windows XP, that I want to do some FORTRAN programming on.  I have installed CB17.12 and it works fine for C and C++.  The gfortran compiler is not available.  The only compiler .exe files that appear in the MinGW/bin directory are for C and C++.  I reinstalled CodeBlocks to be sure I selected the Fortran compiler for installation.  I had requested everything to be installed.  The options_gfortran.xml file does exist in the share/CodeBlocks/compilers directory.

Is there a way to add the gfortran compiler?

Thanks

Joe
52
Help / Re: wx3.3.x library build
« Last post by stahta01 on April 02, 2026, 04:55:01 am »
Try editing the "WX_CFG" under the project custom variables.
Any luck?

53
Help / Re: wx3.3.x library build
« Last post by stahta01 on April 01, 2026, 11:49:41 pm »
The "CFG=64" likely means you need to edit the cbp file to file the DLL

Edit: Try editing the "WX_CFG" under the project custom variables.

Unix like systems supports configure/make build method. I use MSys2 MinGW UCRT64 environment.

Tim S.
54
Help / Re: wx3.3.x library build
« Last post by Frank_CB on April 01, 2026, 10:10:02 pm »
I downgraded to winlib's gnu/gcc 15.1.0 compiler. Then, I used "mingw32-make.exe -f makefile.gcc CFG=64 BUILD=Release SHARED=1 MONOLITHIC=1" to  successfully build wx3.2.8.

What is the configure/make method you used for codeblocks? The usual method, that I use, is to execute a host codeblocks and then open the source wx32_64.cbp. Now, I'm getting failures because wxmsw32u cannot be found. Any ideas why it cannot find that dll file?
55
Besides that, I think we need to find a way to switch to git.
I think
1, svn is not suitable to maintain many patches locally.
2, I need to synchonize some code between different PCs, and all PCs are using git.

Currently I use arnholm/codeblocks_sfmirror: Unofficial auto-updated GIT mirror of C::B repo in SourceForge. Does NOT accept patches nor pull requests., but that repo only update once per day, so sometimes, I need to wait one day to re-base my local git. :(
56
I do not use environments like Cygwin very often.
You mean wxWidgets build against gtk3 under Windows OS?
What is the advantage of using such library under Windows compared with the native wxWidgets MSW?

I know of none; I started trying years ago just to test weird edit issues in C::B to verify I did not break the build for Linux.

Since, wx does build maybe I will see if C::B will build using it; since the gtk3 I built has run-time issues I see no need to think C::B will run.

I am making several custom MSys2 Cygwin like packages I and I thought could I build gtk3 and I succeeded so I decided to do wxWidget before testing the gtk3.

Edit: I have gotten the C::B core to build minus 4 core plugins; it runs and lists the plugins installed.

Tim S.
57
I do not use environments like Cygwin very often.
You mean wxWidgets build against gtk3 under Windows OS?
What is the advantage of using such library under Windows compared with the native wxWidgets MSW?
58
Help / Re: wx3.3.x library build
« Last post by stahta01 on April 01, 2026, 03:07:02 am »
Code
Name                    : Code::Blocks
Version                 : svn-r13831
SDK Version             : 2.25.0
Scintilla Version       : 3.7.5
Author                  : The Code::Blocks Team
E-mail                  : info@codeblocks.org
Website                 : https://www.codeblocks.org
OS                      : Windows 11 (build 26200), 64-bit edition
Scaling factor          : 1.000000
Detected scaling factor : 1.000000
Display PPI             : 96x96
Display count           : 1
Display 0 (\\.\DISPLAY1): XY=[0,0]; Size=[1920,1080]; Primary

wxWidgets Library (wxMSW port)
Version 3.3.3 (Unicode: wchar_t, debug level: 1),
compiled at Mar 31 2026 23:43:08

Runtime version of toolkit used is 10.0.26200.

What wxWidgets build method are you using?
1. configure/make
2. mingw32-make -f makefile.gcc
3. cmake

I use cmake method to build wxWidgets and configure/make to build Code::Blocks

Tim S.
59
Help / Re: wx3.3.x library build
« Last post by Frank_CB on April 01, 2026, 03:01:29 am »
Thanks Tim, for the information! I am having no luck with wx3.3.x using Winlib's gcc/gnu 15.2.0 compiler. I've used Winlib's compilers for almost the past year without any problems. It's possible that the problem is with their 15.2.0 compiler and wx3.3.x libraries?
60
Development / Anyone want Code::Blocks for MSys2 in the CygWin like environment?
« Last post by stahta01 on April 01, 2026, 01:25:57 am »
Anyone want Code::Blocks for MSys2 in the Cygwin like environment?

I am getting wxWidgets gtk3 past 90% building right now. I hope to get 100% built today or tomorrow.

It built 100% but it failed to work. Looks like the gtk3 I built is broken.

But I am not sure if I wish to build Code::Blocks directly because I see no need to me.

Tim S.
Pages: 1 2 3 4 5 [6] 7 8 9 10