Being given build muduo library

Being given

undefined reference to boost::unit_test::ut_detail::auto_test_unit_registrar::auto_test_unit_registrar…

To 'boost :: unit_test :: ut_detail :: normalize_test_case_name (boost :: unit_test :: basic_cstring)' undefined reference

Online search a lot of information, that is a different version of gcc ABI incompatible. Chen Shuo himself replied to this question Ubuntu gcc . But I tried, have not been able to solve. I was alone compile and install the Boost library on CSDN see the tutorial. But in fact, they do not need.

The final solution, first uninstall and delete Muduo boost library source code. Re-download the zip muduo source code on Github, decompression. Open the terminal input $sudo apt-get install libboost-dev libboost-test-devand $cd /muduoenter $./build.shthe last $. / Build.sh install

Released two original articles · won praise 0 · Views 58

Guess you like

Origin blog.csdn.net/qq_43325061/article/details/103939599