[mapserver-users] cmake issue

kelly elton its.the.doc at gmail.com
Tue Dec 15 09:40:19 PST 2015


Having issues running cmake on mapserver on windows using the sdk from
gisinternals

c:\mapserver\mapserver\build>cmake .. -DWITH_POSTGIS=0 -DWITH_CSHARP=1
-DCMAKE_CURRENT_BINARY_DIR="C:\mapserver\swigwin-1.3.40" -DMSVC_VER=1800
-DMSVC_VERSION=1600
-DCMAKE_PREFIX_PATH="C:\mapserver\SDK\release-1800\bin;C:\mapserver\SDK\release-1800\include;C:\mapserver\SDK\release-1800\lib;c:\mapserver\regex-0.12;C:\mapserver\swigwin-1.3.40"

CMake Error at CMakeLists.txt:69 (message):
  ICONV library/component/dependency could not be found.

    HINTS:
    - disable ICONV support by adding -DWITH_ICONV=0
    - add the ICONV install directory to the CMAKE_PREFIX_PATH variable
(-DCMAKE_PREFIX_PATH="/path/to/ICONV-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
  CMakeLists.txt:429 (report_optional_not_found)

iconv.dll iconv.h and iconv.lib are all present in the sdk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20151215/bde094d0/attachment.html>


More information about the mapserver-users mailing list