[Gdal-dev] Getting started with GDAL and Perl on Win32

awaxman at speakeasy.net awaxman at speakeasy.net
Fri Nov 25 18:56:10 EST 2005


Hi all,
As the subject line states I am trying to use the perl bindings to gdal on a win32 box.  I am having trouble getting the perl bindings built.  Does the makefile.pl make win32 compatible makefiles?  I try nmake /f Makefile_gdal and I error out (stout included after the message)  Any help would be appreciated.
Thanks,
Andy


C:\gdal-1.3.1\swig\perl>nmake /f makefile_gdal

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl -c -I../../gcore -I../../alg -I../../ogr -I../../port -nologo -O1 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -O1 -MD -Zi -DNDEBUG    -DVERSION=\"0.10\"  -DXS_VERSION=\"0.10\"  -IC:\Perl\lib\CORE gdal_wrap.cpp gdal_wrap.cpp
C:\PROGRA~1\MICROS~3\VC98\INCLUDE\streambuf(177) : error C2059: syntax error : '
('
        C:\PROGRA~1\MICROS~3\VC98\INCLUDE\streambuf(191) : see reference to class template instantiation 'std::basic_streambuf<_E,_Tr>' being compiled
C:\PROGRA~1\MICROS~3\VC98\INCLUDE\streambuf(177) : error C2143: syntax error : missing ',' before '->'
        C:\PROGRA~1\MICROS~3\VC98\INCLUDE\streambuf(191) : see reference to class template instantiation 'std::basic_streambuf<_E,_Tr>' being compiled
C:\PROGRA~1\MICROS~3\VC98\INCLUDE\streambuf(177) : error C2501: 'Perl_IStdIO_ptr' : missing storage-class or type specifiers
        C:\PROGRA~1\MICROS~3\VC98\INCLUDE\streambuf(191) : see reference to class template instantiation 'std::basic_streambuf<_E,_Tr>' being compiled
C:\PROGRA~1\MICROS~3\VC98\INCLUDE\streambuf(177) : error C2059: syntax error : '->'
        C:\PROGRA~1\MICROS~3\VC98\INCLUDE\streambuf(191) : see reference to class template instantiation 'std::basic_streambuf<_E,_Tr>' being compiled
C:\PROGRA~1\MICROS~3\VC98\INCLUDE\streambuf(191) : fatal error C1903: unable to recover from previous error(s); stopping compilation
        C:\PROGRA~1\MICROS~3\VC98\INCLUDE\streambuf(191) : see reference to class template instantiation 'std::basic_streambuf<_E,_Tr>' being compiled
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.










More information about the Gdal-dev mailing list