[postgis-devel] Compilation using Visual C++ 8.0

Obe, Regina robe.dnd at cityofboston.gov
Tue Mar 10 15:13:34 PDT 2009


Great Mateusz,

I hope to be one of your first victims.


-----Original Message-----
From: postgis-devel-bounces at postgis.refractions.net on behalf of Mateusz Loskot
Sent: Tue 3/10/2009 5:53 PM
To: postgis-devel at postgis.refractions.net
Subject: [postgis-devel] Compilation using Visual C++ 8.0
 
Folks,

I'm glad to report that I managed to compile (not build) PostGIS
source code (r3848) using Microsoft Visual C++ 8.0 (VS 2005).
Here is complete compiler output:

http://mateusz.loskot.net/tmp/postgis/postgis-r3848-msvc-build.log

As dependencies providers, I used
- PROJ.4 4.6.1 from OSGeo4W
- GEOS built from SVN trunk
- Source code of PostgreSQL 8.3.6

As I emphasized, I managed to compile the code, not to do complete
build. I compiled liblwgeom and postgis to static libraries.
I've not tried yet to build postgis to DLL and link everything against
PROJ.4/GEOS/PostgreSQL.

Here is patch that includes:
1) 3 projects Visual Studio 2005: bootstrap, liblwgeom, postgis
2) stdint.h and inttypes.h from http://code.google.com/p/msinttypes/
3) Small fixes in PostGIS code

http://mateusz.loskot.net/tmp/postgis/postgis-r3848-msvc-build.patch

Next step is to change postgis.vcproj to build DLL and try to link a
proper run-time binary.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel



-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20090310/ad1947b2/attachment.html>


More information about the postgis-devel mailing list