Windows installation

View: New views
3 Messages — Rating Filter:   Alert me  

Windows installation

by Nicolas Gillet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hello

 

I am having troubles for installing mapnik on Windows.

I would like to use mapnik in a .Net environment for ASP.Net purpose.

 

I’m trying to use the solution found in “/branches/pdf-experimental” but after 2 days installation and compilation test, I still can’t get any compiled version.

I tried to install the features mentioned in the readme file but without being sure that it is properly working.

I had quite much link trouble .h/.hpp/.lib not found that I managed to fix but I’m not sure at all of what I do so I need some council to go on.

 

There are several projects in the given solution do I need them all to be able to use mapnik on a .Net environment ?

 

I think that to be able to use mapnik in a .Net environment I need a build a .dll that I will have to link in my .Net project. Am I right or should I choose another way ?

 

Thanks

 

Nicolas


_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Re: Windows installation

by Dane Springmeyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What dependencies did you have trouble compiling?  I would recommend  
trying to compile trunk instead of the PDF branch since that branch  
may require more dependencies and has not been updated in a while.

Note that for trunk you can use compiler flags to avoid the need for  
Cairo/cairomm, which will make things easier to build. See the scons  
scripts( or ideally run then on mac/linux) for details on flags.

I can also give more detail if you indicate what you are hung up with.


Dane



On Jun 24, 2009, at 2:58 AM, "Nicolas Gillet - MARKET-IP" <nicolas.gillet@...
 > wrote:

> Hello
>
>
>
> I am having troubles for installing mapnik on Windows.
>
> I would like to use mapnik in a .Net environment for ASP.Net purpose.
>
>
>
> I’m trying to use the solution found in “/branches/pdf-
> experimental” but after 2 days installation and compilation test, I  
> still can’t get any compiled version.
>
> I tried to install the features mentioned in the readme file but  
> without being sure that it is properly working.
>
> I had quite much link trouble .h/.hpp/.lib not found that I managed  
> to fix but I’m not sure at all of what I do so I need some council t
> o go on.
>
>
>
> There are several projects in the given solution do I need them all  
> to be able to use mapnik on a .Net environment ?
>
>
>
> I think that to be able to use mapnik in a .Net environment I need a  
> build a .dll that I will have to link in my .Net project. Am I right  
> or should I choose another way ?
>
>
>
> Thanks
>
>
>
> Nicolas
>
> _______________________________________________
> Mapnik-users mailing list
> Mapnik-users@...
> https://lists.berlios.de/mailman/listinfo/mapnik-users
_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Re: Windows installation

by Nicolas Gillet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

(Sorry if I answer the wrong way, I'm not familiar with mailing list)
I finally succeed to build the library based on a solution given by Joe Kemp.

I had to install
- GnuWin32 with libtool-1.5.26, zlib-1.2.3, tiff-3.8.21, libpng-1.2.37, libiconv-1.9.2.1, jpeg-6b-4, freetype-2.3.5-1.(installed from executable setup from http://gnuwin32.sourceforge.net/packages.html)
- boost (Boost_0_38 installed from setup found in http://www.boostpro.com/download)
- ICU 4.0 (downloaded and build myself with sources on http://icu-project.org/download, there is a /source/allinone/allinone.sln solution)
- libxml-2.7.2.win32 (binaries downloaded from http://xmlsoft.org/sources/win32)
- proj-4.6.0 (built myself from sources found in http://www.remotesensing.org/proj/)

Then in the solution I was given, I had to replace the link to the different include/lib directories

As you said, files related to Cairo have to be removed from the project (cairo_renderer.hpp/cpp)

I had to build /plugin/input/shape sources too in order to have the shape.input plugin

And finally I was able to build and run the rundemo.cpp ; all this with the /trunk files.

Now I am struggling with the C# wrapper Joe Kemp sent me.
I can build it but on execution I catch a BadImageFormatException as soon as an object from my dll(wrapper) is declared ...

Thank you

Nicolas


-----Message d'origine-----
De : Dane Springmeyer [mailto:blake@...]
Envoyé : jeudi 2 juillet 2009 21:26
À : Nicolas Gillet - MARKET-IP
Cc : <mapnik-users@...>
Objet : Re: [Mapnik-users] Windows installation

What dependencies did you have trouble compiling?  I would recommend  
trying to compile trunk instead of the PDF branch since that branch  
may require more dependencies and has not been updated in a while.

Note that for trunk you can use compiler flags to avoid the need for  
Cairo/cairomm, which will make things easier to build. See the scons  
scripts( or ideally run then on mac/linux) for details on flags.

I can also give more detail if you indicate what you are hung up with.


Dane



On Jun 24, 2009, at 2:58 AM, "Nicolas Gillet - MARKET-IP" <nicolas.gillet@...
 > wrote:

> Hello
>
>
>
> I am having troubles for installing mapnik on Windows.
>
> I would like to use mapnik in a .Net environment for ASP.Net purpose.
>
>
>
> I’m trying to use the solution found in “/branches/pdf-
> experimental” but after 2 days installation and compilation test, I  
> still can’t get any compiled version.
>
> I tried to install the features mentioned in the readme file but  
> without being sure that it is properly working.
>
> I had quite much link trouble .h/.hpp/.lib not found that I managed  
> to fix but I’m not sure at all of what I do so I need some council t
> o go on.
>
>
>
> There are several projects in the given solution do I need them all  
> to be able to use mapnik on a .Net environment ?
>
>
>
> I think that to be able to use mapnik in a .Net environment I need a  
> build a .dll that I will have to link in my .Net project. Am I right  
> or should I choose another way ?
>
>
>
> Thanks
>
>
>
> Nicolas
>
> _______________________________________________
> Mapnik-users mailing list
> Mapnik-users@...
> https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users