当前位置:网站首页>海思调用接口之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)
边栏推荐
- Analyse des données dossiers d'apprentissage - - analyse simple de la variance à facteur unique avec Excel
- 【喜欢的诗词】好了歌
- 【板栗糖GIS】global mapper 如何通过dsm批量制作贴地等高线
- Learning records of data analysis (II) -- simple use of response surface method and design expert
- 静态文件显示问题
- Freshman learning sharing
- MySQL queries nearby data And sort by distance
- Jinglianwen technology's low price strategy helps AI enterprises reduce model training costs
- Lambda表达式:一篇文章带你通透
- Chow-Liu Tree
猜你喜欢

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

景联文科技低价策略帮助AI企业降低模型训练成本

Analyse des données dossiers d'apprentissage - - analyse simple de la variance à facteur unique avec Excel

设置单击右键可以选择用VS Code打开文件
![[Solved] Splunk: Cannot get username when all users are selected“](/img/13/1e824c8005701e21fc5b4e73308d53.png)
[Solved] Splunk: Cannot get username when all users are selected“

MySQL queries nearby data And sort by distance

AES高级加密协议的动机阐述

Construction of Hisilicon 3559 universal platform: draw a frame on the captured YUV image

AES高級加密協議的動機闡述

QT qsplitter splitter
随机推荐
Jatpack------LiveData
剑指 Offer II 099. 最小路径之和-双百代码
Application of containerization technology in embedded field
Mask R-CNN
[favorite poems] OK, song
Innovation strength is recognized again! Tencent security MSS was the pioneer of cloud native security guard in 2022
stop slave卡住--事务的事件没有复制完整
Go condition variable
Construction of Hisilicon 3559 universal platform: draw a frame on the captured YUV image
The kth largest element in the [leetcode] array [215]
The threshold value of fusing proportion cannot be changed with sentinel, and setting the slow call proportion has no effect
数据分析学习记录--用EXCEL完成简单的单因素方差分析
Boot actuator - Prometheus use
China Academy of information technology, Tsinghua University, Tencent security, cloud native security, industry university research and use strong alliance!
Distributed monitoring system ZABBIX
LC173. 二叉搜索树迭代器
Chow-Liu Tree
1px pixel compatibility of mobile terminal, 1px border
Detailed explanation and application of merging and sorting
【板栗糖GIS】global mapper 如何通过dsm批量制作贴地等高线