Re: [gdal-dev] Qt5.2.1+GDAL1.11+VC10: ogrsf_frmts.h compile errors

2014-05-14 Thread Even Rouault
Le mardi 13 mai 2014 16:44:03, David Tran a écrit : > Hi > > test.pro > > > TEMPLATE = app > > TARGET = test > > DEPENDPATH += $$PWD/src $$PWD/include > > INCLUDEPATH += $$PWD/src $$PWD/include > > SOURCES += src/main.cpp > > main.cpp > > > //#include "ogr_api.h" > > #include "ogrsf_frmts.h" >

[gdal-dev] Qt5.2.1+GDAL1.11+VC10: ogrsf_frmts.h compile errors

2014-05-13 Thread David Tran
Hi test.pro TEMPLATE = app TARGET = test DEPENDPATH += $$PWD/src $$PWD/include INCLUDEPATH += $$PWD/src $$PWD/include SOURCES += src/main.cpp main.cpp //#include "ogr_api.h" #include "ogrsf_frmts.h" int main() {} It compiles fine with #include "ogr_api.h", but with #include "ogrsf_frmts.h"