Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Error while building the OCI Plugin in widows 7

    General and Desktop
    1
    1
    1350
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sonu_pal last edited by

      Hi,

      I am trying to bulild the OCI Plugin. I have written the below code and save it as batch file and ran it.

      @set PATH=%PATH%;C:\oraclexe\app\oracle\product\10.2.0\server\BIN\oci.dll

      set INCLUDE=%INCLUDE%;C:\oraclexe\app\oracle\product\10.2.0\server\OCI\include

      set LIB=%LIB%;C:\oraclexe\app\oracle\product\10.2.0\server\OCI\lib\MSVC

      C:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\qmake.exe C:\Qt\Qt5.0.2\5.0.2\Src\qtbase\src\plugins\sqldrivers\oci

      C:\Qt\Qt5.0.2\Tools\MinGW\bin\mingw32-make

      timeout /t 300@

      However While running the above code in batch mode I'm facing below error
      @
      C:/Qt/Qt5.0.2/Tools/MinGW/bin/mingw32-make -f Makefile.Release all
      mingw32-make[1]: Entering directory 'C:/Users/acer/Documents/Qt5.0/DBapp'
      g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=c++0x -fno-exceptions -frtti -Wall -Wextra -DUNICODE -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -IC:\Qt\Qt5.0.2\5.0.2\Src\qtbase\src\plugins\sqldrivers\oci -I"C:\Qt\Qt5.0.2\5.0.2\mingw47_32\include" -I"C:\Qt\Qt5.0.2\5.0.2\mingw47_32\include\QtSql" -I"C:\Qt\Qt5.0.2\5.0.2\mingw47_32\include\QtSql\5.0.2" -I"C:\Qt\Qt5.0.2\5.0.2\mingw47_32\include\QtSql\5.0.2\QtSql" -I"C:\Qt\Qt5.0.2\5.0.2\mingw47_32\include\QtCore" -I".moc\release_shared" -I"C:\oraclexe\app\oracle\product\10.2.0\server\OCI\include" -I"C:\oraclexe\app\oracle\product\10.2.0\server\OCI\include" -I"." -I"C:\Qt\Qt5.0.2\5.0.2\Src\qtbase\mkspecs\win32-g++" -o .obj\release_shared\main.o C:\Qt\Qt5.0.2\5.0.2\Src\qtbase\src\plugins\sqldrivers\oci\main.cpp
      Makefile.Release:394: recipe for target '.obj/release_shared/main.o' failed
      mingw32-make[1]: Leaving directory 'C:/Users/acer/Documents/Qt5.0/DBapp'
      makefile:38: recipe for target 'release-all' failed@

      Thanks

      1 Reply Last reply Reply Quote 0
      • First post
        Last post