Compiling C++ source file using Boost.Thread

后端 未结 5 731
情歌与酒
情歌与酒 2021-01-18 04:51

I am trying to learn how to use the C++ Boost.Thread library. I have installed the Boost libraries on my Ubuntu 11.10 system. I am following the book \"The Boost C++ Librar

5条回答
  •  悲哀的现实
    2021-01-18 05:44

    Following your comments I share with you compilation string for pocketcpp compilation tool:

    g++ -static -I"\boost" "$(FULL_CURRENT_PATH)" -L"\MinGW\lib" -lboost_thread -lboost_system -o "$(CURRENT_DIRECTORY)\$(NAME_PART).exe"
    

    Good luck,

提交回复
热议问题