[gdal-dev] fail to build gdal 1.9 with minGW

chenliang wang hi181904665 at msn.com
Thu Mar 29 03:30:07 EDT 2012


hi:
I failed to build gdal 1.9 with minGW. I modified 'cpl_multiproc.h' with
the patch.But there are still errors with build:cpl_multiproc.cpp:73:
undefined reference to `CPLCreateOrAcquireMutex' .Pls help me out.Thanks!
-------------------------------------------------------------------------------
#if defined(WIN32) && !defined(CPL_MULTIPROC_STUB)
# define CPL_MULTIPROC_WIN32
/* MinGW can have pthread support, so disable it to avoid issues */
/* in cpl_multiproc.cpp */
# undef CPL_MULTIPROC_PTHREAD
#endif
------------------------------------------------------------------------------------


Chen-liang Wang


More information about the gdal-dev mailing list