STM32 DSP库MDK VC5\VC6编译错误: 256, (const float64_t *)twiddleCoefF64_256, armBitRevIndexTableF64_256,「建议收藏」

STM32 DSP库MDK VC5\VC6编译错误: 256, (const float64_t *)twiddleCoefF64_256, armBitRevIndexTableF64_256,「建议收藏」D:/Keil_v5/Arm/Packs/ARM/CMSIS/5.7.0/CMSIS/DSP/Source/CommonTables/arm_const_structs.c(65):error:unknowntypename‘arm_cfft_instance_f64’;didyoumean‘arm_cfft_instance_f32’?constarm_cfft_instance_f64arm_cfft_sR_f64_len256={^~~~~~~~~~~~~~~~~~~~~

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺

D:/Keil_v5/Arm/Packs/ARM/CMSIS/5.7.0/CMSIS/DSP/Source/CommonTables/arm_const_structs.c(65): error: unknown type name ‘arm_cfft_instance_f64’; did you mean ‘arm_cfft_instance_f32’?

const arm_cfft_instance_f64 arm_cfft_sR_f64_len256 = {

^~~~~~~~~~~~~~~~~~~~~

arm_cfft_instance_f32

D:/ST/Repository/STM32Cube_FW_H7_V1.9.0/Drivers/CMSIS/DSP/Include/arm_math.h(2272): note: ‘arm_cfft_instance_f32’ declared here

} arm_cfft_instance_f32;

^

D:/Keil_v5/Arm/Packs/ARM/CMSIS/5.7.0/CMSIS/DSP/Source/CommonTables/CommonTables.c(30): warning: In file included from…

D:/Keil_v5/Arm/Packs/ARM/CMSIS/5.7.0/CMSIS/DSP/Source/CommonTables/arm_const_structs.c(66): error: use of undeclared identifier ‘ARMBITREVINDEXTABLEF64_256_TABLE_LENGTH’

256, (const float64_t *)twiddleCoefF64_256, armBitRevIndexTableF64_256, ARMBITREVINDEXTABLEF64_256_TABLE_LENGTH

问题如下图,编译STM32H7的DSP库源码出错,原因也比较简单,要注意使用Cortex-Mx的DSP库,在包含头文件时直接添加路径Libraries\CMSIS\Include里面的头文件即可,而不需要添加Libraries\CMSIS\DSP\Include,这是因为路径Libraries\CMSIS\Include里面已经包含了DSP库的头文件。这个错误就是因为多包含了Libraries\CMSIS\DSP\Include
路径,具体为啥,可能是因为通过宏选择编译出了问题,有的不需要编译的也编译了,结果就出问题了。

在这里插入图片描述

在这里插入图片描述

编译成功如下图所示:
在这里插入图片描述

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/170092.html原文链接:https://javaforall.net

(0)
上一篇 2022年8月12日 上午6:00
下一篇 2022年8月12日 上午6:16


相关推荐

  • 御用导航提示页面_终实现微信位置发送到汽车导航 越用越好用

    御用导航提示页面_终实现微信位置发送到汽车导航 越用越好用我们使用微信,其中一个非常好用的功能就是发送位置。在朋友聚会或者去朋友家做客时,只需朋友发送一个微信用微信位置,我们就非常清楚的得知目的地,直接把这个位置推送给手机里的导航软件,并发起导航。然而对于习惯使用中控屏导航的车友来说,这个过程脱节了。微信位置只能使用手机导航,不能直接推送到车载导航。手动输入,无疑更加烦躁,担心输错,还要确认好几次。在最新的高德地图车机版中,我们留意到更新中“手…

    2022年5月30日
    322
  • android listview添加headview

    android listview添加headviewlistview添加headview后的点击事件1、头部view:设置view的点击时间,用于屏蔽listview的item的点击事件 ViewheaderView=getLayoutInflater().inflate(R.layout.listhead,null); Buttonbtn=(Button)headerView.findViewById(R.id.bu

    2022年7月22日
    10
  • tess4j3.2.1识别中英文

    tess4j3.2.1识别中英文1.测试代码publicclassTesseractExample{ publicstaticvoidmain(String[]args)throwsException{ //1.本地 //FileimageFile=newFile("C:\\wangl\\eurotext.tif"); //InputStreamis=…

    2022年6月6日
    37
  • 各种机械键盘轴的差别,究竟什么轴好

    各种机械键盘轴的差别,究竟什么轴好

    2021年12月10日
    187
  • html5 sexteen,Teens to Get Sex Tutors

    html5 sexteen,Teens to Get Sex TutorsShanghai’sfemaleuniversitystudentswillberecruitedaspartofathree-yearprogramtoprovidesexeducationtoteenagegirls.TheBaoshanSubdistrictinZhabeiDistricthasbeguntheprojecttoenlis…

    2022年5月24日
    33
  • realsense深度图像保存方法[通俗易懂]

    realsense深度图像保存方法[通俗易懂]一般使用realsense时会保存视频序列,当保存深度图像时,需要注意保存的图像矩阵的格式,不然可能造成深度值的丢失。在众多图像库中,一般会使用opencv中的imwrite()函数进行深度图像的保存。一般深度图像中深度值的单位是mm,因此一般使用np.uint16作为最终数据格式保存。例子:importnumpyasnpimportcv2deffun1(…

    2022年4月25日
    35

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号