You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a couple of problems getting the node-win32ole installed:
When I run npm install win32ole I get:
....
Creating library E:_vault\node_win32ole\test\node_modules\win32ole\build
Release\node_win32ole.lib and object E:_vault\node_win32ole\test\node_module
s\win32ole\build\Release\node_win32ole.exp
client.obj : error LNK2001: unresolved external symbol __imp__CoCreateInstance@
20 [E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxp
roj]
client.obj : error LNK2001: unresolved external symbol __imp__CLSIDFromProgID@8
[E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxpro
j]
v8variant.obj : error LNK2001: unresolved external symbol __imp__VariantTimeToS
ystemTime@12 [E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win
32ole.vcxproj]
v8variant.obj : error LNK2001: unresolved external symbol __imp__SystemTimeToVa
riantTime@8 [E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win3
2ole.vcxproj]
ole32core.obj : error LNK2001: unresolved external symbol __imp__SysAllocString @4 [E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxp
roj]
ole32core.obj : error LNK2001: unresolved external symbol __imp__SysStringLen@4
[E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxpro
j]
ole32core.obj : error LNK2001: unresolved external symbol __imp__VariantClear@4
[E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxpro
j]
ole32core.obj : error LNK2001: unresolved external symbol __imp__CoUninitialize @0 [E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxp
roj]
ole32core.obj : error LNK2001: unresolved external symbol __imp__MessageBoxW@16
[E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxpro
j]
ole32core.obj : error LNK2001: unresolved external symbol __imp__VariantCopy@8
[E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxproj
]
ole32core.obj : error LNK2001: unresolved external symbol __imp__VariantInit@4
[E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxproj
]
ole32core.obj : error LNK2001: unresolved external symbol __imp__CoInitialize@4
[E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxpro
j]
ole32core.obj : error LNK2001: unresolved external symbol __imp__SysFreeString@
4 [E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxpr
oj]
E:_vault\node_win32ole\test\node_modules\win32ole\build\Release\node_win32ole.
node : fatal error LNK1120: 13 unresolved externals [E:_vault\node_win32ole\te
st\node_modules\win32ole\build\node_win32ole.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1
...
Apparently that is caused by ole32.lib, oleaut32.lib missing from the list of libraries used by linker. I didn't know how to get around that so I followed the instructions under "To obtain and build the bindings:" and that appeared to work.
Can you tell me how to resolve the issue with the install?
The text was updated successfully, but these errors were encountered:
Trying to run the sample.
I had a couple of problems getting the node-win32ole installed:
When I run npm install win32ole I get:
....
Creating library E:_vault\node_win32ole\test\node_modules\win32ole\build
Release\node_win32ole.lib and object E:_vault\node_win32ole\test\node_module
s\win32ole\build\Release\node_win32ole.exp
client.obj : error LNK2001: unresolved external symbol __imp__CoCreateInstance@
20 [E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxp
roj]
client.obj : error LNK2001: unresolved external symbol __imp__CLSIDFromProgID@8
[E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxpro
j]
v8variant.obj : error LNK2001: unresolved external symbol __imp__VariantTimeToS
ystemTime@12 [E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win
32ole.vcxproj]
v8variant.obj : error LNK2001: unresolved external symbol __imp__SystemTimeToVa
riantTime@8 [E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win3
2ole.vcxproj]
ole32core.obj : error LNK2001: unresolved external symbol __imp__SysAllocString
@4 [E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxp
roj]
ole32core.obj : error LNK2001: unresolved external symbol __imp__SysStringLen@4
[E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxpro
j]
ole32core.obj : error LNK2001: unresolved external symbol __imp__VariantClear@4
[E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxpro
j]
ole32core.obj : error LNK2001: unresolved external symbol __imp__CoUninitialize
@0 [E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxp
roj]
ole32core.obj : error LNK2001: unresolved external symbol __imp__MessageBoxW@16
[E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxpro
j]
ole32core.obj : error LNK2001: unresolved external symbol __imp__VariantCopy@8
[E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxproj
]
ole32core.obj : error LNK2001: unresolved external symbol __imp__VariantInit@4
[E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxproj
]
ole32core.obj : error LNK2001: unresolved external symbol __imp__CoInitialize@4
[E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxpro
j]
ole32core.obj : error LNK2001: unresolved external symbol __imp__SysFreeString@
4 [E:_vault\node_win32ole\test\node_modules\win32ole\build\node_win32ole.vcxpr
oj]
E:_vault\node_win32ole\test\node_modules\win32ole\build\Release\node_win32ole.
node : fatal error LNK1120: 13 unresolved externals [E:_vault\node_win32ole\te
st\node_modules\win32ole\build\node_win32ole.vcxproj]
gyp ERR! build error
gyp ERR! stack Error:
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
failed with exit code: 1...
Apparently that is caused by ole32.lib, oleaut32.lib missing from the list of libraries used by linker. I didn't know how to get around that so I followed the instructions under "To obtain and build the bindings:" and that appeared to work.
Can you tell me how to resolve the issue with the install?
The text was updated successfully, but these errors were encountered: