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

David Tran david.tran at hsr.ch
Tue May 13 07:44:03 PDT 2014


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" it has this error log:

http://pastebin.com/8ersPTd4

Why doesn't it compile?


More information about the gdal-dev mailing list