i am added path in test.pro :
INCLUDEPATH += E:\boost_1_59_0
The main test file is :
The error is:
E:\boost_1_59_0\boost\circular_buffer\base.hpp:384: error: undefined reference to `_wassert'
I have no idea.
i am added path in test.pro :
INCLUDEPATH += E:\boost_1_59_0
The main test file is :
The error is:
E:\boost_1_59_0\boost\circular_buffer\base.hpp:384: error: undefined reference to `_wassert'
I have no idea.
When using a library, you need to add the following things to your .pro file:
INCLUDEPATH += <The path where the header files are located, if not in a system default include path>
LIBS += -L<The path where the library binary file is located, if not in a system default library path>
LIBS += -l<The name of the library (without "lib", ".dll", etc. in the name)>
The last two lines may not be necessary for header-only libraries. But not everything in boost is header-only, so you need to specify where the linker will find the library binary.
And for this, the library itself must be built, of course. I'm not sure if you already did that with your installation of boost; it looks like you just downloaded it and extracted it on E:\
, which may not be enough.