问题描述
我只是在代码块中测试gtk,我从以下网址下载了这些库: []
i添加了mingw和gtk所有libs路径的所有包含路径,我在项目选项中添加了所有gtk静态库。
但我仍然得到找不到-lgtk-3 -lgobject-2.0 -lglib-2.0
中的问题[]
我该如何解决?
我尝试了什么:
我试图从链接库标签中删除它们,但后来我得到一些函数的未定义引用,如gtk_init等...
Hi, I'm just testing gtk in codeblocks, i downloaded the libraries from: Static GTK+3 for Windows | Tarnyko.net, serious side[^]
i added all the includes paths for mingw and gtk all the libs paths and i added all gtk static libs in the project options.
but i still get cannot find -lgtk-3 -lgobject-2.0 -lglib-2.0
Problem in Code::blocks Screen Shot[^]
how do i fix that?
What I have tried:
I have tried to remove them from the linked libraries tab, but then I get undefined references to some functions like gtk_init etc...
推荐答案
这篇关于如何在code :: blocks中链接gtk 3静态库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!