[Gdal-dev] Compiling under .NET

Chapman, Martin MChapman at sanz.com
Fri Aug 13 11:48:47 EDT 2004

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.


-----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


I actually got GDAL as a part of OSSIM (it currently includes GDAL v1.2)
am trying to build it under C++ .NET.   When it gets to the GDAl part of
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(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).


Gdal-dev mailing list
Gdal-dev at xserve.flids.com

More information about the Gdal-dev mailing list