开发者

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开发者_如何学Go 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜