PDA

View Full Version : Building Oracle 64 bits Driver



mourad
21st April 2015, 08:18
Hello everyone,

I'm trying to build the Oracle 64 bits driver for my application but I usully have the following error :


link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /SUBSYSTEM:WINDOWS /VERSION:5.40 /OUT:..\..\..\..\plugins\sqldrivers\qsqlocid.dll @C:\Users\BILO
NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\link.EXE' : return code '0xc0000135'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\nmake.exe' : return code '0x2'
Stop.

The command I used are :

set INCLUDE=%INCLUDE%;C:\oraclexe\app\oracle\product\1 1.2.0\server\oci\include
set LIB=%LIB%;C:\oraclexe\app\oracle\product\11.2.0\se rver\oci\lib\MSVC
cd C:\Qt\qt-5.4.0-x64-msvc2012-compact\qt-everywhere-opensource-src-5.4.0\qtbase\src\plugins\sqldrivers\oci
qmake oci.pro
nmake

I've many searched in the Net and tried some manipulation but I've not understund what is my problem.

Can anyone help to resolve this problem.

Many thank in advance.
Best regards.

ChrisW67
22nd April 2015, 06:28
It appears that the necessary libraries to run the linker are not present. Have you established the correct command line environment for your version of MSVC?

d_stranz
22nd April 2015, 17:15
And make sure you are linking to 64-bit libraries, not 32-bit ones. Also make sure that your compilation sets the 64-bit flag so you really are compiling 64-bit code (don't remember what it is offhand).