Results 1 to 3 of 3

Thread: Help with this project in QT

  1. #1
    Join Date
    Oct 2016
    Posts
    61
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Help with this project in QT

    Hi i'm trying to compile this project in Qt but i get this error:
    C:\Users\moh\Documents\intento\scheduler.cpp:-1: error: C1041: can't open the data bases of the program 'c:\users\moh\documents\build-intento-qt_5_7_0_msvc2013_static-debug\debug\intento.pdb'. If several cl.exe write in the same file .PDB, use /FS

    Project:
    https://github.com/gavinandresen/bitcoin_miningsim

  2. #2
    Join Date
    Oct 2016
    Posts
    61
    Qt products
    Qt5
    Platforms
    Unix/X11

    Question Re: Help with this project in QT

    In visual studio 2013 i get this:
    cl .\main.cpp .\scheduler.cpp

    cl : LÃ*nea de comandos warning D9002 : se omite la opción desconocida '-std=c++11'
    main.cpp
    c:\users\moh\documents\intento\scheduler.h(5) : fatal error C1014: hay demasiados archivos de inclusión : nivel = 1024
    scheduler.cpp
    c:\users\moh\documents\intento\scheduler.h(5) : fatal error C1014: hay demasiados archivos de inclusión : nivel = 1024
    Generando código...
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 12.0\VC\BIN\cl.EXE"' : código devuelto '0x2'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : código devuelto '0x2'
    Stop.

  3. #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: Help with this project in QT

    You are receiving C++ compiler error messages from a generic C++ program you are trying to compile with Microsoft C++. The Qt library has no role in this.

    The first error message is a indication that you are parallel building something and Visual C++ is not handling it well. If you are using jom instead of nmake (through Qt Creator) then you may want to try adding "-j1" to your make command options. You may also want to try QMAKE_CFLAGS+=/FS if you are using qmake.

    The second error message appears to be because you have taken the clang++ compiler command from the supplied Makefile and blindly tried to substitute the Visual C++ compiler. It doesn't taken the same command line arguments.

Similar Threads

  1. Replies: 1
    Last Post: 3rd August 2016, 07:21
  2. Replies: 7
    Last Post: 28th November 2014, 15:59
  3. Replies: 4
    Last Post: 20th January 2013, 11:01
  4. haw to ues project ( skin ) with anther project
    By Master Loda in forum Qt Programming
    Replies: 4
    Last Post: 22nd July 2011, 08:58
  5. Replies: 1
    Last Post: 3rd December 2009, 23:34

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
  •  
Qt is a trademark of The Qt Company.