Even - It tried the 1.3.39 branch with no problems. So I assume the problem might be in Norman's sandbox? I'm going try it under cygwin before bugging him again.
Doug -----Original Message----- From: Even Rouault [mailto:even.roua...@mines-paris.org] Sent: Monday, October 26, 2009 2:16 PM To: Kunzman, Douglas Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] gdal java binding jpip Selon "Kunzman, Douglas" <dkunz...@overwatch.textron.com>: I haven't tried compiling Norman's sandbox, but could you retry with just SVN trunk and see if you still get the error ? The SWIG version you use is also an important factor as it breaks quite easily when you switch from one version to another one. Trunk Java bindings are known to build fine with swig 1.3.39. > I am trying to compile the java samples under > http://svn.osgeo.org/gdal/sandbox/normanb/ > <http://svn.osgeo.org/gdal/sandbox/normanb/> for use with jpip. I > believe this is a general gdal compile issue but I'm not sure. I'm new > to gdal and have searched the web and have found no good information. > When I type > > > > swig> -f makefile.vc java > > > > Using Visual Studio 2005 and Win32/XP > > > > I get the following error message, > > > > C:\Program Files\Microsoft Visual Studio > 8\VC\INCLUDE\string.h(215) : see declaration of 'stricmp' > > gdal_wrap.cpp(1129) : warning C4996: 'stricmp': The POSIX name for this > item is > > deprecated. Instead, use the ISO C++ conformant name: _stricmp. See > online help > > for details. > > C:\Program Files\Microsoft Visual Studio > 8\VC\INCLUDE\string.h(215) : see declaration of 'stricmp' > > gdal_wrap.cpp(4412) : error C2451: conditional expression of type 'void' > is illegal > > Expressions of type void cannot be converted to other types > > gdal_wrap.cpp(4412) : error C2541: 'delete' : cannot delete objects that > are not > > pointers > > gdal_wrap.cpp(4414) : error C2120: 'void' illegal with all types > > > > I have been looked at the error message and they are implying that > gdal_wrapp.cpp is not standard C++? Is this possible? > > > > Any help would be appreciated, > > Thanks Doug > > _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev