71
General (but related to Code::Blocks) / Re: Generate a file '*_linux.cbp' to '*_win.cbp' or vice versa
« Last post by Miguel Gimenez on April 22, 2026, 11:44:29 am »Profile spammer olenna reported to moderator.
The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .
Go to Settings -> Compiler, select the "Toolchain executables" tab and fill the controls with your compiler's location (use where gcc.exe in the cmd prompt) and program's names.
if (!cbSaveToFile(m_Filename, m_pControl->GetText(), GetEncoding(), GetUseBom(), robustSave))
{
wxString msg;
msg.Printf(_("File %s could not be saved..."), GetFilename().c_str());
cbMessageBox(msg, _("Error saving file"), wxICON_ERROR);
return false; // failed; file is read-only?
}
Where can I download the source causing the problem.
I want to re-create the problem while running CB under the debugger.
Also, are you sure that the Code Completion plugin is disabled?
That wait after saving feels like a timer pop then running some code.
Or a lock on the main gui code being released.
Very suspicious of a bug from last century.
Where did that copy of CodeBlocks come from?
Name : Code::Blocks
Version : 25.03-r13644
SDK Version : 2.25.0
Scintilla Version : 3.7.5
Author : The Code::Blocks Team
E-mail : info@codeblocks.org
Website : https://www.codeblocks.org
OS : Windows 10 (build 19045), 64-bit edition
Scaling factor : 1.000000
Detected scaling factor : 1.000000
Display PPI : 96x96
Display count : 1
Display 0 (\\.\DISPLAY1): XY=[0,0]; Size=[1366,768]; Primary
wxWidgets Library (wxMSW port)
Version 3.2.7 (Unicode: wchar_t, debug level: 1),
compiled at Mar 25 2025 17:16:27
Runtime version of toolkit used is 10.0.19045.
There are no active plugins
Please start CodeBlocks with the '/d' parameter to create the debug log.
After the windows disappears please show us the data written to the CodeBlocks log.
Click on the "CodeBlocks" log tab, place the mouse in the log window and scroll upward to see the data.
Right-click and choose "copy contents to clipboard".
Paste that data to use between code tags (The # icon above a reply box).
Do the same with the "Code::Blocks debug" tab and window.
We'd like to see what is being logged when you save a file.
Thanks for your reporting and patience.
wxDir::GetAllFiles 0.824000 s
makePathsRelativeIfNeeded 0.807000 s
filterOnWildcards 0.318000 s
Loading directories took 2.034000 s
Adding took 10.537000 s
Loading globs took: 12.699000 s
ProjectManagerUI::RebuildTree took 0.577 seconds
Rebuilding tree took: 0.578000 sOpening C:\Users\strat_000\Projects\Gitlab\gimp-master\GIMP 3.dev\GIMP 3.dev.cbp
wxDir::GetAllFiles 0.782000 s
makePathsRelativeIfNeeded 0.836000 s
filterOnWildcards 0.321000 s
Loading directories took 1.949000 s
Adding took 11.026000 s
Done.
cbProject::Open() took: 42.479 seconds.
wxDir::GetAllFiles 0.811000 s
makePathsRelativeIfNeeded 0.831000 s
filterOnWildcards 0.325000 s
Loading directories took 1.984000 s
Adding took 11.021000 s
ProjectManagerUI::RebuildTree took 0.560 seconds
ProjectManager::SetProject() took: 13.670 seconds.
ProjectManager::LoadProject took: 56.614 seconds.
wxDir::GetAllFiles 0.818000 s
makePathsRelativeIfNeeded 0.829000 s
filterOnWildcards 0.318000 s
Loading directories took 1.983000 s
Adding took 10.544000 s
Loading globs took: 12.651000 s
ProjectManagerUI::RebuildTree took 0.629 seconds
Rebuilding tree took: 0.631000 sLoading project file...
Parsing project file...
Loading target Debug
Loading target Release
Loading project files...
3653 files loaded
Done loading project in 10547 ms
Project's base path: C:\Users\strat_000\Projects\Gitlab\gimp-master\GIMP 3.dev\
Project's common toplevel path: C:\Users\strat_000\Projects\Gitlab\gimp-master\
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Windows Western European (CP 1252) (ID: 33)
Conversion succeeded using wxEncodingConverter (buffer size = 12559, converted size = 12563.
This issue has not been reported elsewhere before, and it is very strange. May the destination folder (or file) be write-protected?
Are you saving the file with the drop down menu, or using a key combo?I get the same result either way -- save is successful, then the editor window closes.
Have there been any modification/overrides made to the keyboard?