Unsolved error while adding libraries
-
in project folder C:\Users\inno\Desktop\QT\SioChatDemo\boost
-
@Bharth
ok then try with
INCLUDEPATH += $$PWD/boost
and rerun qmake from menu -
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???
-
@Bharth
but is boost compiled ?
does that folder contains the
lboost_random
lboost_system
lboost_date_time
dlls ? -
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
-
sounds like its looking for visual studio compiler.
-
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/boostthanks in advance
-
@Bharth
well it dont know
boost::reference_wrapperboost::asio::io_context
try to see if u can find out where it livesso is that the ONLY error ?
might be something else than not linking boost then.
unless there is boost error all over. -
then how to install boost libraries through command prompt
im new to qt please give some guidence -
@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. -
boost related error only one error im getting
-
@Bharth
ok so boost might be installed correctly.
im sorry i cannot guess why it gives error.
maybe asio is seperate install.