<div dir="ltr">pretty interesting - it would be nice to incorporate the gdal fortran bindings inside the gdal source!<div><br></div><div>however, it is distributed under the GNU Lesser General Public License, so I think it's not possible...</div>
<div><br></div><div>Cheers</div><div>Etienne</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 13, 2014 at 10:23 AM, Fabian Niggemann <span dir="ltr"><<a href="mailto:niggemann@vista-geo.de" target="_blank">niggemann@vista-geo.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi,
<br>
<br>
I´m trying to link gdal to fortrangis to use the gdal fortran
interface on Ubuntu 12.04. I´ve installed gdal Version 1.11. and
installed the fortrangis package with disabled shared libraries.
<br>
If I try now to compile a fortran program(e.g. Command: ifort -I <i><span>/</span>usr/local/include<span>/</span></i> gdal_test.F90
/usr/local/lib/libfortranc.a /usr/local/lib/libshp.a
/usr/local/lib/libfortrangis.a /usr/local/lib/libgdal.a) I get a lot
of error messages stating undefined references:<br>
<br>
/usr/local/lib/libgdal.a(genbindataset.o): In function
`_Alloc_hider':<br>
/usr/include/c++/4.7/bits/basic_string.h:272: undefined reference to
`std::string::_Rep::_S_empty_rep_storage'<br>
/usr/local/lib/libgdal.a(genbindataset.o): In function
`std::string::_Rep::_M_dispose(std::allocator<char>
const&)':<br>
/usr/include/c++/4.7/bits/basic_string.h:237: undefined reference to
`std::string::_Rep::_S_empty_rep_storage'<br>
/usr/include/c++/4.7/bits/basic_string.h:246: undefined reference to
`std::string::_Rep::_M_destroy(std::allocator<char>
const&)'<br>
/usr/local/lib/libgdal.a(genbindataset.o): In function
`GDALRegister_GenBin':<br>
...<br>
<br>
<br>
Any help would be appreciated.
<br>
<br>
Regards,
<br>
Fabian
<br>
<pre cols="72">--
VISTA Geowissenschaftliche Fernerkundung GmbH
Administration: Anton-Ferstl-Str.11, D-82234 Wessling
Office: Gabelsbergerstr.51, D-80333 München
Tel. <a href="tel:%2B49%2089%20287%20794%2059" value="+498928779459" target="_blank">+49 89 287 794 59</a> Fax <a href="tel:%2B49%2089%20523%2089%20804" value="+498952389804" target="_blank">+49 89 523 89 804</a>
eMail: <a href="mailto:niggemann@vista-geo.de" target="_blank">niggemann@vista-geo.de</a>; web: <a href="http://www.vista-geo.de" target="_blank">www.vista-geo.de</a>
Amtsgericht München HRB 129776
Sitz der Gesellschaft: Wessling
Geschäftsführung: Dr. Heike Bach
Bankverbindung: Hypo Vereinsbank München
BLZ 70020270 Konto 39042770
USt-IDNr. DE812904252
St.Nr. 11714150105
</pre>
</div>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br></div>