This project has moved and is read-only. For the latest updates, please go here.

SharpMap and 64 bits Platform

Topics: General Topics
Nov 3, 2010 at 2:08 PM

Hi All, I'm using in a project and the user requested a change to use the application in a 64 bits platform computer. I tested the application and it is not working. Besides the sharpmap, it uses others libraries. So I'm checking if each library is compatible with 64 bits architeture. Could someone tell me if sharp has had some problem with this architeture?



Nov 3, 2010 at 2:58 PM
Edited Nov 3, 2010 at 2:59 PM

You will run into issues if you use the SharpMap.Extensions project. It depends on native binaries (GDAL/OGR/SpatiaLite). If you do not use

  • GdalRasterLayer
  • OgrProvider
  • SpatiaLiteProvider
  • (that was it I think)

you can safely remove these and all dependant codefiles.

For GDAL/OGR there should be a way for you to get it working with 64bit native binaries, I'm not sure if it will work for SpatiaLite at the moment.
I have no 64bit machine at hand, so I cannot help you with that.

If you compile SharpMap projects be sure to set TargetPlatfrom to AnyCpu or x64

Hth FObermaier

Nov 3, 2010 at 6:25 PM

Thanks by your answer, FObermaier.

I will continue with the analysis and I will consider all these recomendations that you specified.



Nov 4, 2010 at 10:01 AM

I forgot, you could also set all projects to target x86 platform, but you could not take advantage of x64 environment.

Hth FObermaier