白衣

白衣

0个粉丝

3

问答

0

专栏

0

资料

白衣  发布于  2021-11-11 09:41:24
采纳率 0%
3个问答
3195

hi3516Dv300 编译出错

 

这里用3516Dv300的板子读一个红外相机的YUV和temp数据,用demo已经实现。然后重写自己的程序的时候,编译出现了error。没有这方面的调试经验,希望大佬能指点一二。下面是报错的信息、makefile还有部分代码。

/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ai.o): In function hi_mpi_ai_get_record_vqe_attr': mpi_ai.c:(.text.hi_mpi_ai_get_record_vqe_attr+0xd8): undefined reference toHI_UPVQE_GetConfig’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ai.o): In function hi_mpi_ai_get_talk_vqe_attr': mpi_ai.c:(.text.hi_mpi_ai_get_talk_vqe_attr+0xd8): undefined reference toHI_UPVQE_GetConfig’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ai.o): In function mpi_ai_chn_get_frm_proc': mpi_ai.c:(.text.mpi_ai_chn_get_frm_proc+0x450): undefined reference toHI_UPVQE_WriteFrame’
mpi_ai.c:(.text.mpi_ai_chn_get_frm_proc+0x4b4): undefined reference to HI_UPVQE_ReadFrame' mpi_ai.c:(.text.mpi_ai_chn_get_frm_proc+0x594): undefined reference toHI_UPVQE_GetConfig’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ai.o): In function mpi_ai_get_vqe_attr': mpi_ai.c:(.text.mpi_ai_get_vqe_attr+0xdc): undefined reference toHI_UPVQE_GetConfig’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ai.o): In function mpi_ai_enable_resmp': mpi_ai.c:(.text.mpi_ai_enable_resmp+0x174): undefined reference toHI_UPVQE_Destroy’
mpi_ai.c:(.text.mpi_ai_enable_resmp+0x1a8): undefined reference to HI_UPVQE_Create' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ai.o): In functionmpi_ai_disable_resmp’:
mpi_ai.c:(.text.mpi_ai_disable_resmp+0x1a4): undefined reference to HI_UPVQE_Destroy' mpi_ai.c:(.text.mpi_ai_disable_resmp+0x1bc): undefined reference toHI_UPVQE_Create’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ai.o): In function hi_mpi_ai_set_record_vqe_attr': mpi_ai.c:(.text.hi_mpi_ai_set_record_vqe_attr+0x500): undefined reference toHI_UPVQE_Destroy’
mpi_ai.c:(.text.hi_mpi_ai_set_record_vqe_attr+0x5e8): undefined reference to HI_UPVQE_Create' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ai.o): In functionhi_mpi_ai_set_talk_vqe_attr’:
mpi_ai.c:(.text.hi_mpi_ai_set_talk_vqe_attr+0x468): undefined reference to HI_UPVQE_Destroy' mpi_ai.c:(.text.hi_mpi_ai_set_talk_vqe_attr+0x538): undefined reference toHI_UPVQE_Create’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ai.o): In function hi_mpi_ai_enable_vqe': mpi_ai.c:(.text.hi_mpi_ai_enable_vqe+0x2bc): undefined reference toHI_UPVQE_Destroy’
mpi_ai.c:(.text.hi_mpi_ai_enable_vqe+0x2f4): undefined reference to HI_UPVQE_Create' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ai.o): In functionhi_mpi_ai_disable_vqe’:
mpi_ai.c:(.text.hi_mpi_ai_disable_vqe+0x144): undefined reference to HI_UPVQE_Destroy' mpi_ai.c:(.text.hi_mpi_ai_disable_vqe+0x17c): undefined reference toHI_UPVQE_Create’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ai.o): In function hi_mpi_ai_disable_chn': mpi_ai.c:(.text.hi_mpi_ai_disable_chn+0x150): undefined reference toHI_UPVQE_Destroy’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ai.o): In function HI_MPI_AI_SetVqeVolume': mpi_ai.c:(.text.HI_MPI_AI_SetVqeVolume+0x94): undefined reference toHI_UPVQE_SetVolume’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ai.o): In function HI_MPI_AI_GetVqeVolume': mpi_ai.c:(.text.HI_MPI_AI_GetVqeVolume+0x80): undefined reference toHI_UPVQE_GetVolume’
/tmp/cci1klCR.o: In function SAMPLE_COMM_SYS_Exit': sample_comm_sys.c:(.text+0x7dc): undefined reference toSAMPLE_COMM_VO_Exit’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ao.o): In function mpi_ao_get_vqe_attr': mpi_ao.c:(.text.mpi_ao_get_vqe_attr+0xf4): undefined reference toHI_DNVQE_GetConfig’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ao.o): In function hi_mpi_ao_clear_chn_buf': mpi_ao.c:(.text.hi_mpi_ao_clear_chn_buf+0x148): undefined reference toHI_DNVQE_Destroy’
mpi_ao.c:(.text.hi_mpi_ao_clear_chn_buf+0x178): undefined reference to HI_DNVQE_Create' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ao.o): In functionhi_mpi_ao_set_vqe_attr’:
mpi_ao.c:(.text.hi_mpi_ao_set_vqe_attr+0x2d8): undefined reference to HI_DNVQE_Destroy' mpi_ao.c:(.text.hi_mpi_ao_set_vqe_attr+0x370): undefined reference toHI_DNVQE_Create’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ao.o): In function hi_mpi_ao_enable_vqe': mpi_ao.c:(.text.hi_mpi_ao_enable_vqe+0x1f4): undefined reference toHI_DNVQE_Destroy’
mpi_ao.c:(.text.hi_mpi_ao_enable_vqe+0x22c): undefined reference to HI_DNVQE_Create' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ao.o): In functionhi_mpi_ao_disable_vqe’:
mpi_ao.c:(.text.hi_mpi_ao_disable_vqe+0xfc): undefined reference to HI_DNVQE_Destroy' mpi_ao.c:(.text.hi_mpi_ao_disable_vqe+0x128): undefined reference toHI_DNVQE_Create’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ao.o): In function mpi_ao_enable_resmp': mpi_ao.c:(.text.mpi_ao_enable_resmp+0xdc): undefined reference toHI_DNVQE_Destroy’
mpi_ao.c:(.text.mpi_ao_enable_resmp+0x10c): undefined reference to HI_DNVQE_Create' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ao.o): In functionmpi_ao_disable_resmp’:
mpi_ao.c:(.text.mpi_ao_disable_resmp+0x17c): undefined reference to HI_DNVQE_Destroy' mpi_ao.c:(.text.mpi_ao_disable_resmp+0x1ac): undefined reference toHI_DNVQE_Create’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ao.o): In function hi_mpi_ao_disable_chn': mpi_ao.c:(.text.hi_mpi_ao_disable_chn+0xfc): undefined reference toHI_DNVQE_Destroy’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(mpi_ao.o): In function hi_mpi_ao_send_frame': mpi_ao.c:(.text.hi_mpi_ao_send_frame+0x5e0): undefined reference toHI_DNVQE_WriteFrame’
mpi_ao.c:(.text.hi_mpi_ao_send_frame+0x6a8): undefined reference to HI_DNVQE_ReadFrame' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In functionclose_g711u_encoder’:
audio_voice_adp.c:(.text.close_g711u_encoder+0x18): undefined reference to HI_VOICE_EncReset' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In functionopen_adpcm_encoder’:
audio_voice_adp.c:(.text.open_adpcm_encoder+0x8c): undefined reference to HI_VOICE_EncReset' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In functionclose_adpcm_encoder’:
audio_voice_adp.c:(.text.close_adpcm_encoder+0x14): undefined reference to HI_VOICE_EncReset' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In functionopen_g726_encoder’:
audio_voice_adp.c:(.text.open_g726_encoder+0x8c): undefined reference to HI_VOICE_EncReset' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In functionclose_g726_encoder’:
audio_voice_adp.c:(.text.close_g726_encoder+0x18): undefined reference to HI_VOICE_EncReset' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In functionencode_g711a_frm’:
audio_voice_adp.c:(.text.encode_g711a_frm+0x84): undefined reference to HI_VOICE_EncodeFrame' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In functionencode_g711u_frm’:
audio_voice_adp.c:(.text.encode_g711u_frm+0x84): undefined reference to HI_VOICE_EncodeFrame' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In functionencode_adpcm_frm’:
audio_voice_adp.c:(.text.encode_adpcm_frm+0x90): undefined reference to HI_VOICE_EncodeFrame' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In functionencode_g726_frm’:
audio_voice_adp.c:(.text.encode_g726_frm+0x84): undefined reference to HI_VOICE_EncodeFrame' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In functionclose_g711u_decoder’:
audio_voice_adp.c:(.text.close_g711u_decoder+0x18): undefined reference to HI_VOICE_DecReset' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In functionreset_g711u_decoder’:
audio_voice_adp.c:(.text.reset_g711u_decoder+0x14): undefined reference to HI_VOICE_DecReset' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In functionopen_adpcm_decoder’:
audio_voice_adp.c:(.text.open_adpcm_decoder+0x8c): undefined reference to HI_VOICE_DecReset' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In functionclose_adpcm_decoder’:
audio_voice_adp.c:(.text.close_adpcm_decoder+0x14): undefined reference to HI_VOICE_DecReset' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In functionreset_adpcm_decoder’:
audio_voice_adp.c:(.text.reset_adpcm_decoder+0x10): undefined reference to HI_VOICE_DecReset' /home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o):audio_voice_adp.c:(.text.open_g726_decoder+0x8c): more undefined references toHI_VOICE_DecReset’ follow
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In function decode_g711u_frm': audio_voice_adp.c:(.text.decode_g711u_frm+0x9c): undefined reference toHI_VOICE_DecodeFrame’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In function decode_adpcm_frm': audio_voice_adp.c:(.text.decode_adpcm_frm+0x9c): undefined reference toHI_VOICE_DecodeFrame’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In function decode_g726_frm': audio_voice_adp.c:(.text.decode_g726_frm+0x9c): undefined reference toHI_VOICE_DecodeFrame’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In function open_g711a_encoder': audio_voice_adp.c:(.text.open_g711a_encoder+0x3c): undefined reference toHI_VOICE_EncReset’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In function open_g711u_encoder': audio_voice_adp.c:(.text.open_g711u_encoder+0x4c): undefined reference toHI_VOICE_EncReset’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In function open_g711a_decoder': audio_voice_adp.c:(.text.open_g711a_decoder+0x3c): undefined reference toHI_VOICE_DecReset’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/libmpi.a(audio_voice_adp.o): In function open_g711u_decoder': audio_voice_adp.c:(.text.open_g711u_decoder+0x4c): undefined reference toHI_VOICE_DecReset’
/home/v300/3516Dv300/Hi3516CV500_SDK_V2.0.2.0/smp/a7_linux/mpp/lib/lib_hicalcflicker.a(isp_calcflicker.o): In function ISP_UseVGSCalcLuma': isp_calcflicker.c:(.text.ISP_UseVGSCalcLuma+0x44): undefined reference toHI_MPI_VGS_BeginJob’
isp_calcflicker.c:(.text.ISP_UseVGSCalcLuma+0xbc): undefined reference to HI_MPI_VGS_AddLumaTaskArray' isp_calcflicker.c:(.text.ISP_UseVGSCalcLuma+0xcc): undefined reference toHI_MPI_VGS_EndJob’
isp_calcflicker.c:(.text.ISP_UseVGSCalcLuma+0xdc): undefined reference to `HI_MPI_VGS_CancelJob’

————————————————————————————————————————————

不知道是不是makefile里库的连接出了问题,我是按照demo里面的smp_linux.mak里面的导入顺序写的,不知道对不对~~~·

——————————————————————————————————————————————————————————————————————————————
工程里就引用了demo里的这几个源文件

——————————————————————————————————————————————————————————————————————————
麻烦大佬帮忙看看,感激不尽!!

我来回答
回答3个
时间排序
认可量排序

白衣

0个粉丝

3

问答

0

专栏

0

资料

白衣 2021-11-11 09:56:35
认可0

感觉是有些库没包含完整

Tracy_9216

2个粉丝

6

问答

79

专栏

29

资料

Tracy_9216 2022-03-31 19:16:21
认可0

很显然这是有库没有链接

电院院长

1个粉丝

0

问答

0

专栏

9

资料

电院院长 2022-04-02 23:18:11
认可0

库没有被链接,很常见的问题,你看看是有哪些头文件是不是没有被包含,

或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区