当前位置:网站首页>海思调用接口之Makefile配置
海思调用接口之Makefile配置
2022-07-02 22:10:00 【天未及海宽】
记录一下: 单独写一个简单的测试代码,其中调用海思的一些接口;其Makefile如下:
default:
arm-himix410-linux-gcc -I/home/wbk/640_pro/mpp/include
-L/home/wbk/640_pro/mpp/lib -L/home/wbk/640_pro/mpp/userApp/lib
-lpthread -lm lcd_move.c -o lcd_move
-lmpi -live -lupvqe -ldnvqe -lVoiceEngine -lpthread -lsecurec -ltde
clean:
rm lcd_move *.o -rf其中
-I 指定头文件
-L指定库路径
-o 编译后生成的可执行程序名
链接参数: -lmpi -live -lupvqe -ldnvqe -lVoiceEngine -lpthread -lsecurec 不然报一些错误找不到; 如错误:undefined reference to `xxx'
补充:-tde需要用到tde工具才加;
举一反三:
当调用一些开源库时;
(1) -I/指定头文件
(2) -L/指定 .a或.so
(3) 一些库很可能需要-l指定库名;如faac库, mp4v2库,sdl库等等..
-lpthread -ldl -lm -lfreetype -lSDL2 -lSDL2_ttf -lfaac -lmp4v2 -lsecurec -D$(ISP_VERSION) -L$(SDL_LIB) -L$(MP4V2_LIB) -L$(FAAC_LIB) -L$(AV_LIB)
边栏推荐
- Antd component upload uploads xlsx files and reads the contents of the files
- PMP project integration management
- 数据标注典型案例,景联文科技如何助力企业搭建数据方案
- Configuration clic droit pour choisir d'ouvrir le fichier avec vs Code
- STM32串口DAM接收253字节就死机原因排查
- MySQL reset password, forget password, reset root password, reset MySQL password
- Tronapi wave field interface - source code without encryption - can be opened twice - interface document attached - packaging based on thinkphp5 - detailed guidance of the author - July 1, 2022 08:43:
- Easyclick, EC Quanlang network verification source code
- 严守工期,确保质量,这家AI数据标注公司做到了!
- 中国信通院、清华大学、腾讯安全,云原生安全产学研用强强联合!
猜你喜欢

`Usage of ${}`

Array advanced improvement

The motivation of AES Advanced Encryption Protocol

P1007 single log bridge
![P7072 [CSP-J2020] 直播获奖](/img/bc/fcbc2b1b9595a3bd31d8577aba9b8b.png)
P7072 [CSP-J2020] 直播获奖

海思3559万能平台搭建:在截获的YUV图像上画框

STM32之ADC

Higher order operation of bits

Methods to solve the tampering of Chrome browser and edeg browser homepage

Motivation du Protocole de chiffrement avancé AES
随机推荐
Tronapi-波场接口-源码无加密-可二开--附接口文档-基于ThinkPHP5封装-作者详细指导-2022年7月1日08:43:06
移动端 1px 像素兼容性问题,实现1px 边框
[Luogu p1541] tortoise chess [DP]
海思3559万能平台搭建:在截获的YUV图像上旋转操作
go 多线程数据搜索
xshell配置xforward转发火狐浏览器
The kth largest element in the [leetcode] array [215]
Gas station [problem analysis - > problem conversion - > greed]
Introduction and response to high concurrency
mysql重置密码,忘记密码,重置root密码,重置mysql密码
P7072 [CSP-J2020] 直播获奖
Go language sqlx library operation SQLite3 database addition, deletion, modification and query
Mask R-CNN
Jerry's charge unplugged, unable to touch the boot [chapter]
【板栗糖GIS】global mapper 如何通过dsm批量制作贴地等高线
1px pixel compatibility of mobile terminal, 1px border
Qt QSplitter拆分器
Xshell configuration xforward forwarding Firefox browser
Learning records of data analysis (II) -- simple use of response surface method and design expert
odoo13搭建医院HRP环境(详细步骤)