开发者

gtkmm include not working windows 7

开发者 https://www.devze.com 2023-02-21 03:16 出处:网络
i installed the gtkmm gui lib开发者_StackOverflowraries(for c++), but i can\'t get it to work. c:\\gtkmm64\\bin is on Path, but my ide says only the include files under c:\\mingw\\include\\something a

i installed the gtkmm gui lib开发者_StackOverflowraries(for c++), but i can't get it to work. c:\gtkmm64\bin is on Path, but my ide says only the include files under c:\mingw\include\something are there. i use netbeans as my ide, i run windows 7, my compiler is mingw.


Configuring Gtkmm to work can somewhat be a nightmare.

You need to do the following on project properties:

  • On "C++ compiler" section, you'll have to put all includes in the "Include Directories" section. Be aware that there are a lot of .h files sown there, not only gtkmm/include is needed. For example, glib/include will also be needed, etc.

  • On the "Linker" section, click in Libraries. You have to put there all libraries in the gtkmm package. As in the previous seciton, not only gtkmm/lib is needed: glib/lib, pango/lib, etc. will also be needed.

You're done when the compiler stops complaining.

0

精彩评论

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