anchor.diff:  > gen_import_windows.go (
       echo.package mapnik
   	echo.
  -    echo.// #cgo LDFLAGS: c:/mapnik-v2.2.0/lib/mapnik_c_api.dll
  +    echo.// #cgo LDFLAGS: %MAPNIK_SDK_PATH%/lib/mapnik_c_api.dll
   	echo.import"C"
   	echo.
   	echo.const (
  
positive.code: cls
  
  setlocal EnableDelayedExpansion
  
  if not exist mapnik_c_api.cpp curl -LO https://raw.github.com/springmeyer/mapnik-c-api/master/mapnik_c_api.cpp
  if not exist mapnik_c_api.h curl -LO https://raw.github.com/springmeyer/mapnik-c-api/master/mapnik_c_api.h
  
negative.code: 	echo.^)
  )
  
  echo.
  echo.Compiling C API to shared library
  echo.
  
  if not exist mapnik_c_api.obj cl -c -nologo -Zm200 -Zc:wchar_t- -O2 %MAPNIK_CXXFLAGS% -W3 -w34100 -w34189 %MAPNIK_C_DEFINES% -I"%MAPNIK_SDK_PATH%\include" -I"%MAPNIK_SDK_PATH%\include\mapnik\agg" -I"." mapnik_c_api.cpp
  ::link /LIBPATH:%MAPNIK_LDFLAGS% %MAPNIK_LIBS% %MAPNIK_DEPLIBS% mapnik_c_api.obj /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /DLL /OUT:mapnik_c_api.dll 
  link /LIBPATH:%MAPNIK_LDFLAGS% %MAPNIK_LIBS%  mapnik_c_api.obj /DLL /OUT:mapnik_c_api.dll 
  
  IF NOT EXIST mapnik_c_api.dll (
      echo.
      echo.ERROR: Could not compile the DLL. Check for any error messages above.
      goto :eof
  )
  
  echo.
  echo.Installing C API DLL to %MAPNIK_SDK_PATH%\lib
  echo.
  
  del mapnik_c_api.obj  mapnik_c_api.cpp  mapnik_c_api.lib  mapnik_c_api.exp
  move /y mapnik_c_api.dll %MAPNIK_SDK_PATH%\lib
  
  echo.
  echo.Installing Go package
  echo.
  
  go install 
  
  