Results 1 to 20 of 20

Thread: weird weird mingw32-make

  1. #1
    Join Date
    Jan 2012
    Location
    Argentina
    Posts
    167
    Thanks
    33
    Thanked 10 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Post weird weird mingw32-make

    hi guys,

    when i run qmake in the Qsqlite path all files are generated correctly. then i run the command

    nmake and it is not recognised, so i ve read that i have to run the mingw32-make command but then i get this errors:

    problema2.jpg

    i really need the help thanks everyone

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: weird weird mingw32-make

    What compiler are you using?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    KillGabio (20th January 2012)

  4. #3
    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: weird weird mingw32-make

    Your program in the background indicates that the QSQLITE driver plugin is already present. Is there a reason to rebuild it? You don't need or use user name, password, or port with Sqlite... are you intending to use Oracle?

    Are you using the bundled MingW compiler and libraries built with it, or MSVC and libraries built with it? Which have you installed in the SDK?

    The errors (hard to read, you can copy the text from the command prompt rather than using a screen shot) indicate that the Qt includes are not being found. This is usually arranged by qmake. What version is "qmake -v" reporting? try a clean slate:
    Qt Code:
    1. C:... > mingw32-make clean
    2. C:... > qmake
    3. C:... > mingw32-make
    To copy to clipboard, switch view to plain text mode 

  5. #4
    Join Date
    Jan 2012
    Location
    Argentina
    Posts
    167
    Thanks
    33
    Thanked 10 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: weird weird mingw32-make

    first of all thank both very much.

    this morning i installed QtSKD the latest version available.

    im using mingW to build and i have it installed (PATH FOR building:: F:/QtSKD/Desktop/Qt/4.7.4/mingw/plugins)

    sorry for the error presentation, how`s that includes not being found?

    i tried to do the cleaning but it says that files cannot be found.

    thanks A LOT!


    Added after 16 minutes:


    about the oracle question i have a little database i created with oracle. I tried using the odbc at first but as i couldnt find a solution and none could give me one, they said to me that i should reinstall, so thats what i did. So now i only have sqlite so at least im trying to make that work.
    Last edited by KillGabio; 19th January 2012 at 02:19.

  6. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: weird weird mingw32-make

    But why are you trying to rebuild the sqlite driver now?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #6
    Join Date
    Jan 2012
    Location
    Argentina
    Posts
    167
    Thanks
    33
    Thanked 10 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: weird weird mingw32-make

    because the application output says driver not loaded driver not loaded and i ve read like 200 post and the documentation says i have to run those commands to make it work i think...

  8. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: weird weird mingw32-make

    Let's look at your code...

    You have:
    Qt Code:
    1. db.addDatabase("QSQLITE");
    2. db.setDatabaseName("...");
    To copy to clipboard, switch view to plain text mode 

    That's wrong, should be:

    Qt Code:
    1. QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
    2. db.setDatabaseName("...");
    To copy to clipboard, switch view to plain text mode 
    If you make that correction, your code will work, no need to rebuild qsqlite, it's already present, you are just using it wrong.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  9. #8
    Join Date
    Jan 2012
    Location
    Argentina
    Posts
    167
    Thanks
    33
    Thanked 10 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: weird weird mingw32-make

    OMG i fucking love u men!

    can i use this with an oracle database?? (i have Oracle 11g Express Edition and SQL Developer to edit)

  10. #9
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: weird weird mingw32-make

    Quote Originally Posted by KillGabio View Post
    can i use this with an oracle database?? (i have Oracle 11g Express Edition and SQL Developer to edit)
    Not without the oracle driver
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  11. #10
    Join Date
    Jan 2012
    Location
    Argentina
    Posts
    167
    Thanks
    33
    Thanked 10 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: weird weird mingw32-make

    are these files the drivers?
    • oraocci11.dll
    • oraocci11.lib
    • oraocci11.sym
    • oraocci11d.dll
    • oraocci11d.lib
    • oraocci11d.sym



    how can i install them? cause i paste them on my path (F:\QtSKD\Desktop\Qt\4.7.4\mingw\plugins\sqldriver s) but nothing happens...i tried with the documentation but after i run the qmake files are created but then i use nmake and the command promt says its not a valid command :/

    thankks!

  12. #11
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: weird weird mingw32-make

    Qt database drivers start with "q" so apparently these are not the ones you need. I would assume these are actual Oracle drivers that you need to use to build Qt oracle drivers.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  13. #12
    Join Date
    Jan 2012
    Location
    Argentina
    Posts
    167
    Thanks
    33
    Thanked 10 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: weird weird mingw32-make

    yes you are right i downloaded those from the oracle web site...the thing is that i read the documentation and did what i was told..

    set INCLUDE=%INCLUDE%;c:\oracle\oci\include
    set LIB=%LIB%;c:\oracle\oci\lib\msvc
    cd %QTDIR%\src\plugins\sqldrivers\oci
    qmake oci.pro
    nmake
    the thing is that when im at the last step nmake is not recognised as a command...what i do is open cmd of windows, go to the folder where i have QtSKD and follow those steps..i tried running mingw32-make but i get the errors i first posted..

    i ve tried also opening the .pro file of occi (really called oci.pro) and build it with QT but it doesnt find the libraries of Qt like when i run the command mingw32-make instead of nmake...

    i apologyse for my english and then again thanks a lot for your help.

  14. #13
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: weird weird mingw32-make

    Those instructions are for MSVC and not MinGW. With MinGW you need to use mingw32-make. You need to run all those commands (including qmake) from "Qt Command Prompt". Arbitrary cmd won't work.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  15. #14
    Join Date
    Jan 2012
    Location
    Argentina
    Posts
    167
    Thanks
    33
    Thanked 10 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: weird weird mingw32-make

    you must think im stupid but here`s what happens...

    i open the qt command prompt ( exact name: Qt 4.7.4 for Desktop (MinGW)) it starts in c:\Windows\system32

    then i follow the steps of the documentation and shit shit shit same errors...Qt libraries not recognised

    its driving me crazy

  16. #15
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: weird weird mingw32-make

    Please paste text of the exact errors you get. Also please post the output of qmake -v and output of "dir" when in %QTDIR%\src\plugins\sqldrivers\oci
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  17. The following user says thank you to wysota for this useful post:

    KillGabio (20th January 2012)

  18. #16
    Join Date
    Jan 2012
    Location
    Argentina
    Posts
    167
    Thanks
    33
    Thanked 10 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: weird weird mingw32-make

    Errors when i run mingw32-make
    F:\QtSKD\QtSources\4.7.4\src\plugins\sqldrivers\oc i>mingw32-make
    mingw32-make -f Makefile.Debug all
    mingw32-make[1]: Entering directory `F:/QtSKD/QtSources/4.7.4/src/plugins/sqldri
    vers/oci'
    g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -
    DQT_EDITION=QT_EDITION_DESKTOP -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQ
    T_DLL -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_
    HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"f:\QtSKD\QtSourc
    es\4.7.4\include\QtCore" -I"f:\QtSKD\QtSources\4.7.4\include\QtSql" -I"f:\QtSKD\
    QtSources\4.7.4\include" -I"..\..\..\..\src" -I"f:\QtSKD\QtSources\4.7.4\include
    \ActiveQt" -I"tmp\moc\debug_shared" -I"%INCLUDE%" -I"f:\oraclexe\app\oracle\prod
    uct\11.2.0\server\oci" -I"f:\oraclexe\app\oracle\product\11.2.0\server\oci \inclu
    de" -I"..\..\..\..\mkspecs\win32-g++" -o tmp\obj\debug_shared\main.o main.cpp
    main.cpp:42:30: error: qsqldriverplugin.h: No such file or directory
    main.cpp:43:25: error: qstringlist.h: No such file or directory
    In file included from main.cpp:44:
    ../../../sql/drivers/oci/qsql_oci.h:45:30: error: QtSql/qsqlresult.h: No such fi
    le or directory
    ../../../sql/drivers/oci/qsql_oci.h:46:30: error: QtSql/qsqldriver.h: No such fi
    le or directory
    ../../../sql/drivers/oci/qsql_oci.h:47:46: error: QtSql/private/qsqlcachedresult
    _p.h: No such file or directory
    In file included from main.cpp:44:
    ../../../sql/drivers/oci/qsql_oci.h:57: error: expected constructor, destructor,
    or type conversion before 'typedef'
    ../../../sql/drivers/oci/qsql_oci.h:62: error: expected constructor, destructor,
    or type conversion before 'class'
    ../../../sql/drivers/oci/qsql_oci.h:68: error: expected class-name before '{' to
    ken
    ../../../sql/drivers/oci/qsql_oci.h:73: error: ISO C++ forbids declaration of 'Q
    OCIDriver' with no type
    ../../../sql/drivers/oci/qsql_oci.h:73: error: expected ',' or '...' before '*'
    token
    ../../../sql/drivers/oci/qsql_oci.h:75: error: ISO C++ forbids declaration of 'Q
    String' with no type
    ../../../sql/drivers/oci/qsql_oci.h:75: error: expected ',' or '...' before '&'
    token
    ../../../sql/drivers/oci/qsql_oci.h:77: error: 'QVariant' does not name a type
    ../../../sql/drivers/oci/qsql_oci.h:80: error: 'ValueCache' has not been declare
    d
    ../../../sql/drivers/oci/qsql_oci.h:81: error: ISO C++ forbids declaration of 'Q
    String' with no type
    ../../../sql/drivers/oci/qsql_oci.h:81: error: expected ',' or '...' before '&'
    token
    ../../../sql/drivers/oci/qsql_oci.h:84: error: 'QSqlRecord' does not name a type

    ../../../sql/drivers/oci/qsql_oci.h:85: error: 'QVariant' does not name a type
    ../../../sql/drivers/oci/qsql_oci.h:93: error: expected class-name before '{' to
    ken
    ../../../sql/drivers/oci/qsql_oci.h:94: error: ISO C++ forbids declaration of 'Q
    _OBJECT' with no type
    ../../../sql/drivers/oci/qsql_oci.h:95: error: expected ';' before 'friend'
    ../../../sql/drivers/oci/qsql_oci.h:98: error: expected ')' before '*' token
    ../../../sql/drivers/oci/qsql_oci.h:99: error: expected ')' before '*' token
    ../../../sql/drivers/oci/qsql_oci.h:101: error: 'DriverFeature' has not been dec
    lared
    ../../../sql/drivers/oci/qsql_oci.h:102: error: ISO C++ forbids declaration of '
    QString' with no type
    ../../../sql/drivers/oci/qsql_oci.h:102: error: expected ',' or '...' before '&'
    token
    ../../../sql/drivers/oci/qsql_oci.h:109: error: ISO C++ forbids declaration of '
    QSqlResult' with no type
    ../../../sql/drivers/oci/qsql_oci.h:109: error: expected ';' before '*' token
    ../../../sql/drivers/oci/qsql_oci.h:110: error: 'QStringList' does not name a ty
    pe
    ../../../sql/drivers/oci/qsql_oci.h:111: error: 'QSqlRecord' does not name a typ
    e
    ../../../sql/drivers/oci/qsql_oci.h:112: error: 'QSqlIndex' does not name a type

    ../../../sql/drivers/oci/qsql_oci.h:113: error: 'QString' does not name a type
    ../../../sql/drivers/oci/qsql_oci.h:115: error: 'QVariant' does not name a type
    ../../../sql/drivers/oci/qsql_oci.h:116: error: 'QString' does not name a type
    ../../../sql/drivers/oci/qsql_oci.h:126: error: 'QT_END_NAMESPACE' does not name
    a type
    main.cpp:57: error: 'QOCIDriverPlugin' has not been declared
    main.cpp:57: error: ISO C++ forbids declaration of 'QOCIDriverPlugin' with no ty
    pe
    main.cpp: In function 'int QOCIDriverPlugin()':
    main.cpp:58: error: only constructors take base initializers
    main.cpp:60: warning: no return statement in function returning non-void
    main.cpp: At global scope:
    main.cpp:62: error: expected constructor, destructor, or type conversion before
    '*' token
    mingw32-make[1]: *** [tmp/obj/debug_shared/main.o] Error 1
    mingw32-make[1]: Leaving directory `F:/QtSKD/QtSources/4.7.4/src/plugins/sqldriv
    ers/oci'
    mingw32-make: *** [debug-all] Error 2

    F:\QtSKD\QtSources\4.7.4\src\plugins\sqldrivers\oc i>f:\QtSKD\mingw\bin\mingw32-m
    ake.exe
    f:/QtSKD/mingw/bin/mingw32-make -f Makefile.Debug all
    mingw32-make[1]: Entering directory `F:/QtSKD/QtSources/4.7.4/src/plugins/sqldri
    vers/oci'
    g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -
    DQT_EDITION=QT_EDITION_DESKTOP -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQ
    T_DLL -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_
    HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"f:\QtSKD\QtSourc
    es\4.7.4\include\QtCore" -I"f:\QtSKD\QtSources\4.7.4\include\QtSql" -I"f:\QtSKD\
    QtSources\4.7.4\include" -I"..\..\..\..\src" -I"f:\QtSKD\QtSources\4.7.4\include
    \ActiveQt" -I"tmp\moc\debug_shared" -I"%INCLUDE%" -I"f:\oraclexe\app\oracle\prod
    uct\11.2.0\server\oci" -I"f:\oraclexe\app\oracle\product\11.2.0\server\oci \inclu
    de" -I"..\..\..\..\mkspecs\win32-g++" -o tmp\obj\debug_shared\main.o main.cpp
    main.cpp:42:30: error: qsqldriverplugin.h: No such file or directory
    main.cpp:43:25: error: qstringlist.h: No such file or directory
    In file included from main.cpp:44:
    ../../../sql/drivers/oci/qsql_oci.h:45:30: error: QtSql/qsqlresult.h: No such fi
    le or directory
    ../../../sql/drivers/oci/qsql_oci.h:46:30: error: QtSql/qsqldriver.h: No such fi
    le or directory
    ../../../sql/drivers/oci/qsql_oci.h:47:46: error: QtSql/private/qsqlcachedresult
    _p.h: No such file or directory
    In file included from main.cpp:44:
    ../../../sql/drivers/oci/qsql_oci.h:57: error: expected constructor, destructor,
    or type conversion before 'typedef'
    ../../../sql/drivers/oci/qsql_oci.h:62: error: expected constructor, destructor,
    or type conversion before 'class'
    ../../../sql/drivers/oci/qsql_oci.h:68: error: expected class-name before '{' to
    ken
    ../../../sql/drivers/oci/qsql_oci.h:73: error: ISO C++ forbids declaration of 'Q
    OCIDriver' with no type
    ../../../sql/drivers/oci/qsql_oci.h:73: error: expected ',' or '...' before '*'
    token
    ../../../sql/drivers/oci/qsql_oci.h:75: error: ISO C++ forbids declaration of 'Q
    String' with no type
    ../../../sql/drivers/oci/qsql_oci.h:75: error: expected ',' or '...' before '&'
    token
    ../../../sql/drivers/oci/qsql_oci.h:77: error: 'QVariant' does not name a type
    ../../../sql/drivers/oci/qsql_oci.h:80: error: 'ValueCache' has not been declare
    d
    ../../../sql/drivers/oci/qsql_oci.h:81: error: ISO C++ forbids declaration of 'Q
    String' with no type
    ../../../sql/drivers/oci/qsql_oci.h:81: error: expected ',' or '...' before '&'
    token
    ../../../sql/drivers/oci/qsql_oci.h:84: error: 'QSqlRecord' does not name a type

    ../../../sql/drivers/oci/qsql_oci.h:85: error: 'QVariant' does not name a type
    ../../../sql/drivers/oci/qsql_oci.h:93: error: expected class-name before '{' to
    ken
    ../../../sql/drivers/oci/qsql_oci.h:94: error: ISO C++ forbids declaration of 'Q
    _OBJECT' with no type
    ../../../sql/drivers/oci/qsql_oci.h:95: error: expected ';' before 'friend'
    ../../../sql/drivers/oci/qsql_oci.h:98: error: expected ')' before '*' token
    ../../../sql/drivers/oci/qsql_oci.h:99: error: expected ')' before '*' token
    ../../../sql/drivers/oci/qsql_oci.h:101: error: 'DriverFeature' has not been dec
    lared
    ../../../sql/drivers/oci/qsql_oci.h:102: error: ISO C++ forbids declaration of '
    QString' with no type
    ../../../sql/drivers/oci/qsql_oci.h:102: error: expected ',' or '...' before '&'
    token
    ../../../sql/drivers/oci/qsql_oci.h:109: error: ISO C++ forbids declaration of '
    QSqlResult' with no type
    ../../../sql/drivers/oci/qsql_oci.h:109: error: expected ';' before '*' token
    ../../../sql/drivers/oci/qsql_oci.h:110: error: 'QStringList' does not name a ty
    pe
    ../../../sql/drivers/oci/qsql_oci.h:111: error: 'QSqlRecord' does not name a typ
    e
    ../../../sql/drivers/oci/qsql_oci.h:112: error: 'QSqlIndex' does not name a type

    ../../../sql/drivers/oci/qsql_oci.h:113: error: 'QString' does not name a type
    ../../../sql/drivers/oci/qsql_oci.h:115: error: 'QVariant' does not name a type
    ../../../sql/drivers/oci/qsql_oci.h:116: error: 'QString' does not name a type
    ../../../sql/drivers/oci/qsql_oci.h:126: error: 'QT_END_NAMESPACE' does not name
    a type
    main.cpp:57: error: 'QOCIDriverPlugin' has not been declared
    main.cpp:57: error: ISO C++ forbids declaration of 'QOCIDriverPlugin' with no ty
    pe
    main.cpp: In function 'int QOCIDriverPlugin()':
    main.cpp:58: error: only constructors take base initializers
    main.cpp:60: warning: no return statement in function returning non-void
    main.cpp: At global scope:
    main.cpp:62: error: expected constructor, destructor, or type conversion before
    '*' token
    mingw32-make[1]: *** [tmp/obj/debug_shared/main.o] Error 1
    mingw32-make[1]: Leaving directory `F:/QtSKD/QtSources/4.7.4/src/plugins/sqldriv
    ers/oci'
    mingw32-make: *** [debug-all] Error 2
    //-------------------------------------------------------

    Version of Qmake:
    QMake version 2.01a
    Using Qt version 4.7.4 in F:\QtSKD\Desktop\Qt\4.7.4\mingw\lib
    //----------------------------------------------------------
    Output of dir:
    El volumen de la unidad F no tiene etiqueta.
    El número de serie del volumen es: EC8C-2E5D

    Directorio de F:\QtSKD\QtSources\4.7.4\src\plugins\sqldrivers\oc i

    20/01/2012 01:48 p.m. <DIR> .
    20/01/2012 01:48 p.m. <DIR> ..
    19/01/2012 11:34 p.m. 2,547 main.cpp
    20/01/2012 01:06 p.m. 6,135 Makefile
    20/01/2012 01:06 p.m. 9,524 Makefile.Debug
    20/01/2012 01:06 p.m. 9,367 Makefile.Release
    16/09/1994 07:00 a.m. 5,056 NMAKE.ERR
    16/09/1994 07:00 a.m. 65,536 NMAKE.EXE
    18/01/2012 01:52 p.m. 976 nmake.hlp.hrh
    18/01/2012 03:39 p.m. 51,928 nmake15.exe
    19/01/2012 11:37 p.m. 163 oci.pro
    19/01/2012 11:40 p.m. 14,403 oci.pro.user
    19/01/2012 10:42 p.m. 780 qsqlocid_resource.rc
    19/01/2012 10:42 p.m. 779 qsqloci_resource.rc
    18/01/2012 01:16 p.m. 205 README
    19/01/2012 10:42 p.m. <DIR> tmp
    13 archivos 167,399 bytes
    3 dirs 35,034,542,080 bytes libres
    those files nmake i download them and pasted them there so i could execute the command nmake...

    QTDIR in windows environmental variables is set to: F:\QtSKD\QtSources\4.7.4

  19. #17
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: weird weird mingw32-make

    First, delete all files in F:\QtSKD\QtSources\4.7.4\src\plugins\sqldrivers\oc i apart main.cpp, oci.pro and README.
    Then go to f:\QtSKD\QtSources\4.7.4\include and see if all Qt includes are there.

    Then paste here the output of dir in F:/QtSKD and the output of dir in F:\QtSKD\Desktop\
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  20. #18
    Join Date
    Jan 2012
    Location
    Argentina
    Posts
    167
    Thanks
    33
    Thanked 10 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: weird weird mingw32-make

    i have no folder \include in 4.7.4 it was never installed cause i didnt touch anything there

  21. #19
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: weird weird mingw32-make

    Without that folder you won't be able to compile anything. Did you create the folder QtSources yourself? How did you populate it?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  22. #20
    Join Date
    Jan 2012
    Location
    Argentina
    Posts
    167
    Thanks
    33
    Thanked 10 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: weird weird mingw32-make

    I'll paste the dir`s from the command promt...wanna continue this with private message?

    Directorio de F:\QtSKD

    18/01/2012 01:57 p.m. <DIR> .
    18/01/2012 01:57 p.m. <DIR> ..
    18/01/2012 12:53 p.m. 18,643 Changelog.txt
    18/01/2012 01:56 p.m. 39,797 components.xml
    18/01/2012 01:19 p.m. <DIR> Demos
    18/01/2012 01:19 p.m. <DIR> Desktop
    18/01/2012 01:59 p.m. <DIR> Documentation
    18/01/2012 01:19 p.m. <DIR> Examples
    18/01/2012 01:43 p.m. <DIR> home
    18/01/2012 01:57 p.m. 62,999 InstallationLog.txt
    18/01/2012 01:48 p.m. <DIR> Licenses
    18/01/2012 03:19 p.m. <DIR> Madde
    18/01/2012 12:53 p.m. <DIR> Maemo
    18/01/2012 01:19 p.m. <DIR> mingw
    18/01/2012 01:20 p.m. <DIR> pythongdb
    18/01/2012 04:06 p.m. <DIR> QtCreator
    18/01/2012 01:16 p.m. <DIR> QtSources
    18/01/2012 12:53 p.m. <DIR> readme
    18/01/2012 01:56 p.m. 31,749,498 SDKMaintenanceTool.dat
    18/01/2012 01:56 p.m. 15,200,288 SDKMaintenanceTool.exe
    18/01/2012 01:56 p.m. 3,221 SDKMaintenanceTool.ini
    18/01/2012 01:56 p.m. <DIR> Simulator
    18/01/2012 01:48 p.m. <DIR> Symbian
    18/01/2012 01:56 p.m. <DIR> temp
    18/01/2012 01:53 p.m. <DIR> vcredist_x86
    6 archivos 47,074,446 bytes
    19 dirs 34,800,943,104 bytes libres
    Directorio de F:\QtSKD\desktop

    18/01/2012 01:19 p.m. <DIR> .
    18/01/2012 01:19 p.m. <DIR> ..
    18/01/2012 01:19 p.m. <DIR> Qt
    0 archivos 0 bytes
    3 dirs 34,800,943,104 bytes libres

    //-----------------
    All the Qt libraries are here: F:\QtSKD\Desktop\Qt\4.7.4\mingw\include

    like i said i just installed QtSKD...should i include all the libs from the path i just wrote?


    //-----------------------
    maybe theres something wrong here?
    problem3.jpg


    Added after 19 minutes:


    i ve done some advances i think...i pasted the include folder from F:\QtSKD\Desktop\Qt\4.7.4\mingw\include, so now we have no problem with dependencies regarding Qt...the problem now is here...

    F:\QtSKD\QtSources\4.7.4\src\plugins\sqldrivers\oc i>mingw32-make
    mingw32-make -f Makefile.Debug all
    mingw32-make[1]: Entering directory `F:/QtSKD/QtSources/4.7.4/src/plugins/sqldri
    vers/oci'
    g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -
    DQT_EDITION=QT_EDITION_DESKTOP -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQ
    T_DLL -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_
    HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\..\..\incl
    ude\QtCore" -I"..\..\..\..\include\QtSql" -I"..\..\..\..\include" -I"..\..\..\..
    \src" -I"..\..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"%INCLUDE%" -I
    "f:\oraclexe\app\oracle\product\11.2.0\server\oci\ include" -I"..\..\..\..\mkspec
    s\win32-g++" -o tmp\obj\debug_shared\qsql_oci.o ..\..\..\sql\drivers\oci\qsql_oc
    i.cpp
    F:\QtSKD\QtSources\4.7.4\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_EDITI
    ON=QT_EDITION_DESKTOP -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQ
    T_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE
    -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCor
    e" -I"..\..\..\..\include\QtSql" -I"..\..\..\..\include" -I"..\..\..\..\src" -I"
    ..\..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"%INCLUDE%" -I"f:\oracl
    exe\app\oracle\product\11.2.0\server\oci\include" -I"..\..\..\..\mkspecs\win32-g
    ++" -D__GNUC__ -DWIN32 ..\..\..\sql\drivers\oci\qsql_oci.h -o tmp\moc\debug_shar
    ed\moc_qsql_oci.cpp
    "F:\QtSKD\QtSources\4.7.4\bin\moc.exe" no se reconoce como un comando interno o
    externo,
    programa o archivo por lotes ejecutable.
    mingw32-make[1]: *** [tmp/moc/debug_shared/moc_qsql_oci.cpp] Error 1
    mingw32-make[1]: Leaving directory `F:/QtSKD/QtSources/4.7.4/src/plugins/sqldriv
    ers/oci'
    mingw32-make: *** [debug-all] Error 2

    Added after 54 minutes:


    Starting C:\Documents and Settings\home\Escritorio\Los taninos-killgabio\GestionVinoteca-build-desktop\release\GestionVinoteca.exe...
    ("QSQLITE", "QOCI8", "QOCI")


    IMA BOUT TO CRY lol thank u very much wysota u ll be hearing from me soon (when next problem arouses) lol

    Fuck yeah men im so happy this is like the first time i compiled somithing in pascal


    Added after 7 minutes:


    SOLVED

    steps to succes:

    1. copy the folders lib, bin and include from F:\QtSKD\Desktop\Qt\4.7.4\mingw in my case to the folder F:\QtSKD\QtSources\4.7.4
    2. go to the Documentation and follow the steps from the command promp of Qt (in my case go to inicio->programas->Qt->Desktop-> Qt 4.7.4 for Desktop (MingW)))
    3. Instead of running the command nmake, as i m using minGW, do a mingw32-make
    4. the libs are generated... qDebug ()<< (QSqlDatabase::drivers ()); to test it



    thank u all im a happy person now
    Last edited by KillGabio; 20th January 2012 at 20:09.

Similar Threads

  1. Qt Creator always weird
    By giusepped in forum Qt Programming
    Replies: 4
    Last Post: 25th July 2011, 14:59
  2. Replies: 1
    Last Post: 5th March 2011, 18:23
  3. Weird bug with SQLite
    By RavenS in forum Qt Programming
    Replies: 3
    Last Post: 28th March 2009, 17:45
  4. Weird Segfault...
    By chimby in forum Qt Programming
    Replies: 3
    Last Post: 22nd January 2009, 23:31
  5. weird error
    By mickey in forum General Programming
    Replies: 6
    Last Post: 18th November 2006, 04:22

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.