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

PostGIS trac at osgeo.org
Mon Jun 2 16:30:04 PDT 2014


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

Comment(by robe):

 Made some big progress.  Got sfcgal 1.0.4 compiling with PostGIS 2.2 dev.
 Unfortunately my make check is not quite working.

 However I was able to install in my 9.4beta1 w32 edb and do this:


 {{{
 SELECT ST_AsText(ST_Extrude(ST_Buffer(ST_Point(1,2),10),3,4,5));
 }}}

 and get a poiyhedralsurface z back.

 I have to retrace my steps since I ran into a lot of issues.

 For example I had to fiddle with the SFCGAL cmake output to get mpfr
 listed before gmp as documented in FAQ 5:
 http://www.mpfr.org/faq.html#undef_ref2

 I'll retrace my steps to confirm that was what I did to fix it.

 Also the sfcgal-config file has the generated .dll being looked for in the
 lib folder (though the .dll.a was in lib), but CMake had installed it in
 the bin folder, so had to copy it to lib to be found by PostGIS.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2333#comment:9>
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