|last updated: 2013-12-21|
Important notice: the most recent versions of the compiler (gcc 4.7.x) seem to be completely unable to create a working GEOS library.
The build process is apparently succesful, but you'll soon discover that the resulting binary code is absolutely unstable and affected by many sudden crashes.|
On the other side the good old gcc 4.6.2 produces rock solid and absolutely safe binaries. You are warned: using this old version seems to be an absolute requirement.
In order to check the actual version you are using, you simply have to execute the following command: gcc --version
First of all, you must download pkg-config.exe
from GTK+ for Windows.|
Then you can simply unzip this downloaded zip-file, and then copy the pkg-config.exe executable into /MinGW/bin
That's not enough: this executable depends on the GLib DLL.
So you must download GLib DLL too, always from GTK+ for Windows.
Once again, you have to unzip this downloaded zip-file, and then copy liglib-2.0-0.dll into /MinGW/bin
You have not yet finished: pkg-config still has an unresolved DLL dependency.
But this time simply performing a trivial copy will suffit. So you must now open an MSYS shell:
cp libintl-8.dll intl.dll
And this time that's really all: now you have pkg-confif properly installed and ready to work.
|< DEFAULT_INCLUDES = -I.|
|> DEFAULT_INCLUDES = -I. -I/usr/local/include|
|< libgeotiff_la_LDFLAGS = -version-info 3:0:1|
|> libgeotiff_la_LDFLAGS = -version-info 3:0:1 -no-undefined|
Configured wxWidgets 3.0.0 for `i686-pc-mingw32'|
Which GUI toolkit should wxWidgets use? msw
Should wxWidgets be compiled into single library? yes
Should wxWidgets be linked as a shared library? no
Should wxWidgets be compiled in Unicode mode? yes (using wchar_t)
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.6 no
wxWidgets 2.8 yes
Which libraries should wxWidgets use?
|near line 44:|
|< #ifdndef _SSIZE_T_DEFINED|
< typedef SSIZE_T ssize_t;
|delete all three rows|
|replace any occurrence of: info_ptr->height as: getHeight(info_ptr)|
|replace any occurrence of: info_ptr->width as: getWidth(info_ptr)|
|replace any occurrence of: info_ptr->bit_depth as: getBitDepth(info_ptr)|
|replace any occurrence of: info_ptr->color_type as: getColorType(info_ptr)|
|near line 108:|
|< FD = mkstemp(FoutTmpName); /* returns filedescriptor */|
|> FD = -1; /* mkstemp(FoutTmpName); */ /* returns filedescriptor */|
|Line 55: replace # FOSSIL_ENABLE_SSL = 1 as: FOSSIL_ENABLE_SSL = 1|
|Line 81: replace ZINCDIR = $(SRCDIR)/../zlib-1.2.6 as: ZINCDIR = /usr/local/include|
|Line 82: replace ZLIBDIR = $(SRCDIR)/../zlib-1.2.6 as: ZLIBDIR = /usr/local/lib|
|Line 89: replace OPENSSLINCDIR = $(SRCDIR)/../openssl-1.0.0g/include as: OPENSSLINCDIR = /usr/local/include|
|Line 90: replace OPENSSLLIBDIR = $(SRCDIR)/../openssl-1.0.0g as: OPENSSLLIBDIR = /usr/local/lib|
|Line 661,662: delete both lines
$(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) -f win32/Makefile.gcc libz.a
|Line 663: delete zlib at the end of the line.|
|last updated: 2013-12-21|