0

我在文档中找到了函数: gtk_entry_set_input_purpose()来设置 gtkentry 的输入方法,但是在使用它时,gcc 无法识别它,它给了我这个错误

implicit declaration of function ‘gtk_entry_set_input_purpose’ [-Wimplicit-function-declaration]
undefined reference to `gtk_entry_set_input_purpose'

问题出在哪里?

4

1 回答 1

0

我认为这是一个链接问题,在链接所有库后用 windows 成功编译,

于 2014-11-30T14:07:33.670 回答