Related settings for using dedevil: Lib DLL # include in VC

Source: Internet
Author: User

Recently, I want to build an art UI resource packaging tool to integrate a pile of small images into several large images of the specified specifications, and use the graphics library dedevil. I started to get N for a long time when I joined dedevil in the VC project. Then I discussed it with my colleagues and it became clearer. I would like to share with you the settings for referencing libraries in VC.

First, we will introduce the Directory and file structure of the dedevil Library:

:

Include ::

Lib:

Procedure:

1. First, put the entire library folder under your project directory. For example, if the project is a project, put it in the directory: Project/dedevil ......

2. Add the Lib file to the project:

3. Set the path of the additional database:

4. Place the corresponding DLL file in the project working directory (the same directory as the generated EXE file ):

5. Add the library header file inclusion directory to the additional project inclusion directory to use the dedevil header file:

6. Because the header file ilut. h In dedevil references other files, such as # include <il/IL. h>, we need to set compatibility. Add one more containing directory to the project:

Now, in our project file, introduce the corresponding header file to use the dedevil function, such:

# Include "Il. H"

# Include "ilu. H"

# Include "ilut. H"

.........................

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.