Skip to content

traderboy/mapcache

 
 

Repository files navigation

This fork is just to provide a version that will compile with VS 2012 for Windows 8 64 bit from the VS Command Prompt.

1.  Download Mapserver 64 bit headers and libraries from http://archive.gisinternals.com/sdk/. I used http://archive.gisinternals.com/sdk/Download.aspx?file=release-1600-x64-gdal-1-11-1-mapserver-6-4-1-libs.zip.

2.  Get precompiled 64 bit APR and APR Utils libraries from https://www.apachelounge.com/download/.  Unzip lib and headers files to the same folders above.

3. git clone this fork ; cd mapcache; md build; cd build; 

4. cmake -G "Visual Studio 11 2012 Win64" -DCMAKE_PREFIX_PATH=C:\src\release-1600-x64-dev\release-1600  -DAPR_LIBRARY=C:\src\release-1600-x64-dev\release-1600\lib\libapr-1.lib;C:\src\release-1600-x64-dev\release-1600\lib\zlib.lib -DAPU_LIBRARY=C:\src\release-1600-x64-dev\release-1600\lib\libaprutil-1.lib -DAPU_INCLUDE_DIR=C:\src\release-1600-x64-dev\release-1600\include  -DWITH_FCGI=1  -DFCGI_LIBRARY=C:\src\release-1600-x64-dev\release-1600\lib\libfcgi.lib -DWITH_APACHE=1 -DWITH_MEMCACHE=1 -DWITH_MAPSERVER=1 ..

5. msbuild Mapcache.vcxproj /t:Build /p:Configuration=Release

Note: to build a static library for use with node-mapcache, edit the CMakeLists.txt file and add/comment out ~line 68, the re-run steps 4 & 5:
add_library(mapcache STATIC ${mapcache_SOURCES})
#add_library(mapcache SHARED ${mapcache_SOURCES})

new code repository is at https://github.com/mapserver/mapcache

Packages

No packages published

Languages

  • C 99.2%
  • Other 0.8%