在linux中使用 ./configure 时报错
·
./configure --build=编译平台 --host=运行平台 --target=目标平台
1. configure: error: cannot guess build type; you must specify one
解决办法:指定编译平台
./configure --build=arm
2. configure: error: Either a previously installed pkg-config or "glib-2.0 >= 2.16" could not be found. Please set GLIB_CFLAGS and GLIB_LIBS to the correct values or pass --with-internal-glib to configure to use the bundled copy.
解决办法:使用自带glib,添加参数
./configure --build=arm --with-internal-glib
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐


所有评论(0)