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