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

Can't install oracledb on windows 7 64 bit #125

Closed
nuskyazhar opened this issue Jun 25, 2015 · 3 comments
Closed

Can't install oracledb on windows 7 64 bit #125

nuskyazhar opened this issue Jun 25, 2015 · 3 comments

Comments

@nuskyazhar
Copy link

I have installed oracle 11g - 64bit
I have extracted instantclient-basic and instantclient-sdk to 'C:\instantclient_12_1'

Environment variables

OCI_INCLUDE_DIR --> C:\instantclient_12_1\sdk\include
OCI_LIB_DIR --> C:\instantclient_12_1\sdk\lib\msvc\vc10
Path --> C:\instantclient_12_1\vc10;C:\instantclient_12_1
when i run 'npm install oracledb' i get the following error

dpiEnv.cpp
D:\LearningTests\NodeTestCodes\node_modules\oracledb\src\dpi\src\dpiEnvImpl.h(30): fatal error C1083: Cannot open include file: 'oci.h': No such file
or directory [D:\LearningTests\NodeTestCodes\node_modules\oracledb\build\oracledb.vcxproj]
dpiEnvImpl.cpp
..\src\dpi\src\dpiEnvImpl.cpp(28): fatal error C1083: Cannot open include file: 'oratypes.h': No such file or directory [D:\LearningTests\NodeTestCod
es\node_modules\oracledb\build\oracledb.vcxproj]
dpiException.cpp
dpiExceptionImpl.cpp
D:\LearningTests\NodeTestCodes\node_modules\oracledb\src\dpi\include\dpiStmt.h(29): fatal error C1083: Cannot open include file: 'oci.h': No such fil
e or directory [D:\LearningTests\NodeTestCodes\node_modules\oracledb\build\oracledb.vcxproj]
dpiConnImpl.cpp
..\src\dpi\src\dpiConnImpl.cpp(28): fatal error C1083: Cannot open include file: 'oratypes.h': No such file or directory [D:\LearningTests\NodeTestCo
des\node_modules\oracledb\build\oracledb.vcxproj]
dpiDateTimeArrayImpl.cpp
..\src\dpi\src\dpiDateTimeArrayImpl.cpp(30): fatal error C1083: Cannot open include file: 'oratypes.h': No such file or directory [D:\LearningTests\N
odeTestCodes\node_modules\oracledb\build\oracledb.vcxproj]
dpiPoolImpl.cpp
D:\LearningTests\NodeTestCodes\node_modules\oracledb\src\dpi\include\dpiStmt.h(29): fatal error C1083: Cannot open include file: 'oci.h': No such fil
e or directory [D:\LearningTests\NodeTestCodes\node_modules\oracledb\build\oracledb.vcxproj]
dpiStmtImpl.cpp
..\src\dpi\src\dpiPoolImpl.cpp(29): fatal error C1083: Cannot open include file: 'oratypes.h': No such file or directory [D:\LearningTests\NodeTestCo
des\node_modules\oracledb\build\oracledb.vcxproj]
dpiUtils.cpp
..\src\dpi\src\dpiStmtImpl.cpp(33): fatal error C1083: Cannot open include file: 'oratypes.h': No such file or directory [D:\LearningTests\NodeTestCo
des\node_modules\oracledb\build\oracledb.vcxproj]
D:\LearningTests\NodeTestCodes\node_modules\oracledb\src\dpi\include\dpiStmt.h(29): fatal error C1083: Cannot open include file: 'oci.h': No such fil
e or directory [D:\LearningTests\NodeTestCodes\node_modules\oracledb\build\oracledb.vcxproj]
D:\LearningTests\NodeTestCodes\node_modules\oracledb\src\dpi\src\dpiUtils.h(30): fatal error C1083: Cannot open include file: 'oci.h': No such file o
r directory [D:\LearningTests\NodeTestCodes\node_modules\oracledb\build\oracledb.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1

@cjbj
Copy link
Member

cjbj commented Jun 25, 2015

See #123 (comment)

@cjbj cjbj added the question label Jun 25, 2015
@cjbj cjbj closed this as completed Jun 25, 2015
@nuskyazhar
Copy link
Author

thank you very much. setting these 2 environment variables fixed the problem

set OCI_LIB_DIR=C:\oracle\instantclient_12_1\sdk\lib\msvc
set OCI_INC_DIR=C:\oracle\instantclient_12_1\sdk\include

@umapathy08
Copy link

thank you., it works

@oracle oracle locked and limited conversation to collaborators Nov 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants