Recent Posts

Pages: 1 2 3 4 5 6 [7] 8 9 10
Using Code::Blocks / Re: An unhandled exception ...
« Last post by LETARTARE on July 06, 2020, 05:20:12 pm »
Summary of the latest tests to date :

I use two files :
1- 'All_codeblocksLF.po' with end of line 'LF'.
2- 'All_codeblocksCRLF.po'.in with end of line 'CRLF'
and always 'cb-12180' compiled with the mentioned 'gcc'.
1- I load the file in the editor of CB
2- I'm modifying it.
3- I'm saving him.

Window OS:
CB->Editor->Ensure Consistent EOLs = Yes
CB->Editor->End of Line : CRLF
Win7-64bits :  gcc-810-32 bits, wx-313,  file 'LF' => crash, file 'CRLF' => good
Win7-64bits :  gcc-810-64 bits, wx-313,  file 'LF' => crash, file 'CRLF' => good
Vista-32bits :  gcc-810-32 bits, wx-313,  file 'LF' => crash, file 'CRLF' => good
Exception message for the crash.
Linux OS (OpenSuse-Leap-15.1 last update)
CB->Editor->Ensure Consistent EOLs = Yes
CB->Editor->End of Line : LF
gcc-750-64bits, wx-303 => file 'LF' => good, file 'CRLF' => crash
No exception message for the crash !

You can see that the error occurs if the file does not have the editor's line endings

I forgot the files...
General (but related to Code::Blocks) / Re: Use of logos in templates
« Last post by Buongiorno on July 06, 2020, 01:46:30 pm »

The Code::Blocks SDK likely has an linking exception to the license!

"license" do you mean the GNU/GPL3?

I think the plugin with the images that I'm talking about is the "wizard", but I remember there's "two" "wizards", I don't know if are one or both which contain these images.
A better website for wxWidgets questions is
A good wx reference site
Link to this website rules,9996.0.html

Tim S.
how to add a string item to wxcombobox or wxlistbox or wxlistview?
just like delphi code  ComboBox1.Items.Add('mystring');    ListBox1.Items.Add('mystring');
Using Code::Blocks / Re: Disabling PCH for a single file
« Last post by sodev on July 06, 2020, 02:46:00 am »
The problem here is not PCH itself but a mix of C and C++. The SQLite file has the .c extension so it will be compiled as C code, the project settings however force include the PCH which was created in C++ mode and this causes the error. So beside the two outlined solutions, extra target that compiles the file with different settings and using a precompiled variant, i propose a third solution: rename the file to .cpp so it will be compiled in C++ mode. If SQLite can be compiled in C++ mode this is the simplest solution :).
Using Code::Blocks / Re: Disabling PCH for a single file
« Last post by stahta01 on July 06, 2020, 02:03:00 am »
Do you understand the idea of CB targets?
If not, I suggest you learn how to have multiple targets in a project.
You can set different compiler and linker options for each target.

I would create an static library target for the sqlite file.

Tim S.

Using Code::Blocks / Re: Disabling PCH for a single file
« Last post by nji on July 05, 2020, 05:39:51 pm »
Thanks.  :)

I meanwhile tried that way.

Originally I thought taking the amalgamation would be the simplest way of using sqlite.
But taking the precompiled dll + headers from amalgamation is even easier.
As long as your compiler matches with the one used for the precompiled dll.
You don't even need the def file.
Using Code::Blocks / Re: Debugger fails (Win7 64, mingw 8.1)
« Last post by oBFusCATed on July 05, 2020, 12:49:28 pm »
The assert is fixed in trunk/master. Thanks for reporting.
Using Code::Blocks / Re: Debugger fails (Win7 64, mingw 8.1)
« Last post by nji on July 05, 2020, 10:29:24 am »
(No, there is no "-s" when linking, should it?)

One step further:

Someone was so kind to try for me.
He had mingw 8.1 installed but not CB.
He installed CB and the debugger worked fine!

So I thought it must be something with MY CB config.
Although I surely did not fiddle around with that
when installing CB 20.03 (bundled with mingw).

Nevertheless I did
Settings / Debugger / Reset defaults.
When I click on it, always a message pops up
(see attachment).
But after that...tah-tah...

Debugging works!

Maybe it's not worth investigating what has happened.
But maybe that error message is of some interest (although I don't mind).
Help / Re: Debug windows will not stay visible - Windows 10
« Last post by falams on July 05, 2020, 07:21:53 am »
It is. I had to switch to Ubuntu though because win10 couldn't have a fully dark theme. But yes, the nightly is fully functional on windows 10 without any of the bugs I mentioned and worked perfectly for me :-)

Hey man, this program is pretty nice dude. I used it years back in my 20's around ~2005 (I'm old now, in my 40's), but I don't remember it being this good. I'm not sure why it's not more popular, so if there's anything I can do to help it's popularity let me know. I mean it comes up on search engines now, so don't get me wrong there, but search results are now flooded with VSCode/Atom or other Electron based IDE's. I use VSCode for only as it's kind of the only go to in "easy" embedded, but people are doing full on C++ projects in that as well, which it is crazy slow at... crazy slow.

Maybe a kickstarter'ish thingy going towards advertising or something, I guess it depends on just how popular you want it.

But yeh man, THANK YOU!
Pages: 1 2 3 4 5 6 [7] 8 9 10