Opened 8 years ago

Last modified 8 years ago

#6590 closed defect

compiling GDAL with external qhull lib fails in Windows — at Version 1

Reported by: dsogari Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: unspecified
Severity: normal Keywords: qhull compilation
Cc:

Description (last modified by dsogari)

I tried to compile GDAL with MinGW on Windwows using an external qhull library and it gave compilation errors in a few source files. I did not save the compile log to show you the error messages, sorry.

What I know for sure is that qhull has a header file called io.h, which is also distributed as part of mingw. In my case, it is located under <prefix>/x86_64-w64-mingw32/include, for 64-bit, and <prefix>/i686-w64-mingw32/include, for 32-bit).

This effectively makes the compilation fail, as the io.h file from qhull is chosen to be included instead and it does not define some symbols needed by GDAL.

Change History (1)

comment:1 by dsogari, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.