Where does gcc_dll come from?

General questions regarding the usage of CodeLite
User avatar
ColleenKobe
CodeLite Expert
Posts: 130
Joined: Wed Mar 30, 2016 4:31 pm
Genuine User: Yes
IDE Question: C++
Contact:

Where does gcc_dll come from?

Post 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

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Where does gcc_dll come from?

Post 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

Make sure you have read the HOW TO POST thread
User avatar
ColleenKobe
CodeLite Expert
Posts: 130
Joined: Wed Mar 30, 2016 4:31 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Where does gcc_dll come from?

Post 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

Post Reply