joeferner / node-oracle

node.js driver to connect with an oracle database.
MIT License
271 stars 99 forks source link

It doesn't install in Win 7 Pro 64, nodejs is 64 bit, Windows Express for Desktop is only 32 bits, Oracle libs are 64 bit. #183

Open radio-miskovice opened 10 years ago

radio-miskovice commented 10 years ago

Hello, can I do anything with this? Why can't I download binary package and have to compile code?

During vcbuild there are numerous bugs and errors:

-- COPY & PASTE --

:: connection.cpp

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\src\connection.cpp) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\src\outParam.cpp) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\src\executeBaton.cpp) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\src\reader.cpp) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] ..\src\outParam.cpp(30): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\b uild\oracle_bindings.vcxproj] ..\src\outParam.cpp(37): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\b uild\oracle_bindings.vcxproj] ..\src\reader.cpp(57): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules \oracle\build\oracle_bindings.vcxproj] ..\src\outParam.cpp(44): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\b uild\oracle_bindings.vcxproj] ..\src\outParam.cpp(52): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle \build\oracle_bindings.vcxproj] ..\src\outParam.cpp(52): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\bu ild\oracle_bindings.vcxproj] ..\src\connection.cpp(182): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_mo dules\oracle\build\oracle_bindings.vcxproj] ..\src\connection.cpp(192): warning C4101: 'ex' : unreferenced local variable [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxp roj] ..\src\executeBaton.cpp(91): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_m odules\oracle\build\oracle_bindings.vcxproj] ..\src\executeBaton.cpp(92): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_m odules\oracle\build\oracle_bindings.vcxproj] ..\src\executeBaton.cpp(93): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_m odules\oracle\build\oracle_bindings.vcxproj] ..\src\executeBaton.cpp(94): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_m odules\oracle\build\oracle_bindings.vcxproj] ..\src\executeBaton.cpp(95): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_m odules\oracle\build\oracle_bindings.vcxproj] ..\src\executeBaton.cpp(96): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_m odules\oracle\build\oracle_bindings.vcxproj] ..\src\executeBaton.cpp(97): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_m odules\oracle\build\oracle_bindings.vcxproj] ..\src\connection.cpp(588): warning C4244: '=' : conversion from 'double' to 'unsigned int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modu les\oracle\build\oracle_bindings.vcxproj] ..\src\connection.cpp(665): warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\no de_modules\oracle\build\oracle_bindings.vcxproj] ..\src\connection.cpp(670): warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\no de_modules\oracle\build\oracle_bindings.vcxproj] ..\src\connection.cpp(717): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_module s\oracle\build\oracle_bindings.vcxproj] ..\src\connection.cpp(799): warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\no de_modules\oracle\build\oracle_bindings.vcxproj] ..\src\connection.cpp(804): warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\no de_modules\oracle\build\oracle_bindings.vcxproj] C:\Users\JindrichVavruska.node-gyp\0.10.26\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistentv8::Object v8::Persistent<v8::Obje ct>::New(v8::Handlev8::Object)' (..\src\outParam.cpp) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] C:\Users\JindrichVavruska.node-gyp\0.10.26\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistentv8::FunctionTemplate v8::Persisten tv8::FunctionTemplate::New(v8::Handlev8::FunctionTemplate)' (..\src\outParam.cpp) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindi ngs.vcxproj] C:\Users\JindrichVavruska.node-gyp\0.10.26\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistentv8::Object v8::Persistent<v8::Obje ct>::New(v8::Handlev8::Object)' (..\src\reader.cpp) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] C:\Users\JindrichVavruska.node-gyp\0.10.26\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistentv8::FunctionTemplate v8::Persisten tv8::FunctionTemplate::New(v8::Handlev8::FunctionTemplate)' (..\src\reader.cpp) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_binding s.vcxproj] oracle_bindings.cpp C:\Users\JindrichVavruska.node-gyp\0.10.26\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistentv8::Object v8::Persistent<v8::Obje ct>::New(v8::Handlev8::Object)' (..\src\executeBaton.cpp) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] statement.cpp C:\Users\JindrichVavruska.node-gyp\0.10.26\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistentv8::Object v8::Persistent<v8::Obje ct>::New(v8::Handlev8::Object)' (..\src\connection.cpp) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] C:\Users\JindrichVavruska.node-gyp\0.10.26\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistentv8::FunctionTemplate v8::Persisten tv8::FunctionTemplate::New(v8::Handlev8::FunctionTemplate)' (..\src\connection.cpp) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bin dings.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\src\oracle_bindings.cpp) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (..\src\statement.cpp) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] ..\src\oracle_bindings.cpp(103): warning C4244: '=' : conversion from 'double' to 'uint32_t', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_mod ules\oracle\build\oracle_bindings.vcxproj] ..\src\oracle_bindings.cpp(168): warning C4244: '=' : conversion from 'double' to 'uint32_t', possible loss of data [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_mod ules\oracle\build\oracle_bindings.vcxproj] C:\Users\JindrichVavruska.node-gyp\0.10.26\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistentv8::Object v8::Persistent<v8::Obje ct>::New(v8::Handlev8::Object)' (..\src\statement.cpp) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] C:\Users\JindrichVavruska.node-gyp\0.10.26\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistentv8::FunctionTemplate v8::Persisten tv8::FunctionTemplate::New(v8::Handlev8::FunctionTemplate)' (..\src\statement.cpp) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bind ings.vcxproj] C:\Users\JindrichVavruska.node-gyp\0.10.26\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistentv8::Object v8::Persistent<v8::Obje ct>::New(v8::Handlev8::Object)' (..\src\oracle_bindings.cpp) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] C:\Users\JindrichVavruska.node-gyp\0.10.26\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistentv8::FunctionTemplate v8::Persisten tv8::FunctionTemplate::New(v8::Handlev8::FunctionTemplate)' (..\src\oracle_bindings.cpp) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracl e_bindings.vcxproj] Creating library C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\Release\oracle_bindings.lib and object C:\Users\JindrichVavruska\AppData\Roam ing\npm\node_modules\oracle\build\Release\oracle_bindings.exp executeBaton.obj : error LNK2001: unresolved external symbol "public: cdecl oracle::occi::Clob::~Clob(void)" (??1Clob@occi@oracle@@QEAA@XZ) [C:\Users\JindrichVavruska\Ap pData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] executeBaton.obj : error LNK2001: unresolved external symbol "public: cdecl oracle::occi::Clob::Clob(void)" (??0Clob@occi@oracle@@QEAA@XZ) [C:\Users\JindrichVavruska\App Data\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] executeBaton.obj : error LNK2001: unresolved external symbol "public: cdecl oracle::occi::Blob::~Blob(void)" (??1Blob@occi@oracle@@QEAA@XZ) [C:\Users\JindrichVavruska\Ap pData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] executeBaton.obj : error LNK2001: unresolved external symbol "public: cdecl oracle::occi::Blob::Blob(void)" (??0Blob@occi@oracle@@QEAA@XZ) [C:\Users\JindrichVavruska\App Data\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] executeBaton.obj : error LNK2001: unresolved external symbol "public: cdecl oracle::occi::Date::~Date(void)" (??1Date@occi@oracle@@QEAA@XZ) [C:\Users\JindrichVavruska\Ap pData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] executeBaton.obj : error LNK2001: unresolved external symbol "public: cdecl oracle::occi::Date::Date(void)" (??0Date@occi@oracle@@QEAA@XZ) [C:\Users\JindrichVavruska\App Data\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] executeBaton.obj : error LNK2001: unresolved external symbol "public: cdecl oracle::occi::Timestamp::~Timestamp(void)" (??1Timestamp@occi@oracle@@QEAA@XZ) [C:\Users\Jind richVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] executeBaton.obj : error LNK2001: unresolved external symbol "public: cdecl oracle::occi::Timestamp::Timestamp(void)" (??0Timestamp@occi@oracle@@QEAA@XZ) [C:\Users\Jindr ichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] executeBaton.obj : error LNK2001: unresolved external symbol "public: cdecl oracle::occi::Timestamp::Timestamp(class oracle::occi::Environment const _,int,unsigned int,u nsigned int,unsigned int,unsigned int,unsigned int,unsigned int,int,int)" (??0Timestamp@occi@oracle@@QEAA@PEBVEnvironment@12@HIIIIIIHH@Z) [C:\Users\JindrichVavruska\AppDat a\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] executeBaton.obj : error LNK2001: unresolved external symbol "public: cdecl oracle::occi::Number::~Number(void)" (??1Number@occi@oracle@@QEAA@XZ) [C:\Users\JindrichVavru ska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] executeBaton.obj : error LNK2001: unresolved external symbol "public: cdecl oracle::occi::Number::Number(void)" (??0Number@occi@oracle@@QEAA@XZ) [C:\Users\JindrichVavrus ka\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] executeBaton.obj : error LNK2001: unresolved external symbol "public: cdecl oracle::occi::Number::Number(double)" (??0Number@occi@oracle@@QEAA@N@Z) [C:\Users\JindrichVav ruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] outParam.obj : error LNK2001: unresolved external symbol "public: class oracle::occi::Number & cdecl oracle::occi::Number::operator=(class oracle::occi::Number const &)" (??4Number@occi@oracle@@QEAAAEAV012@AEBV012@@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] outParam.obj : error LNK2001: unresolved external symbol "public: cdecl oracle::occi::Number::Number(int)" (??0Number@occi@oracle@@QEAA@H@Z) [C:\Users\JindrichVavruska\A ppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: void cdecl oracle::occi::Clob::closeStream(class oracle::occi::Stream )" (?closeStream@Clob@occi@ora cle@@QEAAXPEAVStream@23@@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: class oracle::occi::Stream * cdecl oracle::occi::Clob::getStream(unsigned int,unsigned int)" (?getStr eam@Clob@occi@oracle@@QEAAPEAVStream@23@II@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: void cdecl oracle::occi::Clob::close(void)" (?close@Clob@occi@oracle@@QEAAXXZ) [C:\Users\JindrichVavr uska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: void cdecl oracle::occi::Clob::open(enum oracle::occi::LobOpenMode)" (?open@Clob@occi@oracle@@QEAAXW4 LobOpenMode@23@@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: class oracle::occi::Clob & cdecl oracle::occi::Clob::operator=(class oracle::occi::Clob const &)" (?? 4Clob@occi@oracle@@QEAAAEAV012@AEBV012@@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: void cdecl oracle::occi::Clob::setCharSetForm(enum oracle::occi::CharSetForm)" (?setCharSetForm@Clob@ occi@oracle@@QEAAXW4CharSetForm@23@@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: unsigned int cdecl oracle::occi::Clob::getChunkSize(void)const " (?getChunkSize@Clob@occi@oracle@@QEB AIXZ) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: void __cdecl oracle::occi::Blob::closeStream(class oracle::occi::Stream )" (?closeStream@Blob@occi@ora cle@@QEAAXPEAVStream@23@@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: class oracle::occi::Stream * cdecl oracle::occi::Blob::getStream(unsigned int,unsigned int)" (?getStr eam@Blob@occi@oracle@@QEAAPEAVStream@23@II@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: void cdecl oracle::occi::Blob::close(void)" (?close@Blob@occi@oracle@@QEAAXXZ) [C:\Users\JindrichVavr uska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: void cdecl oracle::occi::Blob::open(enum oracle::occi::LobOpenMode)" (?open@Blob@occi@oracle@@QEAAXW4 LobOpenMode@23@@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: class oracle::occi::Blob & cdecl oracle::occi::Blob::operator=(class oracle::occi::Blob const &)" (?? 4Blob@occi@oracle@@QEAAAEAV012@AEBV012@@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: unsigned int cdecl oracle::occi::Blob::length(void)const " (?length@Blob@occi@oracle@@QEBAIXZ) [C:\Us ers\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: class oracle::occi::Date & cdecl oracle::occi::Date::operator=(class oracle::occi::Date const &)" (?? 4Date@occi@oracle@@QEAAAEAV012@AEBV012@@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: void cdecl oracle::occi::Date::getDate(int &,unsigned int &,unsigned int &,unsigned int &,unsigned in t &,unsigned int &)const " (?getDate@Date@occi@oracle@@QEBAXAEAHAEAI1111@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxpro j] connection.obj : error LNK2001: unresolved external symbol "public: class oracle::occi::Timestamp & cdecl oracle::occi::Timestamp::operator=(class oracle::occi::Timestam p const &)" (??4Timestamp@occi@oracle@@QEAAAEAV012@AEBV012@@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: void cdecl oracle::occi::Timestamp::getDate(int &,unsigned int &,unsigned int &)const " (?getDate@Tim estamp@occi@oracle@@QEBAXAEAHAEAI1@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: void cdecl oracle::occi::Timestamp::getTime(unsigned int &,unsigned int &,unsigned int &,unsigned int &)const " (?getTime@Timestamp@occi@oracle@@QEBAXAEAI000@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: cdecl oracle::occi::Number::operator double(void)const " (??BNumber@occi@oracle@@QEBANXZ) [C:\Users\J indrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: cdecl oracle::occi::MetaData::~MetaData(void)" (??1MetaData@occi@oracle@@QEAA@XZ) [C:\Users\JindrichV avruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits,class std::allocator > cdecl oracle: :occi::MetaData::getString(enum oracle::occi::MetaData::AttrId)const " (?getString@MetaData@occi@oracle@@QEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std @@W4AttrId@123@@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: int cdecl oracle::occi::MetaData::getInt(enum oracle::occi::MetaData::AttrId)const " (?getInt@MetaDat a@occi@oracle@@QEBAHW4AttrId@123@@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] connection.obj : error LNK2001: unresolved external symbol "public: __cdecl oracle::occi::MetaData::MetaData(class oracle::occi::MetaData const &)" (??0MetaData@occi@oracl e@@QEAA@AEBV012@@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] oracle_bindings.obj : error LNK2001: unresolved external symbol "public: static void cdecl oracle::occi::Environment::terminateEnvironment(class oracle::occi::Environmen t )" (?terminateEnvironment@Environment@occi@oracle@@SAXPEAV123@@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] oracle_bindings.obj : error LNK2001: unresolved external symbol "public: static class oracle::occi::Environment * __cdecl oracle::occi::Environment::createEnvironment(enum oracle::occi::Environment::Mode,void ,void * (cdecl)(void ,unsigned int64),void * (cdecl)(void ,void *,unsigned int64),void (_cdecl)(void ,void ))" (?cre ateEnvironment@Environment@occi@oracle@@SAPEAV123@W4Mode@123@PEAXP6APEAX1_K@ZP6APEAX112@ZP6AX11@Z@Z) [C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\bui ld\oracle_bindings.vcxproj] C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle\build\Release\oracle_bindings.node : fatal error LNK1120: 39 unresolved externals [C:\Users\JindrichVavru ska\AppData\Roaming\npm\node_modules\oracle\build\oracle_bindings.vcxproj] gyp ERR! build error gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:267:23) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\JindrichVavruska\AppData\Roaming\npm\node_modules\oracle gyp ERR! node -v v0.10.26 gyp ERR! node-gyp -v v0.12.2 gyp ERR! not ok npm ERR! oracle@0.3.6 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the oracle@0.3.6 install script. npm ERR! This is most likely a problem with the oracle package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild

johannish commented 10 years ago

You cannot download a binary package because no one so far has been willing to A) take the risk of with Oracle's license agreement for the Instant Client, and B) actually support a binary build. See this github issue for more on that topic: https://github.com/joeferner/node-oracle/issues/134.

As for your issue, mostly you are just seeing compiler warnings, not "bugs". If any of them concern you, feel free to investigate further. Your real error is this: error LNK2001: unresolved external symbol "public: __cdecl oracle::occi::Clob::~Clob(void)". That tells you that the Instant Client libraries are not being linked correctly. Follow the install doc very carefully, and look through these github issues for more details on compiling on Windows.

radio-miskovice commented 10 years ago

Hello,

I got rid of Visual Express 2013, got Win 7.1 SDK + VC++ 2010 and downloaded the Oracle stuff (for some esoteric reason all the stuff included in "regular" Oracle client did not work, but a separate install of InstantClient has completely different content, so I'd assume this should work).

Nope, now I get this: error MSB8007: The Platform for project 'oracle_bindings.vcxproj' is invalid. Platform='x64'.

What in the Earth is this??? Was it not supposed to be autoconfigured?

On a side note, when I look at JDBC drivers, there is no DLL or EXE binary, just a bunch of about five JAR archives, each fitting some of the Oracle situations. No rebuild, no SDK's... and Java library obviously does not include any Windows binaries because it just works anywhere. Why cannot a node module do the same? Jindrich

radio-miskovice commented 10 years ago

Hello,

I have another problem I just posted but I feel I need to comment on one class of the warnings I saw in the build.

In my life I have seen and also made many stupid bugs such as testing "if (x < 0)" on x which was unsigned int or unsigned long and the similar bugs when using "short" numeric type to compare with a large constant exceeding its range, such as "if (x > 1024)" with x being unsigned byte or char, etc.

So exactly THAT type of warning (types of different bit lengths or uncertain sign compliance) which appeared many times in the build should be considered a serious flaw because, although the build does not abort, results and behavior of a program written in such manner are just unpredictable and may cause many kinds of difficult bugs or security vulnerabilities. In fact most security vulnerabilities involve incompatible pointers.

Anyway, it is not an immediate build problem, but it makes the module kind of questionable.

Cheers,

Jindra

2014-05-21 16:29 GMT+02:00 raztus notifications@github.com:

You cannot download a binary package because no one so far has been willing to A) take the risk of with Oracle's license agreement for the Instant Client, and B) actually support a binary build. See this github issue for more on that topic: #134https://github.com/joeferner/node-oracle/issues/134 .

As for your issue, mostly you are just seeing compiler warnings, not "bugs". If any of them concern you, feel free to investigate further. Your real error is this: error LNK2001: unresolved external symbol "public: __cdecl oracle::occi::Clob::~Clob(void)". That tells you that the Instant Client libraries are not being linked correctly. Follow the install doc very carefully, and look through these github issues for more details on compiling on Windows.

— Reply to this email directly or view it on GitHubhttps://github.com/joeferner/node-oracle/issues/183#issuecomment-43761388 .