[Gdal-dev] Compiling under .NET

Matthew Hanson mhanson at photon.com
Fri Aug 13 12:20:19 EDT 2004


I've done it this way, at the command line, but I still get the same
'snprintf' error

matt


> -----Original Message-----
> From: Chapman, Martin [mailto:MChapman at sanz.com]
> Sent: Friday, August 13, 2004 11:49 AM
> To: Matthew Hanson; gdal-dev at xserve.flids.com
> Subject: RE: [Gdal-dev] Compiling under .NET
> 
> I have built it many times in .Net.  Just follow the directions at
> http://gdal.maptools.org/gdal_building.html - Building on Windows.  And
> do it from the command line.  It works great.
> 
> Martin
> 
> -----Original Message-----
> From: Matthew Hanson [mailto:mhanson at photon.com]
> Sent: Friday, August 13, 2004 9:43 AM
> To: gdal-dev at xserve.flids.com
> Subject: [Gdal-dev] Compiling under .NET
> 
> 
> Hi,
> 
> I actually got GDAL as a part of OSSIM (it currently includes GDAL v1.2)
> and
> am trying to build it under C++ .NET.   When it gets to the GDAl part of
> the
> build it issues the commands in the makefile as follows and the
> generates the error message:
> 
> ************************************
> cd port
>  nmake /nologo /f makefile.vc
>  cl /nologo /Ox /MD -I..\port -I..\ogr -I..\gcore  /c cpl_conv.cpp
> cpl_conv.cpp
> cpl_conv.cpp(904) : error C3861: 'snprintf': identifier not found, even
> with argument-dependent lookup
> ************************************
> 
> Have people successfully compile under .NET?  Perhaps I'm not properly
> editing my nmake.opt file? (I did not edit it at all except of the
> GDAL_HOME variable).
> 
> 
> matt
> 
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at xserve.flids.com
> http://xserve.flids.com/mailman/listinfo/gdal-dev




More information about the Gdal-dev mailing list