[Gdal-dev] Re: Problem using EPSG in C#

Tomas R monshi at home.se
Thu May 10 05:35:06 EDT 2007


One problem - where do I find the source-files for the CSharp bindings? 
I have managed to download and compile the source for GDAL but I find no 
  C#-dlls being generated and when I try running the makefile found in 
Swig/Csharp I get an error. Probably because all I've got is a couple of 
makefiles.

/tomas

Tamas Szekeres skrev:
> Tomas,
> 
> You'll have to comment out the
> CSHARP_STATIC_LINKAGE = YES
> in csharp.opt and recompile the C# interface. Using this setting the
> csharp dll-s will link against the gdal14.dll so the
> PushFinderLocation and ImportFromEPSG will operate on the same global
> data. In the future I consider to use this setting as the default
> option.
> 
> BTW: I would propose to use the latest development version of the C#
> related stuff. There were some fundamental changes in the interface
> that might cause some changes in the existing code. For more
> information see:
> http://trac.osgeo.org/gdal/wiki/GdalOgrCsharpVersions
> 
> You might also use the binaries of the latest FWTools
> http://test.gdal.org/fwtools/FWTools130.exe
> and replace the *_wrap.dll-s and *_csharp.dll-s inside with the
> compiled version.
> 
> Best regards,
> 
> Tamas
> 
> 
> 
> 2007/5/9, Tomas R <monshi at home.se>:
>> Tomas R skrev:
>> > Tamas Szekeres skrev:
>> >> Tomas,
>> >>
>> >> Thank you for the detailed analysis of the problem. I'm working on
>> >> this issue and will notify you if I have further information. In the
>> >> meantime I would suggest to submit a ticket including the example
>> >> code.
>> >>
>> >> http://trac.osgeo.org/gdal/newticket
>> >>
>> >> Best regards,
>> >>
>> >> Tamas Szekeres
>> >>
>> >>
>> > Ok, done that. Included as specific info as I could.
>> >
>> > You should be able to reproduce it.
>> >
>> > Thanks
>> > Tomas
>> For those interested the ticket number is 1621. Just click the link to
>> read the ticket:
>> http://trac.osgeo.org/gdal/ticket/1621
>>
>> Hope this will be solved sometime soon. I have other things to attack in
>> my code so just knowing this is under review is, for now, good enough
>> for me.
>>
>> /Tomas
>>
>> _______________________________________________
>> Gdal-dev mailing list
>> Gdal-dev at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/gdal-dev
>>




More information about the Gdal-dev mailing list