Recent Posts

Pages: 1 2 [3] 4 5 6 7 8 ... 10
21
General (but related to Code::Blocks) / What parts should I uninstall
« Last post by Puffined on April 24, 2025, 06:57:56 am »
All, I just upgraded from 16 to 20 (uninstalled 16 and installed 20) and the install size increased by almost 400Meg?? Where does this huge increase in size come from?

The 16 installer with MinGW is 83,783,938 bytes, for 20 it is  172,470,285 bytes that is nearly double the size compressed. I use Code::Blocks on a VM guest where space is at a premium.

What parts should I uninstall (the plugins?) to reduce the size of the install?
22
Using Code::Blocks / Re: ClangD causing cc1plus.exe error pop up dialog on Windows
« Last post by Wkerry on April 24, 2025, 06:08:27 am »
If I rename the C:\msys64\mingw32 directory to C:\msys64\mingw32.test I do not get the error pop up.
23
Using Code::Blocks / Re: ClangD causing cc1plus.exe error pop up dialog on Windows
« Last post by Wkerry on April 24, 2025, 06:05:37 am »
I am not mixing MINGW64 and CLANG64. Clangd client is doing the "mixing", but I cannot figure out the mixing it is doing.

I have the compiler default set to GNU GCC MSYS MingW64 with the install directory set to C:\msys64\mingw64

The clangd plugin is configured for the clangd exe as:
    C:\msys64\mingw64\bin\clangd.exe

The --version shows that the gcc.exe and clangd.exe work correctly if they are used, so some other gcc.exe or clangd.exe is being called. I will rename the MSYS\*.32 directories and see if this helps.
24
Using Code::Blocks / Re: ClangD causing cc1plus.exe error pop up dialog on Windows
« Last post by stahta01 on April 24, 2025, 05:30:20 am »
PLEASE do not mix two mingw environments under MSys2 and think it will work!!!!

Code
C:\msys64\clang64\bin>C:\msys64\mingw64\bin\clangd.exe --version
Code
C:\msys64\mingw64\bin\gcc.exe --version

Mixing MINGW64 and CLANG64 will not work very well and will result in weird errors!!!!!

Tim S.
25
Using Code::Blocks / Re: ClangD causing cc1plus.exe error pop up dialog on Windows
« Last post by stahta01 on April 24, 2025, 05:23:40 am »
I would try installing the dll that it claims to be missing.

Code
pacman -S mingw-w64-x86_64-mpc
26
Using Code::Blocks / ClangD causing cc1plus.exe error pop up dialog on Windows
« Last post by Wkerry on April 24, 2025, 04:42:48 am »
Finally got some time to look into the pop up error below that I ported in March and found that if I disable the clangd plugin the error does to occur, but I cannot get the

---------------------------
cc1plus.exe - System Error
---------------------------
The code execution cannot proceed because libmpc-3.dll was not found. Reinstalling the program may fix this problem.
---------------------------
OK   
---------------------------

I have the clangd exe configured as:
C:\msys64\mingw64\bin\clangd.exe

The following command
C:\msys64\clang64\bin>C:\msys64\mingw64\bin\clangd.exe --version
clangd version 20.1.2
Features: windows
Platform: x86_64-w64-windows-gnu

I have the compiler default set to GNU GCC MSYS MingW64 with the install directory set to C:\msys64\mingw64

I get the following gcc version:
C:\msys64\mingw64\bin\gcc.exe --version
gcc.exe (Rev3, Built by MSYS2 project) 14.2.0
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


There is nothing logged in the debug log even after adding the following parameters when I start C::B from the C:\Program Files\CodeBlocks directory
codeblocks.exe /d /v

I am using C::B 2025.3 64 bit without the Winlib compiler

Any ideas where to look or what to check or what to change to get rid of the error dialog?
27
Help / Re: Most download links for CB 25.03 not working
« Last post by gtafan on April 23, 2025, 04:34:03 pm »
For everybody having problem downloading 32 bit Windows version here the link:
https://sourceforge.net/projects/codeblocks/files/Binaries/25.03/Windows/32bit/
Thanks to stahta01
28
Help / Re: Problem compiling 32 bit application with 64 bit Code::Blocks
« Last post by gtafan on April 23, 2025, 04:31:45 pm »
https://sourceforge.net/projects/codeblocks/files/Binaries/25.03/Windows/32bit/
Thanks, that was really useful. 32 bit version has the same huge size as 64 bit one, but that seems to be the only disadvantage of the new CB version.
29
Development / Re: Custom variables
« Last post by Miguel Gimenez on April 22, 2025, 06:47:05 pm »
If you are referring to "Custom variables" in "Project build options", look at CompilerOptionsDlg::DoFillVars() and other methods involving "lstVars".
30
Help / Re: Install prohibited for codeblocks-25.03mingw-setup.exe
« Last post by stahta01 on April 21, 2025, 12:08:34 pm »
The file is part of the MinGW compiler, so you would have to ask on the relevant forum/page at https://www.mingw-w64.org/support

The 64 bit mingw gcc is from https://winlibs.com/

Tim S.
Pages: 1 2 [3] 4 5 6 7 8 ... 10