WxWidgets (2): an open-C + + PHP IDE-CodeLite IDE

Source: Internet
Author: User

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

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=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 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

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

  • 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.