Recent Posts

Pages: 1 2 3 4 [5] 6 7 8 9 10
41
Help / Re: Most download links for CB 25.03 not working
« Last post by gtafan on April 16, 2025, 03:36:28 pm »
For me it does not work too, but only for Windows 32bits versions. A cache refresh in my firefox does not change anything.
The problem I see, it's that links on the C::B download page contains explicitely -32bit- in the filename (for example : https://sourceforge.net/projects/codeblocks/files/Binaries/25.03/Windows/32bit/codeblocks-25.03-32bit-setup.exe) but on sourceforge I find https://sourceforge.net/projects/codeblocks/files/Binaries/25.03/Windows/32bit/codeblocks-25.03-setup.exe.
The filenames for 32 or 64 bits are the same, but not their path.
Any chance this can be fixed?

Looks like all nosetup links are dead, the reason could be the extension. The error mesage shows that the extension is exe while it should be zip.
42
Help / Re: translation don't appear complete in the IDe
« Last post by gd_on on April 16, 2025, 11:19:38 am »
The message in msgid must be exactly equal to the message contained in the code. In your example, I see these lines are ended by \r\n, so Windows endlines. In the xrc file from which these strings are extracted, it's only a "
" (xml syntax) so a \n.
I also see that in your case the line is extracted from src_xrc.cpp, but for me these strings are in app_compiler_settings.xrc.
Did you tried to use the german translation provided in https://translations.launchpad.net/codeblocks-gd? or the extracted .pot file that I regularly update?
May be, your extracting tool does not work as it should.

May be you can also participate to the common work of translating in German (you may have to create an account on https://launchpad.net/codeblocks-gd). Many strings are still not translated on Launchpad for German.
Have also a look in the C::B forum, last posts in https://forums.codeblocks.org/index.php/topic,1022.270.html. (where your name appears).
Joined the last tool I use on Windows and my last .pot file. I use generally the .bat file which calls the .bash. It needs to have a bash version on Windows. (But I can also use the .cmd which uses Windows commands but still need some unix-like tools easily found in msys2).

PS: just to be sure, strings in msgstr which are supposed to be translated in german, are here in English with only a few different letters. I suppose that it's only to show the problem you have, not the strings you want to have to be translated!
43
Development / Re: Custom variables
« Last post by LETARTARE on April 16, 2025, 10:41:51 am »
I still have no lead ...
44
Help / Re: Debugger not working
« Last post by Pecan on April 16, 2025, 07:18:08 am »
The debugger does not believe that "E:/Topicos/TestVector/bin/Debug/TestVector.exe" was ever created.

Code
debug]E:/Topicos/TestVector/bin/Debug/TestVector.exe: No such file or directory.

Check the location of the executable output file. Look at the compiles output location in the Build Log tab. It should look something like this: "Output file is ..<your output exe name> with size <size of the executable> MB"
45
Help / Debugger not working
« Last post by Zorerks on April 16, 2025, 03:50:56 am »
Hello! I've been struggling with this issue for a whole afternoon, tried countless ways of fixing it and no luck. I even reinstalled Code::Blocks (I'm using the latest 25.03 version).
Over on the Debugger settings, the path to gbd.exe is correct, the compiler settings have the (-g) setting tickled off, there doesn't seem to be any " " (blank spaces) over the directory... I really have no idea. For a little context, I'm dealing with a .h and .c file, both serving as a static library for my main.c, but the debugger just isn't working anywhere. I don't know what to do. Here's the log it's been giving me:


Active debugger config: GDB/CDB debugger:Default
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: E:\Topicos\TestVector\
Adding source dir: E:\Topicos\TestVector\
Adding file: E:\Topicos\TestVector\bin\Debug\TestVector.exe
Changing directory to: E:/Topicos/TestVector/.
Set variable: PATH=.;C:\Program Files\CodeBlocks\MinGW\bin;C:\Program Files\CodeBlocks\MinGW;E:\bin;E:\;C:\Program Files\Eclipse Adoptium\jdk-11.0.20.101-hotspot\bin;C:\Program Files (x86)\Razer\ChromaBroadcast\bin;C:\Program Files\Razer\ChromaBroadcast\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\Windows Live\Shared;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Users\Zorerks\AppData\Local\Programs\Python\Python39\Scripts;C:\Users\Zorerks\AppData\Local\Programs\Python\Python39;C:\Users\Zorerks\AppData\Local\Microsoft\WindowsApps;C:\Users\Zorerks\AppData\Local\GitHubDesktop\bin;C:\Users\Zorerks\AppData\Local\Programs\Microsoft VS Code\bin

[debug]Command-line: C:\Program Files\CodeBlocks\MinGW\bin\gdb.exe -nx -fullname -quiet  -args E:/Topicos/TestVector/bin/Debug/TestVector.exe
[debug]Working dir : E:\Topicos\TestVector

Starting debugger: C:\Program Files\CodeBlocks\MinGW\bin\gdb.exe -nx -fullname -quiet  -args E:/Topicos/TestVector/bin/Debug/TestVector.exe
done

[debug]E:/Topicos/TestVector/bin/Debug/TestVector.exe: No such file or directory.
[debug](gdb)
[debug]> set prompt >>>>>>cb_gdb:

Setting breakpoints

[debug]>>>>>>cb_gdb:
[debug]> show version
[debug]GNU gdb (GDB for MinGW-W64 x86_64, built by Brecht Sanders, r3) 16.2
[debug]Copyright (C) 2024 Free Software Foundation, Inc.
[debug]License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
[debug]This is free software: you are free to change and redistribute it.
[debug]There is NO WARRANTY, to the extent permitted by law.
[debug]Type "show copying" and "show warranty" for details.
[debug]This GDB was configured as "x86_64-w64-mingw32".
[debug]Type "show configuration" for configuration details.
[debug]For bug reporting instructions, please see:
[debug]<https://www.gnu.org/software/gdb/bugs/>.
[debug]Find the GDB manual and other documentation resources online at:
[debug]    <http://www.gnu.org/software/gdb/documentation/>.
[debug]For help, type "help".
[debug]Type "apropos word" to search for commands related to "word".
[debug]>>>>>>cb_gdb:
[debug]> set confirm off

Debugger name and version: GNU gdb (GDB for MinGW-W64 x86_64, built by Brecht Sanders, r3) 16.2

[debug]>>>>>>cb_gdb:
[debug]> set width 0
[debug]>>>>>>cb_gdb:
[debug]> set height 0
[debug]>>>>>>cb_gdb:
[debug]> set breakpoint pending on
[debug]>>>>>>cb_gdb:
[debug]> set print asm-demangle on
[debug]>>>>>>cb_gdb:
[debug]> set unwindonsignal on
[debug]>>>>>>cb_gdb:
[debug]> set print elements 200
[debug]>>>>>>cb_gdb:
[debug]> set filename-display absolute
[debug]>>>>>>cb_gdb:
[debug]> set style enabled off
[debug]>>>>>>cb_gdb:
[debug]> set new-console on
[debug]>>>>>>cb_gdb:
[debug]> set disassembly-flavor att
[debug]>>>>>>cb_gdb:
[debug]> catch throw
[debug]Catchpoint 1 (throw)
[debug]>>>>>>cb_gdb:
[debug]> directory E:/Topicos/TestVector/
[debug]Source directories searched: E:/Topicos/TestVector;$cdir;$cwd
[debug]>>>>>>cb_gdb:
[debug]> break "E:/Topicos/TestVector/main.c:11"
[debug]No symbol table is loaded.  Use the "file" command.
[debug]Breakpoint 2 ("E:/Topicos/TestVector/main.c:11") pending.
[debug]>>>>>>cb_gdb:
[debug]> run
[debug]No executable specified, use `target exec'.
[debug]Starting program: 
[debug]>>>>>>cb_gdb:

Starting the debuggee failed: No executable specified, use `target exec'.

[debug]> quit

Debugger finished with status 0



HELP!
46
Just tried to access C::B on source forge and it looks like it has implemented a new "feature" to make me turn on adds that I hate.

Maybee someone should look if it is possible to move off sourceforge to github.

If all you need is to clone C::B code, you can use my github mirror
https://github.com/arnholm/codeblocks_sfmirror

Btw I agree 100% with this
Then I suggest moving to Codeberg since GitHub is known to abuse user's rights and train their Copilot AI on public user data without proper attribution and that breaks the GPL.

47
Help / translation don't appear complete in the IDe
« Last post by rechtsanwaltsteyer on April 15, 2025, 06:31:25 pm »
I'm using Code::Blocks 25.03 under Kubuntu and created my own translation file for german language and copied it to /usr/share/codeblocks/locale/de_DE/. Most translations are displayed in the IDE. However, the following (here under msgstr) are not. Instead the english version appears.
Here is an excerpt from the po file:
#: src_xrc.cpp:4
msgid ""
"If you right-click a Code::Blocks project/workspace in explorer, you will see\r\n"
"two extensions: \"Build\" and \"Rebuild (clean)\" (windows only).\r\n"
"The arguments configured here, are used by those two extensions.\r\n"
"You could specify, for example, a profile/personality to use for batch builds.\r\n"
"\r\n"
"The relevant command-line arguments are (all are optional):\r\n"
"\r\n"
"-na: don't perform any association checks\r\n"
"-nd: don't start a DDE server\r\n"
"-ns: don't display a splash screen while loading\r\n"
"-p : the profile to use: \"ask\" or <profile-name>\r\n"
"\r\n"
"--target: work only on <target> for \"Build\" or \"Rebuild (clean)\"\r\n"
"--no-batch-window-close: do not auto-close log window when batch build is done\r\n"
"--batch-build-notify: show message when batch build is done"

msgstr ""
"If you right-click on a Code::Blocks project/workspace in Explorer, you will see\r\n"
"two extensions: \"Build\" and \"Rebuild (clean)\" (Windows only).\r\n"
"The arguments configured here will be used by these two extensions.\r\n"
"For example, you could specify a profile/personality to use for batch builds.\r\n"
"\r\n"
"The relevant Command-line arguments are (all are optional):
"\r\n"
"-na: do not perform association checks\r\n"
"-nd: do not start a DDE server\r\n"
"-ns: do not display a splash screen on load\r\n"
"-p: the profile to use: \"ask\" or <profile-name>\r\n"
"\r\n"
"--target: only works on <target> for \"Build\" or \"Rebuild (clean)\"\r\n"
"--no-batch-window-close: do not automatically close the log window when batch build is complete\r\n"
"--batch-build-notify: display a message when batch build is complete"

The syntax seems to be correct. What could be the problem? Code::Blocks?
48
Using Code::Blocks / Re: Help getting SDL2 to work in Code Blocks
« Last post by stahta01 on April 15, 2025, 05:58:53 pm »
1. Setup Code::Blocks toolchain
2. Create empty project
3. Add "`pkg-config --cflags sdl2, SDL2_image`"  to "other compiler options" include the slant quotes do not include the double quotes
4. Add " `pkg-config --libs sdl2, SDL2_image`" to "other linker option" include the slant quotes do not include the double quotes

Remember edit the project options under Project -> Build options

Link to CB Wiki https://wiki.codeblocks.org/index.php/Main_Page

Tim S.
49
You can also add an add blocker extension in your browser. For me, it's OK with Adblock plus in firefox.
50
Help / Re: Most download links for CB 25.03 not working
« Last post by gd_on on April 15, 2025, 02:10:22 pm »
For me it does not work too, but only for Windows 32bits versions. A cache refresh in my firefox does not change anything.
The problem I see, it's that links on the C::B download page contains explicitely -32bit- in the filename (for example : https://sourceforge.net/projects/codeblocks/files/Binaries/25.03/Windows/32bit/codeblocks-25.03-32bit-setup.exe) but on sourceforge I find https://sourceforge.net/projects/codeblocks/files/Binaries/25.03/Windows/32bit/codeblocks-25.03-setup.exe.
The filenames for 32 or 64 bits are the same, but not their path.
Pages: 1 2 3 4 [5] 6 7 8 9 10