Recent Posts

Pages: 1 2 3 4 5 [6] 7 8 9 10
51
Help / Re: Why does the code editor window close after saving a file?
« Last post by Pecan on April 17, 2026, 07:25:46 pm »
You have only one file open. If the only file open is closed, that's what happens. The tab notebook closes also. So it looks like something has overridden the save function with a close function instead.
Codeblocks saves modified files if they are closed. But it usually asks first to do so.

I agree that this is entirely peculiar, never reported before, and I can't re-create it.
Are you saving the file with the drop down menu, or using a key combo?
Have there been any modification/overrides made to the keyboard?

Show us an image where you have two files open, then modify/save just one of them. What does that look like?
52
Help / Re: Adding additional compiler
« Last post by Miguel Gimenez on April 17, 2026, 11:35:17 am »
Spam reported to moderator.
53
Help / Re: Adding additional compiler
« Last post by PolyTrackk on April 17, 2026, 11:31:10 am »
That sounds incredibly frustrating, especially since you already tried a full reinstall to get everything working. I ran into a similar snag with older MinGW builds on XP where the Fortran binaries were stripped out of the default "everything" bundle to save space. PolyTrack You'll likely need to download a standalone version of gfortran-4.4.0 (or similar legacy binaries compatible with XP) and manually point Code::Blocks to that folder under Settings > Compiler > Toolchain executables.
54
Help / Re: Why does the code editor window close after saving a file?
« Last post by Miguel Gimenez on April 17, 2026, 09:25:55 am »
This issue has not been reported elsewhere before, and it is very strange. May the destination folder (or file) be write-protected?
55
I'm trying this IDE for the first time (latest version, 25.03), but already I've hit a major problem: every time I save any code file I'm working on, the save is successful but then the editor window closes itself.  Not just the tab for the file saved, but the entire code editor window (all tabs) -- see attachment for an example.

Is this adjustable?  I've sifted through the settings once and didn't find anything obviously relevant.  I also (temporarily) disabled ALL of the extensions, which confirmed only that it isn't extension related (the underlying issue still happens).

Sure, it is technically a "minor" issue but this is such an obvious UX breaker I simply can not negotiate.  If it's a bug then fine, but in the meantime I am already continuing my search for a (different) code editor.
56
Delayed profile spammer reported to moderator.
57
Using Code::Blocks / Re: OpenCV error in code::blocks
« Last post by stahta01 on April 14, 2026, 11:32:20 pm »
Rereading your message implies that the error is during the wizard.

Right click on the wizard and you can edit it.

You need to state what are the names and path to the DLLs and DDL import libs:

I edited the wizard for me by removing [_T("\\libopencv_core") +].

Code
        local test_release_lib_file = lib_nomacro + _T("\\libopencv_core") + VersionString + _T(".dll.a");
        local test_debug_lib_file = lib_nomacro + _T("\\libopencv_core") + VersionString + _T("d.dll.a");

But that was because the import library did not have the version in it.

Tim S.
58
Using Code::Blocks / Re: OpenCV error in code::blocks
« Last post by stahta01 on April 14, 2026, 10:40:47 pm »
Something to try is
Project -> Build Settings
Select the project in left hand window
Linker Settings
Then remove the version variable of "CV_VERSION" also remove the "$" sign and braces before and after.

I then got an error I did not understand.

Tim S.
59
Using Code::Blocks / Re: OpenCV error in code::blocks
« Last post by Miguel Gimenez on April 14, 2026, 06:38:43 pm »
Did you fix it in the project or only in the post?
60
Using Code::Blocks / Re: OpenCV error in code::blocks
« Last post by jhongramaticus on April 14, 2026, 04:24:10 pm »
Fixed, thank you
Pages: 1 2 3 4 5 [6] 7 8 9 10