This article is connected to the original: http://blog.csdn.net/freewebsys/article/details/45921839 reproduced please indicate the source. 1, about CodeLite
CodeLite IDE is a powerful open source, Cross-platform C/s + + integrated development environment. Supports running under Windows, Linux, and MAC systems.
Highlight:
1. Code completion function is very powerful
2. Imitation vs. easy to get started
3. More Friendly interface
4. Integration with Subversion
5. Integration with Wxformbuilder
6. Function Jump function is powerful
Http://www.oschina.net/p/codelite+ide+for+c+cplusplus
Official website: http://codelite.org/ 2, using
began to use Code::block, later found that the interface is more complex, not very useful. So I changed the IDE. Feel the function enough, directly download installation can be.
Create a wxwidgets project.
Choose how to compile clang++
MAKE[1]: Wx-config:command not found
make[1]: Wx-config:command not found
Under the Mac, the command does not appear to be executing, stating that Wx-config cannot find the command.
Execute manually, and then replace the parameters.
$ wx-config--cxxflags
-i/usr/local/lib/wx/include/osx_cocoa-unicode-3.1-i/usr/local/include/wx-3.1-d_file_ offset_bits=64-dwxusingdll-d__wxmac__-d__wxosx__-d__wxosx_cocoa__
$ wx-config--libs
-L/usr/local/lib
Replace the configuration directly
When you encounter a problem:
Ar rcus./DEBUG/LIBTESTLIB.A @ "Demo_01.txt"
ar: @demo_01. Txt:no such file or directory
Indicates that there is a problem with the configuration. Settings-> build Settings-> compilers->-> Advanced, uncheck the button "Pass object list to the linker via file".
Compilation success can be run directly. Menu "Build" > "Run"
3, turn on debug mode
First install GDB.
$ brew Tap homebrew/dupes
$ brew Install GDB
Interrupt point, directly can be debugged. 4, Summary
This article is connected to the original: http://blog.csdn.net/freewebsys/article/details/45921839 reproduced please indicate the source.
Compared to the Code::block, Cdelite is still relatively easy to use, to do a simple demo, small tools is very convenient. At the same time the tool can be on the fast platform line.
Windows installation Configuration reference:
Http://codelite.org/LiteEditor/QuickStart
Add a new compilation environment:
Http://codelite.org/AddNewCompiler/AddNewCompiler