Recent Posts

Pages: 1 [2] 3 4 5 6 7 ... 10
11
Help / Re: Fresh install of codeblocks seems to have messed up paths in some projects
« Last post by Vigor on March 26, 2024, 09:31:02 pm »
Version          : 20.03-r11983
is 11983 the nightly build?
My previous version was downloaded on Jan 20, 2022 - codeblocks-20.03-setup.exe

I checked the nightly build number before downloading the new version (on march 24, 2024) and I thought it started with a 2, as in 20000.   Would that mean I didn't successfully reinstall?

Does this mean I need to download wxwigits, winwm10.dll, and wxmsw28u_gcc_cb.dll and other things mentioned in the nightly build?

I also didn't "save" the download I just "opened" it(iirc, + it isn't in my downloads folder).   At that point i just accepted default options.

I got my updated version of codeblocks from this link
https://www.codeblocks.org/downloads/binaries/
and I think i chose the codeblocks-20.03mingw-setup.exe

i'm not positive of that.  I know I have a mingw folder where iirc i put my opengl.a files so it looks like that would be the right download.  c:\program files\codeblocks\mingw\include.   If not it was the codeblocks-20.03-setup.exe.
12
Which nightly build of Code::Blocks did you install?

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

Tim S.
13
The dll you need is in the bin folder under the MinGW installation folder.
14
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.
15
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.
16
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.
17
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.
18
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.
19
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
20
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.
Pages: 1 [2] 3 4 5 6 7 ... 10