0

Some time ago I installed gloox library with the command sudo apt-get install libgloox-dev. But it is not working in netbeans, for example. I noticed that there are only .h files (with only function declarations) in /usr/include/gloox directory. Need your help...

4

2 回答 2

1

您需要配置项目依赖项才能使用库。您可以使用 <> 访问 Gloox 文件吗?如果是,则环境变量设置正确(应在 Ubuntu 中自动完成)

库(.so 文件)将位于 /usr/local/lib 中。您需要在 makefile 中将项目链接到它。在 netbeans 上,我认为它在项目属性-> c++ 编译器上。就个人而言,我使用 Cmake 生成我的 makefile

于 2012-10-24T19:41:18.157 回答
0

尝试从http://camaya.net/gloox/download下载库并按照安装说明进行操作。

于 2012-09-08T06:28:22.877 回答