How to add boost library to Code::Blocks in Linux

后端 未结 2 894
一向
一向 2021-01-03 10:35

How to add the boost library to a Code::Blocks project in Linux Ubuntu? For example I want to add regex lib.

I\'ve already installed the boost library w

2条回答
  •  半阙折子戏
    2021-01-03 11:01

    Just add -lboost_regex to the link options and you should be fine. Other often used dependencies: -lboost_system -lboost_serialization -lboost_thread -lpthread -lboost_filesystem

提交回复
热议问题