博客
关于我
macos上使用xcode编译dlib给ios使用
阅读量:274 次
发布时间:2019-03-01

本文共 607 字,大约阅读时间需要 2 分钟。

参考

下载dlib19.16并解压

 

cd examplesmkdir buildcd buildcmake -G Xcode ..cmake --build . --config Release #这一步等的时间比较长,耐心一点

CMake Error: Xcode 1.5 not supported.错误解决

编译成功以后cd dlib_build/Release

$ pwd

/Users/deyi/Desktop/code/dlib-19.16/examples/build/dlib_build/Release
deyideMac:Release deyi$ ls
libdlib.a
deyideMac:Release deyi$

 

打开examples.xcproject,配置为ios

编译看到

i$ lipo  -info libdlib.a 

input file libdlib.a is not a fat file
Non-fat file: libdlib.a is architecture: arm64
deyideMac:Debug-iphoneos deyi$ pwd
/Users/deyi/Desktop/code/dlib-19.16/examples/build/dlib_build/Debug-iphoneos
deyideMac:Debug-iphoneos deyi$ 
 

转载地址:http://fyaa.baihongyu.com/

你可能感兴趣的文章
Mysql中varchar类型数字排序不对踩坑记录
查看>>
MySQL中一条SQL语句到底是如何执行的呢?
查看>>
MySQL中你必须知道的10件事,1.5万字!
查看>>
MySQL中使用IN()查询到底走不走索引?
查看>>
Mysql中使用存储过程插入decimal和时间数据递增的模拟数据
查看>>
MySql中关于geometry类型的数据_空的时候如何插入处理_需用null_空字符串插入会报错_Cannot get geometry object from dat---MySql工作笔记003
查看>>
mysql中出现Incorrect DECIMAL value: '0' for column '' at row -1错误解决方案
查看>>
mysql中出现Unit mysql.service could not be found 的解决方法
查看>>
mysql中出现update-alternatives: 错误: 候选项路径 /etc/mysql/mysql.cnf 不存在 dpkg: 处理软件包 mysql-server-8.0的解决方法(全)
查看>>
Mysql中各类锁的机制图文详细解析(全)
查看>>