Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Using Code::Blocks / Re: Code::Blocks and Intel OneAPI?
« Last post by ThierryD on Yesterday at 03:44:58 pm »
Hi,

Howto is joined.

Regards.
2
Help / Trying to get Code::blocks working on a new PC and having no luck
« Last post by Dp-Rst on Yesterday at 03:19:42 pm »
Hello there,

I have used Code::blocks for 10 years and whenever I get a new PC I just copy paste the installation folder from my program files and it works out the box. My old laptop broke, but I copied over the file and it didn't work which means I cannot continue my video game project.

I tried deleting it all and installing the 20.03 version with mingw and it still doesn't work

I am getting this:

  The compiler's setup is invalid, so Code::Blocks cannot find/run the compiler.
  Probably the toolchain path within the compiler options is not setup correctly?!
  Do you have a compiler installed?
Goto "Settings->Compiler...->Global compiler settings->unknown->Toolchain executables" and fix the compiler's setup.

When I autodetect it works to find the compiler, but spits this error out still. I tried the latest version with my own manual install of a compiler, then wiped the pc and tried again with the 20.03 mingw both give the same error.

I have no idea how I can solve this?
3
Help / Re: WIKI service
« Last post by Miguel Gimenez on Yesterday at 11:20:07 am »
Badly hidden spam link by fadedstudi reported to moderator.
4
Help / Re: WIKI service
« Last post by Wkerry on Yesterday at 09:55:24 am »
looks like a bot as it is working and has been for a while now.
5
Help / Re: WIKI service
« Last post by fadedstudi on Yesterday at 09:41:31 am »
6
Using Code::Blocks / Code::Blocks and Intel OneAPI?
« Last post by porkroast on November 11, 2025, 06:23:28 pm »
Hello all:

I am having some trouble setting up the Intel OneAPI C++ compiler to work with Code::Blocks-- I am using MSVC 2022 Community Edition, and I have the Intel Command Line interface working.  Windows 11-- I keep getting linking errors, so I believe that my compiler and directory settings are off.  Has anyone here made this work yet?  Thank you--
7
Using Code::Blocks / Re: Dark Mode
« Last post by bad_terminal on November 10, 2025, 10:25:23 am »
So no button then.  :(

Not that it matters much anyway, i've uninstalled 25.03 as it was using so much cpu my PC fans kept ramping up.

So that it doesn't appear that i'm spamming the forum, i'll ask another question in here:- On 20.03 I enable code completion in toolbar, and remove browsetracker, then I save everything, save workspace, but upon restart, browsetracker is back in toolbar, and code completion is not. Very frustrating. I there a fix?

edit:So I managed to do this by editing a file in user/codeblocks dir named browsetracker. For some reason it then saved 'code completion' on the toolbar. Weird. All I have to do now is make it remember my preferred zoom (font size). Unfortunatley every time I've tried it in the past, it fails, and also changes the font in the editor. I can then never find the default font that codeblocks uses. Does anyone know what the default font is?

btw ollydbg, I like your bit of advice in your sig, i'll have to remember it!
Thanks.
8
Development / Re: Support for c++20 modules
« Last post by ollydbg on November 10, 2025, 03:05:03 am »
For who likes a workaround see: https://gitlab.com/jorgenjan-group/helloworld-for-c-with-modules-in-codeblocks

Good work!

I looked at the cbp file, it looks like there are 2 main changes compared with normal cbp file

1, some extra command is needed:

Code
				<ExtraCommands>
<Add before="rm -f gcm.cache" />
<Add before="mkdir -p obj/Debug/gcm.cache" />
<Add before="ln -s obj/Debug/gcm.cache ./gcm.cache" />
</ExtraCommands>


Here you call a "ln" command, my guess is that under Windows system, there is no such command.


2, when building the cxx file, it should set the weight to 10.

Code
		<Unit filename="Hello.cxx">
<Option weight="10" />
</Unit>

Which means this file should be built before other source files.


9
Development / Re: Support for c++20 modules
« Last post by JorgenBest on November 09, 2025, 05:04:40 pm »
10
Using Code::Blocks / Re: Dark Mode
« Last post by ollydbg on November 09, 2025, 04:45:15 pm »
That github repo has the latest changes in 2 years ago. I'm not sure the current status. Currently the official wx 3.3.1 is already released for months.
Pages: [1] 2 3 4 5 6 ... 10