WxWidgets (2): An easy-to-use C + + PHP open ide--codelite IDE

Source: Internet
Author: User
Tags wxwidgets codelite

This text connection: http://blog.csdn.net/freewebsys/article/details/45921839 reprint Please specify the source!

1, about CodeLite

The CodeLite IDE is a powerful open source, cross-platform, integrated development environment for C/s + +. Support includes running under Windows, Linux, and MAC systems.

Highlight:
1. The Code autocomplete function is very powerful
2. Imitation vs, easy to get started
3. More user-friendly interface
4. Integration with Subversion
5. Integration with Wxformbuilder
6. Function jump 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, download the installation directly.

Create a wxwidgets project.



Choose the Compilation Method clang++

make[1]wx-config: Command not foundmake[1]wx-config: Command not found

Under Mac, the command does not seem to execute, 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= - -dwxusingdll -d__wxmac__ -d__wxosx__ -d__wxosx_cocoa__$ wx-config --Libs- L/usr/Local/lib-frameworkIOKit-frameworkCarbon-frameworkCocoa-frameworkAudiotoolbox-frameworkSystem-frameworkOpengl-LWX_OSX_COCOAU_XRC-3.1 -lwx_osx_cocoau_html-3.1 -lwx_osx_cocoau_qa-3.1 -lwx_osx_cocoau_adv-3.1 -lwx_osx_cocoau_core-3.1 -lwx_baseu_xml-3.1 -lwx_baseu_net-3.1 -lwx_baseu-3.1 

Replace the configuration directly

When you encounter a problem:

ar rcus ./Debug/libtestlib.a @"demo_01.txt"fileordirectory

Indicates a problem with the configuration. Settings, Build Settings, Compilers, Advanced, uncheck the button "Pass object list to the linker via file".

The compilation is successful and can be run directly. Menu "Build" > "Run"

3. Turn on Debug mode

Install GDB first.

$ brew tap homebrew/dupes$ brew install gdb

Break point, directly can be debugged.

4, summary

This text connection: http://blog.csdn.net/freewebsys/article/details/45921839 reprint Please specify the source!

Compared to Code::block, Cdelite is still relatively useful, do a simple demo, gadgets are very convenient. At the same time the tool can be fast platform line.
Windows installation Configuration reference:
Http://codelite.org/LiteEditor/QuickStart
Add a new build environment:
Http://codelite.org/AddNewCompiler/AddNewCompiler

WxWidgets (2): An easy-to-use C + + PHP open ide--codelite IDE

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.