更新时间:2022-10-14 23:00:49
更新请参阅下文
我试过Linux 1 :
p>首先,在构建选项下,为相关的编译器开关创建一个条目:
缩放:
使用g ++演示:
您可能需要勾选代码完成下的启用C ++ 11标准 复选框:
>
1 在Ubuntu Quantal上,不要使用distro版本 - 打开项目时崩溃。使用
deb http://repos.codelite.org/ubuntu/ quantal universe
I am using CodeLite 5.1 on Ubuntu QQ. By default, based on what was intalled previously with QQ and other tools, I have the gtCC and gt++ toolchains avialable. I always use gt++, which seems to get along OK with Boost.
Would like to get things running using C++ 11 - what steps do I need to take? Do I need to install C++ 11 libs?
Update See below
I tried on Linux1:
First, under build options, create an entry for the relevant compiler switch:
Zoomed:
Demonstration using g++:
You will likely want to tick the Enable C++11 Standard checkbox under "Code Completion" too:
1 On Ubuntu Quantal, don't use the distro version - it crashes on opening a project. Use
deb http://repos.codelite.org/ubuntu/ quantal universe