Comments (5)
删掉config.h中
#define HAVE_AVAHI 1
以及Makedefs文件DNSSDLIBS中的
-lavahi-client -lavahi-core -lavahi-common
from cups.
或者如果想要使用avachi的话,可以事先编译好avahi,把对应的头文件复制到arm-linux-androideabi/sysroot/usr/include
from cups.
好的,感谢您及时回复!
另外,您是否有编译过avahi?
if you want to enable avahi, you can put avahi header and library into toolchain sysroot. And libavahi-common,libavahi-core,libavahi-client for android could be found in my resposity.
from cups.
貌似不能用最新的NDK, 最新的移除了armeabi的支持 https://github.com/jianglei12138/avahi
from cups.
非常感谢!
from cups.
Related Issues (9)
- 大佬有研究过将cups编译成动态库移植到Android上? HOT 3
- 能否提供联系方式? HOT 11
- 您好,有问题需要请教,烦请把您微信号发我邮箱:[email protected]
- `extern char *setlocale` definition missed HOT 1
- cups编译的时候出现../cups/libcups.so: error: undefined reference to 'nl_langinfo',请问是哪个库没关联 HOT 2
- 编译时出错: fatal error: linux/lp.h: No such file or directory HOT 1
- 后台打开之后,点击增加打印机页面显示notfound HOT 1
- cups更改了什么东西?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cups.