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. error while adding libraries
Forum Updated to NodeBB v4.3 + New Features

error while adding libraries

Scheduled Pinned Locked Moved Unsolved General and Desktop
18 Posts 2 Posters 2.4k Views 1 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.
  • B Offline
    B Offline
    Bharth
    wrote on 8 Sept 2018, 10:57 last edited by
    #9

    if i run qmake its not showing any errors but if i click on run button it showing same error.....want i install boost to command prompt???

    M 1 Reply Last reply 8 Sept 2018, 11:04
    0
    • B Bharth
      8 Sept 2018, 10:57

      if i run qmake its not showing any errors but if i click on run button it showing same error.....want i install boost to command prompt???

      M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 8 Sept 2018, 11:04 last edited by
      #10

      @Bharth
      but is boost compiled ?
      does that folder contains the
      lboost_random
      lboost_system
      lboost_date_time
      dlls ?

      1 Reply Last reply
      0
      • B Offline
        B Offline
        Bharth
        wrote on 8 Sept 2018, 11:14 last edited by
        #11

        no ...Building Boost.Build engine
        'cl' is not recognized as an internal or external command,
        operable program or batch file.

        Failed to build Boost.Build engine.
        Please consult bootstrap.log for further diagnostics.
        showing like this....

        boost folder has system,random,date_time,dlls....etc

        M 1 Reply Last reply 8 Sept 2018, 21:20
        0
        • B Bharth
          8 Sept 2018, 11:14

          no ...Building Boost.Build engine
          'cl' is not recognized as an internal or external command,
          operable program or batch file.

          Failed to build Boost.Build engine.
          Please consult bootstrap.log for further diagnostics.
          showing like this....

          boost folder has system,random,date_time,dlls....etc

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 8 Sept 2018, 21:20 last edited by
          #12

          @Bharth

          sounds like its looking for visual studio compiler.

          1 Reply Last reply
          2
          • B Offline
            B Offline
            Bharth
            wrote on 11 Sept 2018, 05:12 last edited by
            #13

            C:\Users\inno\Desktop\QT\SioChatDemo\lib\websocketpp\websocketpp\transport\asio\connection.hpp:426:
            error: no matching function for call to 'make_shared(const boost::reference_wrapperboost::asio::io_context)'
            lib::ref(*io_service));
            ^

            i added these paths in pro file

            INCLUDEPATH += $$PWD/lib/rapidjson/include
            INCLUDEPATH += $$PWD/lib/websocketpp
            INCLUDEPATH += $$PWD/boost

            thanks in advance

            M 1 Reply Last reply 11 Sept 2018, 06:10
            0
            • B Bharth
              11 Sept 2018, 05:12

              C:\Users\inno\Desktop\QT\SioChatDemo\lib\websocketpp\websocketpp\transport\asio\connection.hpp:426:
              error: no matching function for call to 'make_shared(const boost::reference_wrapperboost::asio::io_context)'
              lib::ref(*io_service));
              ^

              i added these paths in pro file

              INCLUDEPATH += $$PWD/lib/rapidjson/include
              INCLUDEPATH += $$PWD/lib/websocketpp
              INCLUDEPATH += $$PWD/boost

              thanks in advance

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 11 Sept 2018, 06:10 last edited by
              #14

              @Bharth
              well it dont know
              boost::reference_wrapperboost::asio::io_context
              try to see if u can find out where it lives

              so is that the ONLY error ?
              might be something else than not linking boost then.
              unless there is boost error all over.

              1 Reply Last reply
              1
              • B Offline
                B Offline
                Bharth
                wrote on 11 Sept 2018, 06:31 last edited by
                #15

                then how to install boost libraries through command prompt
                im new to qt please give some guidence

                M 1 Reply Last reply 11 Sept 2018, 06:46
                0
                • B Bharth
                  11 Sept 2018, 06:31

                  then how to install boost libraries through command prompt
                  im new to qt please give some guidence

                  M Offline
                  M Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on 11 Sept 2018, 06:46 last edited by
                  #16

                  @Bharth
                  Hi
                  Well boost is not related to Qt at all.
                  But you did not answer the question.
                  Is that only boost related error u get or
                  do you have many ?

                  Its hard to give you a tut as it depends on what you really downloaded from boost,
                  what compiler you have and overall how boost is being used in that project.

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    Bharth
                    wrote on 11 Sept 2018, 07:10 last edited by
                    #17

                    boost related error only one error im getting

                    M 1 Reply Last reply 11 Sept 2018, 07:17
                    0
                    • B Bharth
                      11 Sept 2018, 07:10

                      boost related error only one error im getting

                      M Offline
                      M Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on 11 Sept 2018, 07:17 last edited by
                      #18

                      @Bharth
                      ok so boost might be installed correctly.
                      im sorry i cannot guess why it gives error.
                      maybe asio is seperate install.

                      1 Reply Last reply
                      0

                      18/18

                      11 Sept 2018, 07:17

                      • Login

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