Recent Posts

Pages: 1 ... 5 6 7 8 9 [10]
91
Plugins development / CC NONPCH issue/patch for wxWidgets 3.3
« Last post by stahta01 on April 24, 2025, 05:07:34 pm »
Code
Subject: codecompletion: Add include of "wx/xrc/xmlres.h" for nonPCH builds

---
 src/plugins/codecompletion/parsemanager.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/codecompletion/parsemanager.cpp b/src/plugins/codecompletion/parsemanager.cpp
index 281fb5142..21d3e7b7e 100644
--- a/src/plugins/codecompletion/parsemanager.cpp
+++ b/src/plugins/codecompletion/parsemanager.cpp
@@ -16,6 +16,7 @@
     #include <wx/log.h> // for wxSafeShowMessage()
     #include <wx/regex.h>
     #include <wx/wfstream.h>
+    #include <wx/xrc/xmlres.h>
 
     #include <cbauibook.h>
     #include <cbeditor.h>
--
92
General (but related to Code::Blocks) / Re: What can i do?
« Last post by stahta01 on April 24, 2025, 04:52:44 pm »
With out more information it is unlikely someone will help you!

1. Code::Blocks version
2. Operating System (OS)
3. OS Version
4. Compiler name
5. Compiler version
6. Programming Language in code with issue C or C++

Edit: Even with that information; I will not be able to help you; but, with that info someone likely will be able to help you.

Tim S.
93
Using Code::Blocks / Re: ClangD causing cc1plus.exe error pop up dialog on Windows
« Last post by stahta01 on April 24, 2025, 03:52:02 pm »
Somewhere there is a setting for which clangd is used by Code::Blocks check that is correct.

Edit: Best guess "settings->Editor"

To devs: Feature request that the setting of "$(TARGET_COMPILER_DIR)\bin\clangd.exe" works for clangd plugin; the clang plugin already has the code; but, the value  of $(TARGET_COMPILER_DIR) is not know at the point in time; might not be possible for it to be known

Edit2: Looks like code is too complex for me to understand ClgdCompletion::OnAppStartupDone

Tim S.
94
Using Code::Blocks / Re: ClangD causing cc1plus.exe error pop up dialog on Windows
« Last post by gd_on on April 24, 2025, 12:11:16 pm »
Your installation look strange. If your rename solves the problem, it's probably because you use something inside mingw32, so you mix 32 and 64 bits exes. Check the paths and their order.
I use also msys2 distribution, also with clangd which is inside c:\msys64\mingw64\bin (as installed by mingw-w64-x86_64-clang-tools-extra msys2 package). As I use only 64 bits, all folders like C:\msys64\mingw32, C:\msys64\clang32 or C:\msys64\clang64 contain only empty folders, so for me, no way to use something there.
95
General (but related to Code::Blocks) / What can i do?
« Last post by Toosed04 on April 24, 2025, 09:06:53 am »
Hello,
My autocomplete is not working. It complates char,switch or variable names, but it does not complate functions like scanf printf. What is the problem. I checked my editor setting to activate code completion but it is active. What can i do? Thanks.
96
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?
97
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.
98
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.
99
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.
100
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
Pages: 1 ... 5 6 7 8 9 [10]