Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on installing #6

Open
CarbonMan opened this issue Aug 12, 2013 · 0 comments
Open

Question on installing #6

CarbonMan opened this issue Aug 12, 2013 · 0 comments
Labels

Comments

@CarbonMan
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant