Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Development / Re: Support for c++20 modules
« Last post by JorgenBest on Today at 06:51:01 pm »
I like to test the new module possibility and like it so far (just shortly started). I made a project template for using it with gcc or Clang (Arch Linux).

What I can do with modules:
1. use the std module with all library features for GCC  or CLang
2. create my own modules

Only downsite is:  when I add new modules I have to set the priority weight for compiling lower (e.g. to 10) for gcc. For Clang I need also to create a custom command to build and copy that in (copy the same code for every file).

See the attached main.cpp with a HelloWorld example. All other files can be constructed from this as well as the configuration in codeblocks. I hope this helps, any one how likes to try modules.
2
Using Code::Blocks / Re: 25.03 Start Page : Linux vs Windows
« Last post by blauzahn on Today at 05:27:36 pm »
you can find version information in: Help | About | Information

or as an example for wxwidgets in a terminal:  wx-config --version
3
Using Code::Blocks / Re: 25.03 Start Page : Linux vs Windows
« Last post by Geoff13 on Today at 04:35:18 pm »
ollybg :

I have installed from the downloads page.  Not sure if the file you reference is only available if I build from source.  I'm too new to Linux to try that.

Miguel :

I've been using Windows for decades but seeing if I can avoid 11 by switching to Linux.  I'm new and not sure how to answer some of your questions.  If you can give me a hint I'll look for the other answers.

I'm running Linux Mint 22.1 Cinnamon.  No idea about wxWidgets or GTK.  Perhaps my installation process will answer those?

I had installed CB from the Software Manager.  This gave me version 24.xx.  Recently I downloaded the 25.03_amd64_debian12 file from the CB site and followed these instructions to install it : https://ubuntuhandbook.org/index.php/2025/04/codeblocks-25-03-howto-install/
4
Using Code::Blocks / Re: 25.03 Start Page : Linux vs Windows
« Last post by Miguel Gimenez on Today at 12:15:40 pm »
Works for me on Mint 18 with stock wxWidgets 3.0.5, which version of Mint/wxWidgets/GTK are you using?
5
Help / Re: Using 'ThreadSearch'
« Last post by LETARTARE on Today at 10:59:44 am »
Thanks you.
But I had hoped that a combination of keys existed.
6
Using Code::Blocks / Any way to get C++23 support on Pop!_OS?
« Last post by Jarrod on Today at 10:31:09 am »
I've been trying unsuccessfully to get C++23 support in Code Blocks. I'm on Pop!_OS 22.04 LTS. The Code Blocks release from the Pop Shop is 20.03. I have gcc-12 on my system and CB is pointing at those Toolchain executables. The most recent standard option is C++17 though and adding "-std=c++23" to the compiler options field doesn't actually change the standard used. My next thought was to update Code Blocks manually to the new 25.03 release but the website only has a version for Debian. Will that work on Pop!_OS? Or is there some other secret voodoo I haven't found yet to get C++23 support?
7
Using Code::Blocks / Re: 25.03 Start Page : Linux vs Windows
« Last post by ollydbg on Today at 02:05:53 am »
Thanks for the report, I think this is a bug.

There is a file named:

src/src/resources/start_here/start_here.html

I think C::B just uses some html viewer window to show this html file.

I'm not fully understand the logic, but my guess is that the contents of the html get modified dynamically, so the recent opened entries get added.

Maybe the Windows and Linux use different html viewer code?
8
Using Code::Blocks / 25.03 Start Page : Linux vs Windows
« Last post by Geoff13 on Yesterday at 10:19:58 pm »
The start page for 25.03 on my Windows 10 computer has a nice wide area for the recent projects (see screenshot).

However 25.03 on my Linux Mint computer has a very narrow area, with each project using multiple lines.  Is there file that controls this width that could be edited on this computer?  Or is hard coded into the executable?

Thanks for any help.
Geoff
9
Help / Re: Using 'ThreadSearch'
« Last post by cacb on Yesterday at 09:47:23 pm »
I have not used ThreadSearch much, but the GUI doesn't seem to have an option to remove old searches.

The info is stored in the 'default.conf' file which is really an XML file.

'default.conf' is found in
Windows: %APPDATA%\CodeBlocks
Linux: ~/.config/codeblocks

The tag SEARCHPATTERNS under ThreadSearch contains the old search patterns. So it is possible to remove it manually using a text editor if you understand how to not mess up XML syntax.

- Exit C::B before doing anything
- Backup 'default.conf'' in case you mess it up
- Make the changes
- Restart C::B
10
Help / Using 'ThreadSearch'
« Last post by LETARTARE on Yesterday at 04:23:48 pm »
I'm trying to empty the search string buffer, but I can't!
How do you do it ?
Pages: [1] 2 3 4 5 6 ... 10