[postgis-tickets] [PostGIS] #2333: Can't compile under mingw64 (neither mingw64 or mingw32)

PostGIS trac at osgeo.org
Fri May 24 12:44:58 PDT 2013


#2333: Can't compile under mingw64 (neither mingw64 or mingw32)
--------------------+-------------------------------------------------------
 Reporter:  robe    |       Owner:  colivier     
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.1.0
Component:  sfcgal  |     Version:  trunk        
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by robe):

 Good news, I finally got SFCGAL to compile on my mingw32.  Haven't retried
 on my mingw64 yet and haven't tried next step of building postgis with
 sfcgal.  Trick was I had to change my boost command to also build shared


 {{{
 OS_BUILD=32
 PROJECTS=/c/ming${OS_BUILD}/projects
 BOOST_VER=1.53.0
 BOOST_VER_WU=1_53_0
 bjam toolset=gcc address-model=${OS_BUILD} threading=multi
 variant=debug,release link=static,shared --with-thread --with-system
 --with-date_time --with-serialization
 --prefix=${PROJECTS}/boost/rel-${BOOST_VER_WU}w${OS_BUILD} install
 }}}

 and then rebuild CGAL

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2333#comment:7>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list