Hi, 2014-10-13 13:33 GMT+02:00 Martin Landa <[email protected]>: > g++ -I /usr/local/include -L /usr/local/lib -lgdal main.cpp > > Error: > > undefined reference to GDALAllRegister
solved, g++ mail.cpp -I /usr/local/include -L /usr/local/lib -lgdal works (so `-l` after cpp file). Strangely g++ 4.7 works on both commands. Only g++ 4.8 fails... Huh, sorry for the noise, Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
