Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Help precompiled boost library
Forum Updated to NodeBB v4.3 + New Features

Help precompiled boost library

Scheduled Pinned Locked Moved Solved General and Desktop
24 Posts 3 Posters 6.9k Views 2 Watching
  • 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #13

    Again, all your includes start with boost so that folder must not appear in your INCLUDEPATH statement.

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    J 1 Reply Last reply
    1
    • SGaistS SGaist

      Again, all your includes start with boost so that folder must not appear in your INCLUDEPATH statement.

      J Offline
      J Offline
      Jeronimo
      wrote on last edited by
      #14

      @SGaist Ok sorry you are right the issue solved. But one details about the project that i use boost:
      Ok i included libraries boost but now i am trying to run one easy example but when i try i get this message:
      C:\Users\moh\Documents\intento\scheduler.cpp:-1: error: C1041: no puede abrir la base de datos de programa 'c:\users\moh\documents\build-intento-qt_5_7_0_msvc2013_static-debug\debug\intento.pdb'. Si varios CL.EXE escriben en el mismo archivo .PDB, use /FS.

      You know about this or can me take some advice?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #15

        With the text in english it will be easier to help.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        J 2 Replies Last reply
        0
        • SGaistS SGaist

          With the text in english it will be easier to help.

          J Offline
          J Offline
          Jeronimo
          wrote on last edited by
          #16

          @SGaist Ok the text is:
          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

          1 Reply Last reply
          0
          • SGaistS SGaist

            With the text in english it will be easier to help.

            J Offline
            J Offline
            Jeronimo
            wrote on last edited by
            #17

            @SGaist And when i try to compile with vs2013 i get this:
            i put nmake
            and show me:
            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.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              Jeronimo
              wrote on last edited by
              #18

              the project is: https://github.com/gavinandresen/bitcoin_miningsim

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #19

                Are you trying to build that project with a static self-built Qt ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                J 1 Reply Last reply
                0
                • SGaistS SGaist

                  Are you trying to build that project with a static self-built Qt ?

                  J Offline
                  J Offline
                  Jeronimo
                  wrote on last edited by Jeronimo
                  #20

                  @SGaist yes static built. I use static and show me this: C:\Users\moh\Documents\intento\main.cpp:-1: error: C1041: no puede abrir la base de datos de programa 'c:\users\moh\documents\build-intento-qt_5_7_0_msvc2013_static-debug\debug\intento.pdb'. Si varios CL.EXE escriben en el mismo archivo .PDB, use /FS. But i think maybe is other reason not build? some suggestion?

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #21

                    Before trying to build a project with a static version of Qt, build it with the standard dynamic version.

                    Note that the -std=c++11 is not an option for VS.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    J 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Before trying to build a project with a static version of Qt, build it with the standard dynamic version.

                      Note that the -std=c++11 is not an option for VS.

                      J Offline
                      J Offline
                      Jeronimo
                      wrote on last edited by Jeronimo
                      #22

                      @SGaist i used this and the first error doesnt appear:
                      QMAKE_CXXFLAGS += /FS

                      But now show me still show me the last:
                      C:\Users\moh\Desktop\boost-1.60.0-x64-vs2013\boost64-1.60.0-vs2013\include\boost-1_60\boost\type_traits\common_type.hpp:42: error: C1001: Error internal in the compiler

                      And when i click this is the part alert me:

                      namespace type_traits_detail
                      {

                      template<class T1, class T2, class... T> using common_type_fold = common_type_t<common_type_t<T1, T2>, T...>; //here

                      }

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #23

                        That's noting Qt related, the compiler crashed on boost.

                        You should upgrade to VS2015 or try MinGW.

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        J 1 Reply Last reply
                        1
                        • SGaistS SGaist

                          That's noting Qt related, the compiler crashed on boost.

                          You should upgrade to VS2015 or try MinGW.

                          J Offline
                          J Offline
                          Jeronimo
                          wrote on last edited by Jeronimo
                          #24
                          This post is deleted!
                          1 Reply Last reply
                          0

                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved