Skip to content

Instantly share code, notes, and snippets.

@springmeyer
Created May 16, 2013 02:23
Show Gist options
  • Save springmeyer/5588975 to your computer and use it in GitHub Desktop.
Save springmeyer/5588975 to your computer and use it in GitHub Desktop.
node-mapnik compile with node-gyp on windows (npm --verbose install)
> mapnik@1.0.0 install c:\dev2\node-mapnik
> node-gyp rebuild
c:\dev2\node-mapnik>node "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
Build started 5/15/2013 7:16:32 PM.
Project "c:\dev2\node-mapnik\build\binding.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Release|Win32".
Project "c:\dev2\node-mapnik\build\binding.sln" (1) is building "c:\dev2\node-mapnik\build\_mapnik.vcxproj" (2) on node 1 (default targets).
PrepareForBuild:
Creating directory "Release\obj\_mapnik\".
InitializeBuildStatus:
Creating "Release\obj\_mapnik\_mapnik.unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /I..\src /I"C:\Users\mapnik\.node-gyp\0.10.6\src" /I"C:\Users\mapnik\.node-gyp\0.10.6\deps\uv\include" /I"C:\Users\mapnik\.node-gyp\0.10.6\deps\v8\include" /I"c:\mapnik-2.0\include" /I"c:\mapnik-2.0\include\mapnik\agg" /I"c:\dev2\boost-49-vc100\include\boost-1_49" /Ic:\dev2\icu\include /Ic:\dev2\cairo /Ic:\dev2\cairo\src /Ic:\dev2\freetype /Ic:\dev2\freetype\include /Zi /nologo /W3 /WX- /Ox /Ob2 /Oi /Ot /Oy /GL /D HAVE_JPEG /D HAVE_PNG /D HAVE_TIFF /D MAPNIK_USE_PROJ4 /D BOOST_REGEX_HAS_ICU /D MAPNIK_THREADSAFE /D BIGINT /D HAVE_LIBXML2 /D HAVE_CAIRO /D PLATFORM=win32 /D _WINDOWS /D __WINDOWS__ /D BUILDING_NODE_EXTENSION /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D BUILDING_V8_SHARED=1 /D BUILDING_UV_SHARED=1 /D _WINDLL /GF /Gm- /EHsc /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"Release\obj\_mapnik\\" /Fd"Release\obj\_mapnik\vc100.pdb" /Gd /TP /wd4244 /wd4005 /wd4506 /wd4345 /wd4804 /wd4251 /analyze- /errorReport:queue ..\src\mapnik_image_view.cpp ..\src\mapnik_color.cpp ..\src\mapnik_js_datasource.cpp ..\src\mapnik_map.cpp ..\src\mapnik_geometry.cpp ..\src\mapnik_grid_view.cpp ..\src\mapnik_featureset.cpp ..\src\mapnik_grid.cpp ..\src\mapnik_layer.cpp ..\src\mapnik_image.cpp ..\src\mapnik_datasource.cpp ..\src\node_mapnik.cpp ..\src\mapnik_projection.cpp ..\src\mapnik_feature.cpp ..\src\mapnik_palette.cpp ..\src\mapnik_proj_transform.cpp ..\src\mapnik_query.cpp ..\src\mapnik_expression.cpp ..\src\mapnik_memory_datasource.cpp /MP
mapnik_image_view.cpp
mapnik_color.cpp
mapnik_js_datasource.cpp
mapnik_map.cpp
mapnik_geometry.cpp
mapnik_grid_view.cpp
mapnik_featureset.cpp
mapnik_grid.cpp
mapnik_layer.cpp
mapnik_image.cpp
mapnik_datasource.cpp
node_mapnik.cpp
mapnik_projection.cpp
mapnik_feature.cpp
mapnik_palette.cpp
mapnik_proj_transform.cpp
mapnik_query.cpp
mapnik_expression.cpp
mapnik_memory_datasource.cpp
Link:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"c:\dev2\node-mapnik\build\Release\_mapnik.node" /INCREMENTAL:NO /NOLOGO /LIBPATH:c:\dev2\icu\lib\ /LIBPATH:"c:\dev2\boost-49-vc100\lib\\" "c:\dev2\mapnik-packaging\windows\build\src\msvc-10.0\release\threading-multi\mapnik.lib" icuuc.lib icuin.lib "libboost_system-vc100-mt-s-1_49.lib" "C:\Users\mapnik\.node-gyp\0.10.6\Release\node.lib" kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /ManifestFile:"Release\obj\_mapnik\_mapnik.node.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"c:\dev2\node-mapnik\build\Release\_mapnik.pdb" /OPT:REF /OPT:ICF /LTCG /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X86 /DLL Release\obj\_mapnik\mapnik_image_view.obj
Release\obj\_mapnik\mapnik_color.obj
Release\obj\_mapnik\mapnik_js_datasource.obj
Release\obj\_mapnik\mapnik_map.obj
Release\obj\_mapnik\mapnik_geometry.obj
Release\obj\_mapnik\mapnik_grid_view.obj
Release\obj\_mapnik\mapnik_featureset.obj
Release\obj\_mapnik\mapnik_grid.obj
Release\obj\_mapnik\mapnik_layer.obj
Release\obj\_mapnik\mapnik_image.obj
Release\obj\_mapnik\mapnik_datasource.obj
Release\obj\_mapnik\node_mapnik.obj
Release\obj\_mapnik\mapnik_projection.obj
Release\obj\_mapnik\mapnik_feature.obj
Release\obj\_mapnik\mapnik_palette.obj
Release\obj\_mapnik\mapnik_proj_transform.obj
Release\obj\_mapnik\mapnik_query.obj
Release\obj\_mapnik\mapnik_expression.obj
Release\obj\_mapnik\mapnik_memory_datasource.obj /FORCE:MULTIPLE
node.lib(node.exe) : warning LNK4006: "public: char * __thiscall v8::String::Utf8Value::operator*(void)" (??DUtf8Value@String@v8@@QAEPADXZ) already defined in mapnik_map.obj; second definition ignored [c:\dev2\node-mapnik\build\_mapnik.vcxproj]
node.lib(node.exe) : warning LNK4006: "public: class v8::Local<class v8::Object> __thiscall v8::AccessorInfo::This(void)const " (?This@AccessorInfo@v8@@QBE?AV?$Local@VObject@v8@@@2@XZ) already defined in mapnik_map.obj; second definition ignored [c:\dev2\node-mapnik\build\_mapnik.vcxproj]
Creating library c:\dev2\node-mapnik\build\Release\_mapnik.lib and object c:\dev2\node-mapnik\build\Release\_mapnik.exp
c:\dev2\node-mapnik\build\Release\_mapnik.node : warning LNK4088: image being generated due to /FORCE option; image may not run [c:\dev2\node-mapnik\build\_mapnik.vcxproj]
Generating code
Finished generating code
CIL library( CIL module) : warning LNK4006: "public: char * __thiscall v8::String::Utf8Value::operator*(void)" (??DUtf8Value@String@v8@@QAEPADXZ) already defined in node.lib(node.exe); second definition ignored [c:\dev2\node-mapnik\build\_mapnik.vcxproj]
CIL library( CIL module) : warning LNK4006: "public: class v8::Local<class v8::Object> __thiscall v8::AccessorInfo::This(void)const " (?This@AccessorInfo@v8@@QBE?AV?$Local@VObject@v8@@@2@XZ) already defined in node.lib(node.exe); second definition ignored [c:\dev2\node-mapnik\build\_mapnik.vcxproj]
c:\dev2\node-mapnik\build\Release\_mapnik.node : warning LNK4088: image being generated due to /FORCE option; image may not run [c:\dev2\node-mapnik\build\_mapnik.vcxproj]
_mapnik.vcxproj -> c:\dev2\node-mapnik\build\Release\\_mapnik.node
Manifest:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\mt.exe /nologo /verbose /outputresource:"c:\dev2\node-mapnik\build\Release\_mapnik.node;#2" /manifest Release\obj\_mapnik\_mapnik.node.intermediate.manifest
FinalizeBuildStatus:
Deleting file "Release\obj\_mapnik\_mapnik.unsuccessfulbuild".
Touching "Release\obj\_mapnik\_mapnik.lastbuildstate".
Done Building Project "c:\dev2\node-mapnik\build\_mapnik.vcxproj" (default targets).
Project "c:\dev2\node-mapnik\build\binding.sln" (1) is building "c:\dev2\node-mapnik\build\action_after_build.vcxproj.metaproj" (3) on node 1 (default targets).
Project "c:\dev2\node-mapnik\build\action_after_build.vcxproj.metaproj" (3) is building "c:\dev2\node-mapnik\build\action_after_build.vcxproj" (4) on node 1 (default targets).
PrepareForBuild:
Creating directory "Release\obj\action_after_build\".
InitializeBuildStatus:
Creating "Release\obj\action_after_build\action_after_build.unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
generate_setting
move_node_module
1 file(s) copied.
FinalizeBuildStatus:
Deleting file "Release\obj\action_after_build\action_after_build.unsuccessfulbuild".
Touching "Release\obj\action_after_build\action_after_build.lastbuildstate".
Done Building Project "c:\dev2\node-mapnik\build\action_after_build.vcxproj" (default targets).
Done Building Project "c:\dev2\node-mapnik\build\action_after_build.vcxproj.metaproj" (default targets).
Done Building Project "c:\dev2\node-mapnik\build\binding.sln" (default targets).
Build succeeded.
"c:\dev2\node-mapnik\build\binding.sln" (default target) (1) ->
"c:\dev2\node-mapnik\build\_mapnik.vcxproj" (default target) (2) ->
(Link target) ->
node.lib(node.exe) : warning LNK4006: "public: char * __thiscall v8::String::Utf8Value::operator*(void)" (??DUtf8Value@String@v8@@QAEPADXZ) already defined in mapnik_map.obj; second definition ignored [c:\dev2\node-mapnik\build\_mapnik.vcxproj]
node.lib(node.exe) : warning LNK4006: "public: class v8::Local<class v8::Object> __thiscall v8::AccessorInfo::This(void)const " (?This@AccessorInfo@v8@@QBE?AV?$Local@VObject@v8@@@2@XZ) already defined in mapnik_map.obj; second definition ignored [c:\dev2\node-mapnik\build\_mapnik.vcxproj]
c:\dev2\node-mapnik\build\Release\_mapnik.node : warning LNK4088: image being generated due to /FORCE option; image may not run [c:\dev2\node-mapnik\build\_mapnik.vcxproj]
CIL library( CIL module) : warning LNK4006: "public: char * __thiscall v8::String::Utf8Value::operator*(void)" (??DUtf8Value@String@v8@@QAEPADXZ) already defined in node.lib(node.exe); second definition ignored [c:\dev2\node-mapnik\build\_mapnik.vcxproj]
CIL library( CIL module) : warning LNK4006: "public: class v8::Local<class v8::Object> __thiscall v8::AccessorInfo::This(void)const " (?This@AccessorInfo@v8@@QBE?AV?$Local@VObject@v8@@@2@XZ) already defined in node.lib(node.exe); second definition ignored [c:\dev2\node-mapnik\build\_mapnik.vcxproj]
c:\dev2\node-mapnik\build\Release\_mapnik.node : warning LNK4088: image being generated due to /FORCE option; image may not run [c:\dev2\node-mapnik\build\_mapnik.vcxproj]
6 Warning(s)
0 Error(s)
Time Elapsed 00:01:14.39
@tmpvar
Copy link

tmpvar commented Jun 14, 2014

did you ever find a fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment