简体   繁体   中英

Can't work with gloox library in ubuntu 12.04 64-bit

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...

You need to configure your project dependencies in order to use a library. Are you able to access Gloox files using <> ? If yes the environment variable is set correctly (should be done automatically in Ubuntu)

The library (.so file) will be in /usr/local/lib. You need to link the project against it in your makefile. On netbeans I think it's on project properties->c++ compiler. Personally, I use Cmake to generate my makefiles

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM