Linux codelite sets the path of the library file and header file

Source: Internet
Author: User
Tags codelite

From: http://blog.sina.com.cn/s/blog_59b6af690100xbft.html

Two steps

1. Add the header file path
Create a project (WorkspaceProject), open buildsettings in the settings menu...
In the pop-up dialog box, expand GNU g ++ in the Tree View on the left, and fill in the header file path in the edit box following export depath on the right. Click OK to close the dialog box.
2. Add a link library
Go to the workspace tab in workspaceview on the left of codelite, right-click the next layer (Project) of the workspace name, select Settings, and select the pop-up dialog box in configuration type: globalsettings; enter the linker tab and enter the above library in options.
After the above settings, You can compileProgramIf you need to implementCodeNote:
1. Choose Settings> tag settings. The tagsoptions dialog box is displayed.
2. Go to the include files tab.
3. In the above list, click Add... on the right to add the header file path added above one by one.
4. Click OK to close the dialog box.
5. Open the menu workspace> retag workspace (full.

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.