![]() |
How to use MinGW?
Today I get the MinGW full pack. I now know how to compile a single .cpp source but when I try to use makefiles and type the command "make" it return the massege:
Code:
'make' is not recognized as an |
Re: How to use MinGW?
Install MSYS and use it with MinGW. It has make in it.
|
Re: How to use MinGW?
Quote:
|
Re: How to use MinGW?
Yea but I have downloaded the full pack ~50mb for Windows. And in this pack there is not any kind of make.exe file even mingw32-make.exe was not there. Rick had gived to me a link to download mingw32-make.exe but I wonder why this has not be included in ot the this "Full Pack"?
|
Re: How to use MinGW?
Use MSYS. Trust me.
|
Re: How to use MinGW?
I'd recommend this one for HL stuff:
http://prdownloads.sourceforge.net/m...1.exe?download and using MSYS is also a good idea, but you will need to know some UNIX basics. |
Re: How to use MinGW?
I have heard MinGW's stock make sucks. MSYS has a better one built in.
|
Re: How to use MinGW?
OK now I have anoder problem...
All it compile OK but when I try the EPB in game it just crash but if I use it as metamod plugin it work OK. I think that there is some problem with the .def file. Here the makefile: Quote:
Quote:
Quote:
|
Re: How to use MinGW?
You'll need this version for non-Metamod HL stuff:
http://prdownloads.sourceforge.net/m...1.exe?download or, use the method which the Metamod-p is using. But this will make your DLL file much bigger. |
Re: How to use MinGW?
Thanks but I wonder why with version 4.1 it crash?
|
Re: How to use MinGW?
From the i386pe.merge file of Metamod-p:
/* Special ld script needed, because HL engine does some PE section checking on loaded gamedlls. */ /* These checks fail and segfault HL process if default ld script is used! */ |
Re: How to use MinGW?
I've finally decided to give mingw32 a go after a long break from it (cygwin's just bugging me right now, so much won't work nicely with it). Will see if I run into any problems.
|
Re: How to use MinGW?
What problems do you have with cygwin that won't arise with mingw?
I've modified the makefile of epb to compile under cygwin with no special tricks, just a few flags have to be added. Markus |
Re: How to use MinGW?
There are various libraries that compile with -mno-cygwin, and others that don't, and mixing the two can cause problems, especially when something uses iostream it seems. I just got annoyed at sifting through makefiles for ages, modifying bits of source code, changing #ifdef's to account for cygwin, etc etc, so I've swapped to mingw for now.
|
All times are GMT +2. The time now is 14:14. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.