Hello,<br><br>I experience some troubles building perl bindings on MingW.<br>Here is my config :<br><br>Windows XP;<br>MingW 5.1.6 + MSys;<br>Gdal1.6.2 sources from website;<br>ActivePerl 5.10;<br><br>I successfully built gdal library using MingW. Then I build perl bindings :<br>
<br>perl Makefile.pl -> everything looks fine;<br>dmake -> no error message;<br>dmake test -> error message :<br><PerlPath>\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t<br>
t/gdal....<br># Failed test 'use Geo::GDAL;'<br># at t/gdal.t line 2.<br># Tried to use 'Geo::GDAL'.<br># Error: Can't load '<Gdal_source_path>\swig\perl\blib\arch/auto/Geo/OGR/OGR.dll' for module Geo::OGR: load_file: Access to this memory location is not valid at <PerlPath>/lib/DynaLoader.pm line 202.<br>
# at <Gdal_source_path>\swig\perl\blib\lib/Geo/OGR.pm line 12<br># Compilation failed in require at <Gdal_source_path>\swig\perl\blib\lib/Geo/GDAL.pm line 571.<br># BEGIN failed--compilation aborted at t/gdal.t line 2.<br>
# Compilation failed in require at (eval 3) line 2.<br># BEGIN failed--compilation aborted at (eval 3) line 2.<br>Name "swig_runtime_data::type_pointer3" used only once: possible typo at <PerlPath>/lib/DynaLoader.pm line 225.<br>
Undefined subroutine &Geo::GDAL::GetDriver called at t/gdal.t line 57.<br># Looks like you failed 1 test of 1.<br><br>The "<Gdal_source_path>\swig\perl\blib\arch/auto/Geo/OGR/OGR.dll" file successfully pass dependency walker test.<br>
<br>Does anyone has an idea of what went wrong ? Did I missed something somewhere ?<br><br>Thanks for replies !<br><br>Regards,<br>Guillaume.<br>