<div dir="ltr">Having issues running cmake on mapserver on windows using the sdk from gisinternals<div><br></div><div>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"<br></div><div><br></div><div><div>CMake Error at CMakeLists.txt:69 (message):</div><div>  ICONV library/component/dependency could not be found.</div><div><br></div><div>    HINTS:</div><div>    - disable ICONV support by adding -DWITH_ICONV=0</div><div>    - add the ICONV install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/ICONV-install-dir;/path/to/other/dirs"</div><div>Call Stack (most recent call first):</div><div>  CMakeLists.txt:429 (report_optional_not_found)</div></div><div><br></div><div>iconv.dll iconv.h and iconv.lib are all present in the sdk</div></div>