I cannot express how much time I've wasted over the last few weeks trying to get shit work with boost.
Anyway, I'm trying to setup boost with Qt Creator right now, and I'm having linking issues.
I've built my boost libraries for MinGW using:
b2 --build-dir=build toolset=gcc --build-type=complete stagegcc
b2 --build-dir=build toolset=gcc --build-type=complete stagegcc
To copy to clipboard, switch view to plain text mode
Now, I've added the following lines to my .pro:
LIBS += -L"c:/boost_1_47_0/stagegcc/lib/"
INCLUDEPATH += c:/boost_1_47_0/
DEPENDPATH += c:/boost_1_47_0/
LIBS += -L"c:/boost_1_47_0/stagegcc/lib/"
INCLUDEPATH += c:/boost_1_47_0/
DEPENDPATH += c:/boost_1_47_0/
To copy to clipboard, switch view to plain text mode
I'm using boost's ASIO library, which needs boost::system library
when I try to compile my project I get the error:
undefined reference to 'boost::system::generic_category()'
undefined reference to 'boost::system::generic_category()'
To copy to clipboard, switch view to plain text mode
I've read several threads about how to get boost to work with Qt, but none of them helped so far.
Also, I'm relatively new with Qt, last time I used it was 2 years ago for one project, so please be detailed in your instructions.
I HATE boost right now.
No success at all configuring it with Code::Blocks
Managed to make it work with MSVC just to discover that it doesn't work with c++/cli so I cannot make any GUIs.
Thank you
Bookmarks