Installing the oci driver using msvc 2012



  • Hi. I need information to install the oci drivers for qt 5.2.0 using msvc 2012. I'm using oracle instantclient 12.1.0.1.0. I downloaded the basic package and the sdk package and followed the following commands:
    cd c:\Qt\5.2.0\src\plugins\sqldrivers\oci
    set include=%include%c:\instantclient_12_1\sdk\include;
    set lib=%lib%c:\instantclient_12_1\sdk\lib\msvc\vc11;
    set path=%path%c:\instantclient_12_1\vc11;
    set path=%path%c:\instantclient_12_1;
    qmake oci.pro
    nmake
    But I'm getting the following errors:
    link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /MANIFEST /MANIFESTFILE:........\plugins\sqldrivers\qsqlocid.dll.embed.manifest /OUT:........\plugins\sqldrivers\qsqlo
    cid.dll @C:\Users\APPREN~1\AppData\Local\Temp\nm6340.tmp
    LINK : fatal error LNK1104: cannot open file 'oci.lib'
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\link.EXE"' : return code '0x450'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe"' : return code '0x2'
    Stop.

    Any help will be greatly appreciated.
    Thanks


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.