简体   繁体   中英

How to Configure Visual Studio 2010 to run GEGL library?

Using the tutorial of Compiling GIMP I have compiled GIMP, GEGL, Babl in windows. i had some errors, but those were on GIMP. i am not concerned about GIMP right now. i just want to use the GEGL libraries to create some APIs in visual studio and run them. Now, my question is how to configure the Visual Studio for this. what changes should i make in the "project property"? what should i add in the "include directory", Library Directory? i just want to run a simple code, gegl initialization...

#include <gegl.h>
int main(int argc, char **argv)
{
gegl_init (&argc, &argv);
    // other GEGL code
gegl_exit ();
}

Put the directory where the header files are located into the Additional Include Directories of the C/C++ section.

Put the directories where the lib files are in the Additional Library Directories of the Linker/General section.

Put the names of the lib files in the Additional Dependency blank of the Linker/Input section.

I don't know this particular library, but if it has dlls, you'll need to copy those into the directory with your .exe.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM