Recent Posts

Pages: 1 [2] 3 4 5 6 7 ... 10
11
Which nightly build of Code::Blocks did you install?

https://forums.codeblocks.org/index.php/board,20.0.html

Tim S.
12
The dll you need is in the bin folder under the MinGW installation folder.
13
General (but related to Code::Blocks) / Re: C++ Compiler Issues on Code::Blocks
« Last post by Grit Clef on March 26, 2024, 11:22:25 am »
How did you install CodeBlocks? Wherever you installed it, you can always set up a correct compiler in Settings->Compiler->Toolchain Executable.
14
General (but related to Code::Blocks) / C++ Compiler Issues on Code::Blocks
« Last post by dorothykeas on March 26, 2024, 08:18:21 am »
Hello,
I'm new to Code::Blocks.
When I tried to launch the exe file in the bin folder it would say "libgcc_s_seh-1.dll was not found"minecraftle game, so I downloaded the dll from a sketchy site and put it in the same folder as the executable, that did not work. So, then I went in control panel, uninstalled codeblocks from there, and then deleted the files in my programx86 folder, and now with what I think is a new fresh install of codeblocks, I am having new issues. Whenever I try to build and run my code it won't and says in the build log tab "Tried to run compiler executable 'C:\MinGW/bin/gcc.exe' but failed!" I am currently trying to figure out how to fix this problem, but any help would be greatly appreciated, I have to have this turned in in 7 hours from now.
15
Plugins development / Re: Code completion using LSP and clangd
« Last post by christo on March 26, 2024, 04:57:47 am »
Fixed Head rev. 13494
Thanks for the reports.
It works now, thank you Pecan for the quick response as always.
16
Plugins development / Re: Code completion using LSP and clangd
« Last post by Pecan on March 26, 2024, 02:01:45 am »
Thanks Pecan.

I face another issue now - regarding errors with fixes in different line, like errors due to missing includes,  fix is not applied. It shows "No available fixes found" on applying. In Parser::OnRequestCodeActionApply() , there is a check if the fix is in same line that of the line causing the error. This might be causing the issue.

Fixed Head rev. 13494
Thanks for the reports.
17
Help / Fresh install of codeblocks seems to have messed up paths in some projects
« Last post by Vigor on March 25, 2024, 11:25:05 pm »
I installed codeblocks 3 years ago but had an occasional bug that had been reported and now fixed so I reinstalled codeblocks.

Now some of my projects aren't working.  The really strange thing is that some, which are very similar still are.

The projects that aren't working are failing to find data files (images mostly) which are coded to have paths that lead from where the project file is.   From where the project file is, the executable is in /bin/debug/???.exe

I can also move the .exe to the folder the project file is in and everything works correctly.   I don't put the exe where it is, it shows up there after being compiled and, up until today, it worked fine from its compiled location or in the folder the project-workspace is in.

I have looked through project settings/compiler settings/etc and even made changes hoping to correct things but I'm afraid I will break other things if I keep trying to fix it on my own.

of 5 projects.
1. most used - doesn't get any data files or images loaded but works perfectly if I move the exe into the folder the project is in and execute it from file viewer
2. old version of the most used - works completely as if nothing happened
3. 2nd most used project - which edits image files.  It isn't loading data/image files either.
4. project that doesn't use images at all but does use data files appears to be working correctly
5. a project I wrote months ago and haven't touched since, which uses one large image file is not loading the image.   I had no reason to change it after it was working properly.

so 2 projects still work 3 don't

the  "bug" I was trying to fix by updating my codeblocks was one that told me the project was compiling when I tried to shut down codeblocks (but it wasn't compiling)  I suspect that could be the common denominator.   I might have gotten that bug on each of the programs that isn't working now the last time I had them open.  I used task manager to force quit codeblocks whenever I got the bug.   But then if i restarted it my programs worked normally before.   I got the bug the last time I tried to shut that program down.  Then I updated codeblocks.

this is the bug I was trying to fix
https://forums.codeblocks.org/index.php?topic=23952.0

Perhaps I should have put this in a bug reports section but I'm hoping there is a simple fix.
18
Plugins development / Re: Code completion using LSP and clangd
« Last post by Pecan on March 25, 2024, 06:44:55 pm »
Yes, I use Clangd 18 and got the same problem, too.

Yep, my assumption error. The error is from line 2 but the fix is to line 0, and my code is looking for a fix to line 2.
Wups
19
Help / Re: Advanced compiler option: write $link object to a file
« Last post by Miguel Gimenez on March 25, 2024, 03:43:55 pm »
Use response files.
20
Umm, that was clearly not what I was asking, but okay.
Seems like it was indeed silly of me to expect any understanding or at least respect for my personal preference, or any effort to read for that matter.
..and I never said I wouldn't give this new nightly build a try. It just feels awfully like a one-way communication and it is honestly quite disturbing to see in a place meant to gather actual programmers. Oh well, have a nice day I guess. Not going to participate further.
Pages: 1 [2] 3 4 5 6 7 ... 10