<div dir="ltr">Hello,<div><br></div><div>Thanks for the all the replies and very sorry for my late reply. </div><div><br></div><div>I am using Windows 7, QT creator uses compiler of Visual Studio 2010. Do I still require MingW ? </div><div><br></div><div>Also, I have downloaded binaries of Boost, so should I download a complete version of it and then build using bjam ?</div><div><br></div><div>-Thanks</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 17, 2014 at 7:34 PM, Manuel Schiller <span dir="ltr">&lt;<a href="mailto:caligano@googlemail.com" target="_blank">caligano@googlemail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,<br><br>you say are using QtCreator, but you do not state which OS you are using.<br>So I guess you are still on windows, and I also guess QtCreator uses mingw as the compiler instead of Visual Studio.<br><br>If this is true, then you need to compile boost using mingw in order to be able to properly link against the boost libraries.<br><br></div>Bye<br>Manuel<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2014-10-17 15:22 GMT+02:00 Kavita <span dir="ltr">&lt;<a href="mailto:kavita.yele@gmail.com" target="_blank">kavita.yele@gmail.com</a>&gt;</span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello,<div><br></div><div><div>I am working on a project of boost unit testing framework using QT creator. I have written a small test program and trying to link &quot;libboost_unit_test_framework-vc100-mt-gd-1_56.lib&quot;. This library is present at specified path. But program fails to compile giving said linking error.</div><div><br></div><div>I searched on net and found that, error should go with &quot;#define BOOST_ALL_NO_LIB&quot;. But then, I am getting below error:</div><div><br></div><div>main.obj:-1: error: LNK2019: unresolved external symbol &quot;class boost::unit_test::test_suite * __cdecl init_unit_test_suite(int,char * * const)&quot; (?init_unit_test_suite@@YAPAVtest_suite@unit_test@boost@@HQAPAD@Z) referenced in function _main</div><div><br></div><div>The above function is a part of &quot;libboost_unit_test_framework-vc100-mt-gd-1_56.lib&quot;.</div><div><br></div><div>I have written same unit tests using VS 2010 and with the same boost libraries. The program worked properly with expected behavior.</div><div><br></div><div>What could be possibly going wrong with the usage of boost on QT ? Please help !</div><div><br></div><div>-Thanks</div></div></div>
<br></div></div>_______________________________________________<br>
Boost-users mailing list<br>
<a href="mailto:Boost-users@lists.boost.org" target="_blank">Boost-users@lists.boost.org</a><br>
<a href="http://lists.boost.org/mailman/listinfo.cgi/boost-users" target="_blank">http://lists.boost.org/mailman/listinfo.cgi/boost-users</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
Boost-users mailing list<br>
<a href="mailto:Boost-users@lists.boost.org">Boost-users@lists.boost.org</a><br>
<a href="http://lists.boost.org/mailman/listinfo.cgi/boost-users" target="_blank">http://lists.boost.org/mailman/listinfo.cgi/boost-users</a><br></blockquote></div><br></div>