odbc plugin: compile error mingw32-make



  • Windows 7
    qt-opensource-windows-x86-mingw492-5.6.0
    Database xxx.mdb

    .........
    As the odbc plugin is missing from the last Qt5.6 release have to compile it,
    and this is what i did:

    At first i opened the cmd inside the source code of that plugin and then run the rest commands with full path .

    D:\Art\Qt\qt-everywhere-opensource-src-5.6.0\qtbase\src\plugins\sqldrivers\odbc>
    D:\Qt\5.6\mingw49_32\bin\qmake odbc.pro
    D:\Qt\Tools\mingw492_32\bin\mingw32-make

    but the mingw32-make gave me the follow error = 2 (No such file or directory)
    can someone explain me why ?

    big Thank you !

    ...................
    this is the full output
    ...................

    D:/Qt/Tools/mingw492_32/bin/mingw32-make -f Makefile.Release all
    mingw32-make[1]: Entering directory 'D:/Art/Qt/qt-everywhere-opensource-src-5.6.0/qtbase/src/plugins/sqldrivers/odbc'
    D:\Qt\5.6\mingw49_32\bin\moc.exe -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 -D__GNUC__ -DWIN32
    -ID:/Art/Qt/qt-everywhere-opensource-src-5.6.0/qtbase/mkspecs/win32-g++ -ID:/Art/Qt/qt-everywhere-opensource-src-5.6.0/qtbase/src/plugins/sqldrivers/odbc -IC:/utils/postgresql/pgsql/include
    -IC:/utils/my_sql/my_sql/include -IC:/openssl/include
    -ID:/Qt/5.6/mingw49_32/include/QtSql/5.6.0
    -ID:/Qt/5.6/mingw49_32/include/QtSql/5.6.0/QtSql
    -ID:/Qt/5.6/mingw49_32/include/QtCore/5.6.0
    -ID:/Qt/5.6/mingw49_32/include/QtCore/5.6.0/QtCore
    -ID:/Qt/5.6/mingw49_32/include
    -ID:/Qt/5.6/mingw49_32/include/QtSql
    -ID:/Qt/5.6/mingw49_32/include/QtCore main.cpp -o .moc\release\main.moc
    g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=c++1y -fno-exceptions -frtti -W
    all -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 -I.
    -IC:/utils/postgresql/pgsql/include
    -IC:/utils/my_sql/my_sql/include
    -IC:/openssl/include
    -ID:\Qt\5.6\mingw49_32\include\QtSql\5.6.0
    -ID:\Qt\5.6\mingw49_32\include\QtSql\5.6.0\QtSql
    -ID:\Qt\5.6\mingw49_32\include\QtCore\5.6.0
    -ID:\Qt\5.6\mingw49_32\include\QtCore\5.6.0\QtCore
    -ID:\Qt\5.6\mingw49_32\include
    -ID:\Qt\5.6\mingw49_32\include\QtSql
    -ID:\Qt\5.6\mingw49_32\include\QtCore
    -I.moc\release -I........\mkspecs\win32-g++
    -o .obj\release\main.o main.cpp
    g++: error: CreateProcess: No such file or directory
    Makefile.Release:374: recipe for target '.obj/release/main.o' failed
    mingw32-make[1]: [.obj/release/main.o] Error 1
    mingw32-make[1]: Leaving directory 'D:/Art/Qt/qt-everywhere-opensource-src-5.6.0/qtbase/src/plugins/sqldrivers/odbc'
    makefile:38: recipe for target 'release-all' failed
    mingw32-make: [release-all] Error 2


Log in to reply
 

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