Results 1 to 3 of 3

Thread: Building Oracle 64 bits Driver

  1. #1
    Join Date
    Mar 2008
    Posts
    55
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Building Oracle 64 bits Driver

    Hello everyone,

    I'm trying to build the Oracle 64 bits driver for my application but I usully have the following error :
    Qt Code:
    1. link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /SUBSYSTEM:WINDOWS /VERSION:5.40 /OUT:..\..\..\..\plugins\sqldrivers\qsqlocid.dll @C:\Users\BILO
    2. NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\link.EXE' : return code '0xc0000135'
    3. Stop.
    4. NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\nmake.exe' : return code '0x2'
    5. Stop.
    To copy to clipboard, switch view to plain text mode 

    The command I used are :
    Qt Code:
    1. set INCLUDE=%INCLUDE%;C:\oraclexe\app\oracle\product\11.2.0\server\oci\include
    2. set LIB=%LIB%;C:\oraclexe\app\oracle\product\11.2.0\server\oci\lib\MSVC
    3. cd C:\Qt\qt-5.4.0-x64-msvc2012-compact\qt-everywhere-opensource-src-5.4.0\qtbase\src\plugins\sqldrivers\oci
    4. qmake oci.pro
    5. nmake
    To copy to clipboard, switch view to plain text mode 

    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.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Building Oracle 64 bits Driver

    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?

  3. #3
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Building Oracle 64 bits Driver

    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).

Similar Threads

  1. Compiling Oracle 64 bits driver for Qt 4.8.5 with VS 2010
    By QtDevlopper in forum Installation and Deployment
    Replies: 1
    Last Post: 5th December 2015, 00:25
  2. Replies: 1
    Last Post: 23rd January 2012, 20:17
  3. Compiling oracle oci driver for Qt
    By NAYZAKAY44 in forum Newbie
    Replies: 0
    Last Post: 25th August 2010, 18:11
  4. OCI(oracle)driver adding to plugin
    By jjbabu in forum Qt Programming
    Replies: 0
    Last Post: 22nd April 2009, 12:04
  5. Building for Oracle
    By KaptainKarl in forum Installation and Deployment
    Replies: 2
    Last Post: 16th August 2007, 00:50

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.