Page 1 of 1

Where does gcc_dll come from?

Posted: Wed Jul 26, 2023 5:21 pm
by ColleenKobe

I know this is more of a MinGW question, but I can't find a MinGW forum. I hope you will answer this question anyway.

I am having problems getting the MinGW code I downloaded from https://sourceforge.net/projects/MinGW/ to build my C program.

My platform is Windows 10, 64-bit.
I'm using CodeLite v17.4.0 and wxCrafter v17.4.0.

There are three projects in my CodeLite workspace. The first two are C files. The third is C++.

Here are the error messages I get when I build:

Code: Select all

C:/MinGW/bin/MinGW32-make.exe -j4 -e -f  "Background.mk"  clean
----------Cleaning project:[ Background - Debug ]----------
rm -f -r ./Debug/
C:/MinGW/bin/MinGW32-make.exe -j4 -e -f  "Behind_the_Scenes.mk"  clean
----------Cleaning project:[ Behind_the_Scenes - Debug ]----------
=== build completed successfully (0 errors, 0 warnings) ===
could not open configuration file: C:/MinGW/lib/gcc_dll/mswud/build.cfg
rm -f -r ./Debug/
C:/MinGW/bin/MinGW32-make.exe -j4 -e -f  "Main.mk"  clean
----------Cleaning project:[ Main - Debug ]----------
=== build completed successfully (0 errors, 0 warnings) ===
could not open configuration file: C:/MinGW/lib/gcc_dll/mswud/build.cfg
rm -f -r ./Debug/
=== build completed successfully (0 errors, 0 warnings) ===

The error messages are correct: there is no C:/MinGW/lib/gcc_dll/mswud/build.cfg file. For that matter, there is no gcc_dll directory anywhere under C:\MinGW.

So, since it doesn't seem to come from the install download, where does the gcc_dll directory come from?

Or how do I make one?

Thanks!

Colleen


Re: Where does gcc_dll come from?

Posted: Fri Jul 28, 2023 5:28 pm
by eranif

gcc_dll are usually from wxWidgets builds.
I am not sure where you are downloading your binaries from, but I recommend using our recommendation:

Setup your build environment on Windows
build wxWidgets on Windows


Re: Where does gcc_dll come from?

Posted: Mon Jul 31, 2023 8:47 pm
by ColleenKobe

I have installed MSYS2 per the directions in https://www.msys2.org/#installation. I named the new directory c:\msys64. I did all nine steps. Now how do I tell if all these msys executions were executed properly?

I do have a new folder C:\msys64. In it are the following directories. BUT ALL THESE DIRECTORIES ARE EMPTY. Are they supposed to be?

C:\msys64\mingw32\bin
C:\msys64\mingw32\etc
C:\msys64\mingw32\include
C:\msys64\mingw32\lib
C:\msys64\mingw32\share
C:\msys64\mingw64\bin
C:\msys64\mingw64\etc
C:\msys64\mingw64\include
C:\msys64\mingw64\lib
C:\msys64\mingw64\share

Also, I've done the directions in https://docs.codelite.org/getting_started/windows/ and also done all three commands in https://docs.codelite.org/build/build_w ... s/#windows. But I don't have a new C:\MinGW directory. Am I supposed to? Where are the new MinGW files supposed to be?

And I don't have a new C:\wxWidgets directory, either. Where are the C:\wxWidgets files supposed to be?

Also, I've closed my msys window. How do I start a new one?

I know I keep asking a lot of questions but this is all new to me. The last time I had to load MinGW and wxWidgets (in 2018), I didn't use msys because my program manager told me not to. But he never said why not and now I'm three weeks behind schedule trying to get CodeLite to run again. So I'm trying the msys route anyway.

Colleen