Author Topic: libgcc_s_seh-1.dll  (Read 258 times)

Offline DanShelley

  • Single posting newcomer
  • *
  • Posts: 1
libgcc_s_seh-1.dll
« on: Yesterday at 08:24:42 pm »
I installed codeblocks 25.03 on my windows 10 64bit machine.
I made a test project and it runs find to show   hello world.
When I use explore  D:\C_Plus\test\bin\Debug\test.exe and double click
I get this error message cannot find  libgcc_s_seh-1.dll

I think path must not be correct.
Any ideas?

Offline everSome

  • Multiple posting newcomer
  • *
  • Posts: 62
Re: libgcc_s_seh-1.dll
« Reply #1 on: Today at 02:43:20 am »
I addition to libgcc_s_seh-1.dll, many(all?) g++ compiled programs also bind to libstdc++-6.dll.
You can also just copy them from wherever g++ is located into your D:\C_Plus\test\bin\Debug directory.

Online gd_on

  • Lives here!
  • ****
  • Posts: 860
Re: libgcc_s_seh-1.dll
« Reply #2 on: Today at 01:20:28 pm »
You can also add the path to this libgcc_s_seh-1.dll, and many other dll in the bin sub folder of your compiler, to your PATH variable, the system one if you are admin or simply the user one.
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.3, Msys2 Compilers 16.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).