#4624 closed defect (fixed)
Compile Error in MinGW/msys build: 'VSILFILE' undeclared
Reported by: | JamesCTilton | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | 1.9.0 |
Severity: | normal | Keywords: | MinGW/msys build |
Cc: | Ari Jolma |
Description
I apologize if this not the right venue for this question.
Even after following the GDAL wiki hints in building GDAL with MinGW, I encountered the following compile error:
libtool: compile: gcc -c -I../../port -g -O2 -Wall -Wdeclaration-after-statement -DOGR_ENABLED -I/usr/local/include -I/home/jtilton/Downloads/gdal-1.9.0/port -DPIXARLOG_SUPPORT -DZIP_SUPPORT -DJPEG_SUPPORT -DOJPEG_SUPPORT -I../../jpeg/libjpeg -DJPEG_DUAL_MODE_8_12 tif_vsi.c -DDLL_EXPORT -DPIC -o ../../o/.libs/tif_vsi.o
tif_vsi.c: In function '_tiffReadProc':
tif_vsi.c:41:38: error: 'VSILFILE' undeclared (first use in this function)
... and several other similar errors
(This error occurred while building in the directory `/home/jtilton/Downloads/gdal-1.9.0/frmts/gtiff/libtiff')
I am looking for advice on how to resolve this compile error.
Thanks.
James C. Tilton
Attachments (1)
Change History (8)
comment:1 by , 12 years ago
Cc: | added |
---|
comment:3 by , 9 years ago
I'm not building on MinGW any more nowadays. I don't know who does. Maybe ask on the list (also for future issues)?
Ari
comment:4 by , 9 years ago
I more recently successfully built GDAL 1.9.1 under MinGW/msys. I don't have a specific resolution of this particular reported error. However, if anyone wants a set of notes on how I went about building GDAL 1.9.1, they can send me a request via email to James.C.Tilton@….
by , 9 years ago
Attachment: | 64bitCleanBuildNotes.txt added |
---|
Notes on GDAL 1.9.1 build under MinGW/msys
comment:6 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Excellent notes. The title of this ticket is Compile Error in MinGW/msys build and it is about GDAL 1.9.0. The CleanBuildNotes are for GDAL 1.9.1 and end result is success. I am closing the ticket as fixed.
comment:7 by , 9 years ago
James,
Could you put the notes here: http://trac.osgeo.org/gdal/wiki/BuildingWithMinGW and maybe delete the old notes from there.
Ari
CC'ing Ari in case he has some clues