Fedora21环境Eclipse CDT配置C++11

1. IDE: Project -> Properties -> C/C++ Build -> Settings -> Tool Settings ->Cross G++ Complier -> Miscellaneous

右侧:Other flags--->>添加“-std=c++11”

2.IDE: Window ->  Preferences ->  C/C++ ->  Build ->  Settings ->  Discovery

右侧: CDT GCC Build-in Compiler Settings --->>添加

3.右键属性: Properties ->  C/C++ Build ->  Settings ->  Tool Settings ->  GCC C++ Compiler ->  Dialect

添加 -std=c++11 到 other dialect flags 或者列表里面选择  ISO C++11

4.多线程:右键属性: Properties ->  C/C++ Build ->  Settings ->  Tool Settings -> GCC C++ Linker-->Libraries

添加pthread

针对Enable multithreading to use std::thread: Operation not permitted错误

posted on 2014-12-30 11:02  AI001  阅读(326)  评论(0编辑  收藏  举报

导航