Recent Posts

Pages: 1 2 3 4 5 [6] 7 8 9 10
51
Development / Re: Problem when compiling on Windows C::B svn 13656 with gcc 15.1
« Last post by gd_on on April 27, 2025, 07:18:04 pm »
I build C::B using a standard workspace for C::B (equivallent to CodeBlocks_wx32_64.workspace, but adapted to use global variables to be more wxWidgets version independant).
So, it uses precompiled headers.
52
Development / Re: Problem when compiling on Windows C::B svn 13656 with gcc 15.1
« Last post by stahta01 on April 27, 2025, 07:06:46 pm »
I have opened a ticket https://sourceforge.net/p/codeblocks/tickets/1527/ because there is a problem when I try to compile C::B with the new gcc 15.1 version from Msys2. One header is apparently missing in globals.h

Using precompiled headers or not?

Edit: I will try to duplicate the problem using wxWidgets 3.3 git master and non-precompiled headers. Take a few hours.
Edit2: https://gcc.gnu.org/gcc-15/porting_to.html#c23
Edit3: Duplicated the error; now trying patch using stdint.h instead and seeing if it works
Edit4: Using "stdint.h" also fixes the build problem

Tim S.
53
Development / Problem when compiling on Windows C::B svn 13656 with gcc 15.1
« Last post by gd_on on April 27, 2025, 06:02:06 pm »
I have opened a ticket https://sourceforge.net/p/codeblocks/tickets/1527/ because there is a problem when I try to compile C::B with the new gcc 15.1 version from Msys2. One header is apparently missing in globals.h
54
Help / Re: CMakeLists.txt and Code::Blocks
« Last post by gd_on on April 27, 2025, 05:46:14 pm »
If you click on Finish, you obtain an other Window where you can click on Configure. To avoid some errors, it may be useful to adjust the version in the first line of the main CMakeLists.txt.
In the configure Window (in red to show you that some adjustments may be required), many fields are automatically filled but you can have to adjust manually a few ones as CMAKE_BUILD_TYPE, CMAKE_CODEBLOCKS_EXECUTABLE and eventually Compile and link options.
When you click on Generate button, a codeblocks .cbp file is generated. Here too, you can rework it manually.
55
Help / CMakeLists.txt and Code::Blocks
« Last post by gtafan on April 26, 2025, 08:24:06 pm »
Some C++ project are using CMakeLists.txt, to be honest I am not a fan of it, but how to compile such project with Code::Blocks?
I tried cmake-gui and was able to get as far, as this:



But what next?
56
Using Code::Blocks / Re: cryptic hints regarding translations
« Last post by gd_on on April 25, 2025, 06:00:53 pm »
There is now an other step.
The import queue say that it "needs review". You can set status to "Approved" by clicking on a small yellow ! to force to "imported". It needs some time to really do that (a few hours). Normally you have also to fill the "template" field and set it to all-codeblocks (only one choice) (available if you click on the ! at the end of the line "Will be imported into German (de)...".
Once really imported, you may have to look in the "Needs review" column of the main translation page. You may have to approve or choice between several translation proposals: this happens when several translators have different proposals.
57
Using Code::Blocks / Re: cryptic hints regarding translations
« Last post by rechtsanwaltsteyer on April 25, 2025, 05:05:04 pm »
Tnx that was a good idea. I just uploaded the file codeblocks-gms-de_1-000-179.po to the mentioned new page of you. Poedit says me that 7436 lines of 9528 (=78%) are now translated.
Regards!
58
Plugins development / Re: CC NONPCH issue/patch for wxWidgets 3.3
« Last post by Miguel Gimenez on April 25, 2025, 04:37:54 pm »
Applied in r13656, thank you.
59
Using Code::Blocks / Re: cryptic hints regarding translations
« Last post by gd_on on April 25, 2025, 04:32:59 pm »
The problem you have is probably related to the fact that this launchpad site (https://launchpad.net/codeblocks) has not been updated for many years. It is too old and not maintained anymore (it contains only 2173 string, but Code::Blocks presently contains approximately 10300 translatable strings).
Myself, I was unable to upload a new .pot file in the past on this site, so I have created a new one whose name is different but quite similar :
https://launchpad.net/codeblocks-gd (just a small -gd more !).
I update regularly the .pot file, so translators can work on it to obtain updated .po and .mo files.
60
Using Code::Blocks / cryptic hints regarding translations
« Last post by rechtsanwaltsteyer on April 25, 2025, 01:25:39 pm »
Hello DEVs,
for some time now, I've been uploading *.po files to Launchpad so that other developers/customers can use my translations. Now I always get cryptic responses from there. Here's an excerpt:

Hello RASteyer,

On 2025-04-15 11:53z (5 hours 48 minutes ago), you uploaded 9010 German (de) translations for codeblocks in Code::Blocks trunk in Launchpad.

There were problems with 41 of these translations.

796. "This message was updated by someone else after you got the
translation file. This translation is now stored as a suggestion, if you
want to set it as the used one, go to
https://translations.launchpad.net/codeblocks/trunk/+pots/codeblocks/de/+translate
and approve it.":

#: plugins_xrc.cpp:7
msgid ""
"You will be asked for the macro substitution value, when auto-completing."
msgid ""
"You will be asked for the value of the" during autocomplete.
"Macro replacement requested."

Since my translation program doesn't complain after calling, for example, "msgfmt -o codeblocks-gms-de_1-000-178a.mo codeblocks-gms-de_1-000-178a.po" and therefore everything seems to be fine, I don't understand Launchpad's instructions.
Greetings and hoping for an answer.
Pages: 1 2 3 4 5 [6] 7 8 9 10