clionclion 怎么运行代码project中一个

A&power toolFor a power language
On-the-fly
code analysis
With CLion, you can create code that's beautiful and correct at the same time. Potential code issues are identified instantly...
...and fixed as you type! Be sure all the proper changes are handled automatically by CLion.
CLion also performs Data Flow analysis to find out all the cases of the unreachable code, infinite recursion and more.
Integrated debugger
Investigate and solve problems with ease through CLion's friendly debugger user interface with GDB or LLDB available as a backend.
Attach to local processes or debug remotely. Check disassembly view when sources are not available.
Inline variable view
Get the complete view of your project with variable values shown right in the editor as you debug.
Watches and variables view
Inspect the state of all the variable for a chosen function in the stack frame, or monitor variable/expression changes during the debug session.
Evaluate expression
Evaluate result of a function call or some complicated expression when stop at some execution point in the debug session.
Fully Integrated C/C++ Development Environment
as a project model, CLion handles your changes in CMake files automatically, using all the information from there during code editing and refactorings.
Embedded terminal
Run any command without leaving the IDE: locally or remotely using the SSH protocol. Depending on your platform, you can work with a command line prompt, Far, powershell, bash, or other tools.
The complete experience
Popular VCS supported out of the box include Subversion, Git, GitHub, Mercurial, CVS, Perforce (via plugin), and TFS.
CLion also seamlessly integrates with Google Test and Catch frameworks and supports Doxygen.
Keyboard-centric approach
To help you focus on code and raise your productivity, CLion has keyboard shortcuts for nearly all its features, actions and commands.
Vim fans are welcome to install the .
New Features
What’s New in CLion 2017.2
Check your code: Clang-Tidy&integration
CLion 2017.2 comes with Clang-Tidy integration which provides Clang-Tidy checks and quick-fixes bundled into CLion.
Better C++ support
CLion 2017.2 is focused on C++ parser correctness and C++ code analysis fixes. It also adds C++17 to the list of standards in the New Project wizard.
Don’t wait, be productive
With special focus on IDE performance, CLion 2017.2 comes with a set of cancelable actions such as CMake reload and Go to navigation actions.
Testimonials
customers say
Prof. Dr. Rodriguez-Losada,
biicode CTO
CLion is fantastic, finally the C++ high quality cross-platform IDE with CMake as first class build system we were waiting for.
A product that was impressive during the EAP versions. I’m looking forward to seeing where JetBrains will take it from here. Considering the quality of their other products the sky is the limit.
Tommy Andersen
Schilling A/S
@alex_braidwood
I would like to take this moment to say, CLion has quickly become my favorite IDE for C/C++. It just works. #jetbrains #CLion
Really liking @clion_ide for a new C++ project: lightweight, responsive, useful, good integrations. And most important, great vi emulation.
Jonathan Dursi
Companies worldwide trust JetBrains IDEs. Join the club!
Free 30-day trial
Check out other C/C++&tools
from JetBrains
Pick up the right tool for C and C++ development depending on your preferred toolchains and other requirements:为什么上面的这个是黑的,???????
Error:The C compiler "D:/Program Files/MinGW/bin/gcc.exe" is not able to compile a simple test program.It fails with the following output: &Change Dir: C:/Users/IYUE/.clion10/system/cmake/generated/8fc40/__default__/CMakeFiles/CMakeTmpRun Build Command:"D:/PROGRA~1/MinGW/bin/mingw32-make.exe" "cmTryCompileExec/fast"D:/PROGRA~1/MinGW/bin/mingw32-make.exe -f CMakeFilescmTryCompileExec.dirbuild.make CMakeFiles/cmTryCompileExec.dir/buildmingw32-make.exe[1]: Entering directory 'C:/Users/IYUE/.clion10/system/cmake/generated/8fc40/__default__/CMakeFiles/CMakeTmp'"D:Program FilesCLion 1.0.4bincmakebincmake.exe" -E cmake_progress_report C:UsersIYUE.clion10systemcmakegeneratedfc40__default__CMakeFilesCMakeTmpCMakeFiles 1Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.objD:PROGRA~1MinGWbingcc.exe -o CMakeFilescmTryCompileExec.dirtestCCompiler.c.obj -c C:UsersIYUE.clion10systemcmakegeneratedfc40__default__CMakeFilesCMakeTmptestCCompiler.cgcc.exe: error: CreateProcess: No such file or directoryCMakeFilescmTryCompileExec.dirbuild.make:56: recipe for target 'CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj' failedmingw32-make.exe[1]: Leaving directory 'C:/Users/IYUE/.clion10/system/cmake/generated/8fc40/__default__/CMakeFiles/CMakeTmp'mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj] Error 1Makefile:116: recipe for target 'cmTryCompileExec/fast' failedmingw32-make.exe: *** [cmTryCompileExec/fast] Error 2CMake will not be able to correctly generate this project.
编译链接都没过启动按钮肯定是黑的。代码没有问题。安装ide后是否改了编译链接命令或者配置?重新安装ide,cmake。安装步骤做
你所说的ide,和cmske,这些我都没有接触过啊!我就装的CLIon,和MinGW
哦!知道了,不过我重新装了一遍还是一样的结果
能不能帮我看看怎么回事,我实在是受不了写个代码还要在机器上装个虚拟机,运行VC6.0
这是我 的QQ,大神帮帮忙啊!
一样 的问题,求助大神,qq
一样的问题,,,很急,,就是弄不好,。。弄了一天了怎么回事呢
求助大神帮忙
Windows 平台搭建C语言...Clion 不是已经集成 Cmake 了吗?怎么还是有 make:not found 的错误? - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
已注册用户请 &
Clion 不是已经集成 Cmake 了吗?怎么还是有 make:not found 的错误?
20:03:09 +08:00 · 5525 次点击
第 1 条附言 &·&
22:26:34 +08:00
需要安装VS等IDE才会有C和C++编译器吗?
8 回复 &| &直到
23:58:31 +08:00
& & 20:18:44 +08:00
cmake 和 make 又不是一个东西
& & 20:35:32 +08:00 via Android
@ 我错了,这个应该是GCC没安装。
& & 22:49:20 +08:00
cmake只是生成makefile,事情还是由make来做的
& & 22:52:28 +08:00
Mingw有个make,不过程序名字不叫做make.exe而是mingw32-make这样的
& & 22:53:18 +08:00
@ 是MinGW缺少了GCC组件吗?还是什么原因呢?我安装了clion后,再解压了http://nuwen.net/mingw.html提供的离线包。
系统还没有装过其他的C/C++编译器。
& & 22:55:08 +08:00
@ 我是直接解压了http://nuwen.net/mingw.html提供的离线包。因为Mingw提供的在线下载速度太慢了。
初次接触Mingw,都不知道什么原因
似乎其他装了Clion的人都没出现过这种问题。
& & 23:53:29 +08:00
不要装 mingw 吧。。
装 Cygwin 64 位,安装过程中装上 gcc, g++, make 这三者就好。
我用的是 Cygwin,上回用 mingw 配置 Clion 时有一些符号没解析好,不知道为什么
& & 23:58:31 +08:00
@ 嗯嗯,我试试用 Cygwin
& · & 2811 人在线 & 最高记录 3541 & · &
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.0 · 49ms · UTC 06:01 · PVG 14:01 · LAX 23:01 · JFK 02:01? Do have faith in what you're doing.17:06 提问
clion如何搭建OpenGL开发环境,我是小白,希望有图和详细点,谢谢大虾
clion如何搭建OpenGL开发环境,我是小白,希望有图和详细点,谢谢大虾
按赞数排序
1、下载《OpenGL ES3.0 Programming guide》中所使用的源码,解压;
2、打开Clion,新建项目OpengLES项目,新建library,复制libEGL.lib、libGLESv2.lib下此目录下面,下载这两个gl库文件也可通过书中例子,安装gl访真模拟器(/resources/tools/opengl-es-emulator/),自动会把这两个库文件下载下来,然后配置到你的系统环境变量当中;
3、分别把刚才下载下来的源码的两个文件夹即Common、External复制到项目的根目录下面,源工程目录如下;
4、编写主工程CMakeLists.
cmake_minimum_required(VERSION 3.6)
project(opengles3)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
#设置输出路径
SET(EXECUTABLE_OUTPUT_PATH ${opengles3_SOURCE_DIR}/bin)
#设置静态链接库输出路径
SET(LIBRARY_OUTPUT_PATH ${opengles3_SOURCE_DIR}/lib)
#设置运行时输出路径
SET(RUNTIME_OUTPUT_DIRECTORY ${opengles3_SOURCE_DIR}/bin)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${opengles3_SOURCE_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${opengles3_SOURCE_DIR}/bin)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${opengles3_SOURCE_DIR}/bin)
#包含头文件目录
include_directories(${CMAKE_SOURCE_DIR}/External/Include)
#包含公共组件库目录
include_directories(${CMAKE_SOURCE_DIR}/Common/Include)
#添加子目录
add_subdirectory(Common)
#链接EGL、GLESv2 lib文件
set(TARGET_LIB
${CMAKE_SOURCE_DIR}/library/libGLESv2.lib
${CMAKE_SOURCE_DIR}/library/libEGL.lib
set(SOURCE_FILES Hello_Triangle.c)
add_executable(opengles3 ${SOURCE_FILES})
#链接库文件
target_link_libraries(opengles3 Common ${TARGET_LIB})
5、复制下载下来的源码中Hello_Triangle.c到主工程目录,点击运行,报错,出现此问题的原因是opengles3.exe找不到dll文件,把libEGL.dll、libGLESv2.dll复制到C:\Windows\SysWOW64(64位操作系统),如果是32位,刚复制到C:\Windows\System32即可,再次运行成功。
其他相关推荐}

我要回帖

更多关于 clion怎么使用 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信