[QGIS-trac] [Quantum GIS] #2999: msvc compilation

Quantum GIS qgis at qgis.org
Tue Sep 14 11:28:06 EDT 2010


#2999: msvc compilation
---------------------------------------------------------+------------------
   Reporter:  orgads                                     |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.6.0
  Component:  Build/Install                              |            Version:  1.5.0        
   Keywords:                                             |   Platform_version:               
   Platform:  Windows                                    |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 Hello,

 Some files in the project have unnecessary unistd.h include, which causes
 them not to compile under msvc.

 Another issue on Windows, iconv package from GnuWin32 is named
 libiconv.lib, so FindIconv.cmake doesn't find it.

 Both issues are handled in the attached patch (tested also on linux, it
 doesn't break anything)

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2999>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list