My "solution" to this was to:
$ cd src
$ qmake-qt4 src.pro GDAL=1
$ cd ..
$ make
But I agree, this should be documented somewhere.
Richard
> To: [email protected]
> From: [email protected]
> Date: Wed, 17 Mar 2010 11:28:12 +0000
> Subject: Re: [Merkaartor] Compilation fails on Debian
>
> 0> In article <[email protected]>,
> 0> Toby Speight <URL:mailto:[email protected]> ("Toby") wrote:
>
> Toby> I'm seeing the same compile failure with
> "ImportExport/ImportExportSHP.cpp";
> Toby> I tried installing libgdal1-dev, but that didn't seem to help.
> Toby>
> Toby> Adding "-I/usr/include/gdal" to INCPATH in src/Makefile fixes it, but I
> Toby> don't the Right Way to make this happen.
>
> Spoke too soon: I also needed to add "-lgdal1.6.0" to LIBS.
>
> With those two additions, I get a nice working Merkaartor again. :-)
>
> _______________________________________________
> Merkaartor mailing list
> [email protected]
> http://lists.openstreetmap.org/listinfo/merkaartor
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/210850552/direct/01/_______________________________________________
Merkaartor mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/merkaartor