Skip to main content
浚钱.1
Associate II
January 30, 2024
Question

MDK6.2.1 Error in. a file not found after generating MDK5.32 environment code

  • January 30, 2024
  • 2 replies
  • 2378 views

1.After generating the code, this. a file will directly display an exclamation mark;

347b96728ffb68981bb308b46bda66fd.png

2.I deleted this file again and then loaded it in. Compilation still reports errors.

1_0-1706605514277.png

 

3. The error message is as follows: There are no Chinese characters in the path.

 

Centrifuge_MC\Centrifuge_MC.axf: error: L6002U: Could not open file centrifuge_mc\libmp-g4-mdk-arm-armv7-m.o: No such file or directory

 

求解答。

 

    This topic has been closed for replies.

    2 replies

    浚钱.1
    浚钱.1Author
    Associate II
    January 30, 2024

    我重新试了一下,MC6.2.0的版本,生成没有问题。

    Visitor II
    February 19, 2024

    兄弟,刚刚我也出现这个问题,检查后发现找不到的这个库文件是因为生成的库文件名写错了。把 "MCSDK_v6.2.1-Full\MotorControl" 目录下的 "libmp-G4-MDK-ARM-ARMv7-M", 改为“libmp-G4-MDK-ARM_ARMv7-M”就能编译通过了。

    浚钱.1
    浚钱.1Author
    Associate II
    March 8, 2024

    哈哈,感谢感谢,我是把版本回退到6.2.0了,然后解决问题了。

    Visitor II
    April 24, 2024

    我把libmp-G4-MDK-ARM-ARMv7-M.a从工程中删除,也能编译成功,运行起来也正常啊
    看起来是冗余的库。