Forum Stats

  • 3,872,606 Users
  • 2,266,458 Discussions
  • 7,911,262 Comments

Discussions

Compilation Error while installing node-oracledb

user3489565
user3489565 Member Posts: 24
edited Mar 16, 2015 3:58PM in Node.js

Hi Forum,
I am beginner to Node.js and want to use Oracle Node.js driver. I think I have done all setup properly but still I am getting following error while installing node-oracledb  on Windows7 machine on 32 bit platform.
My Env. details are
node.js version is 0.10.0 (x86)
Oracle client version 11.2.0 (32 bit)
Python version is 2.7 (32 bit)
MSVC version is 2010  (32 bit)

Creating library C:\Users\sgarg\AppData\Roaming\npm\node_modules\oracledb\build\Release\oracledb.lib and object C:\Users\sgarg\AppData\Roaming\npm\nodemodules\oracledb\build\Release\oracledb.exp
njsConnection.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class v8::Handle __cdecl node::MakeCallback(class v8::Handle,class v8::Handle,int,class v8::Handl
e * const)" ([email protected]@@YA[email protected]@v8
@v8@V@3@3@[email protected]@Z) [C:\Users\sgarg\AppData\Roaming\npm\node_modules\oracledb\build\oracledb.vcxproj]
C:\Users\sgarg\AppData\Roaming\npm\node_modules\oracledb\build\Release\oracledb.node : fatal error LNK1120: 1 unresolved externals [C:\Users\sgarg\AppData\Roaming\npm\node_modules\oracledb\build\oracledb.vcxproj]
gyp ERR! build error

Any suggestions are appreciated.

Thanks,

Sachin

Answers