k210在windows下编译openmv的问题



  • 我在windows下编译OpenMV for Kendryte K210,使用的toolchain是官网下载的kendryte-toolchain-win-amd64-8.2.0-20190213,在编译过程中,build可以正常进行,但是编译时有以下错误:

    E:\k210\kendryte-openmv-master\build>mingw32-make
    [  2%] Building C object lib/CMakeFiles/kendryte.dir/bsp/crt.S.obj
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S: Assembler messages:
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:79: Error: unrecognized opcode `fmv.d.x f0,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:80: Error: unrecognized opcode `fmv.d.x f1,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:81: Error: unrecognized opcode `fmv.d.x f2,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:82: Error: unrecognized opcode `fmv.d.x f3,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:83: Error: unrecognized opcode `fmv.d.x f4,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:84: Error: unrecognized opcode `fmv.d.x f5,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:85: Error: unrecognized opcode `fmv.d.x f6,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:86: Error: unrecognized opcode `fmv.d.x f7,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:87: Error: unrecognized opcode `fmv.d.x f8,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:88: Error: unrecognized opcode `fmv.d.x f9,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:89: Error: unrecognized opcode `fmv.d.x f10,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:90: Error: unrecognized opcode `fmv.d.x f11,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:91: Error: unrecognized opcode `fmv.d.x f12,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:92: Error: unrecognized opcode `fmv.d.x f13,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:93: Error: unrecognized opcode `fmv.d.x f14,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:94: Error: unrecognized opcode `fmv.d.x f15,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:95: Error: unrecognized opcode `fmv.d.x f16,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:96: Error: unrecognized opcode `fmv.d.x f17,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:97: Error: unrecognized opcode `fmv.d.x f18,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:98: Error: unrecognized opcode `fmv.d.x f19,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:99: Error: unrecognized opcode `fmv.d.x f20,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:100: Error: unrecognized opcode `fmv.d.x f21,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:101: Error: unrecognized opcode `fmv.d.x f22,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:102: Error: unrecognized opcode `fmv.d.x f23,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:103: Error: unrecognized opcode `fmv.d.x f24,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:104: Error: unrecognized opcode `fmv.d.x f25,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:105: Error: unrecognized opcode `fmv.d.x f26,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:106: Error: unrecognized opcode `fmv.d.x f27,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:107: Error: unrecognized opcode `fmv.d.x f28,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:108: Error: unrecognized opcode `fmv.d.x f29,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:109: Error: unrecognized opcode `fmv.d.x f30,x0'
    E:\k210\kendryte-openmv-master\lib\bsp\crt.S:110: Error: unrecognized opcode `fmv.d.x f31,x0'
    mingw32-make[2]: *** [lib\CMakeFiles\kendryte.dir\build.make:62: lib/CMakeFiles/kendryte.dir/bsp/crt.S.obj] Error 1
    mingw32-make[1]: *** [CMakeFiles\Makefile2:196: lib/CMakeFiles/kendryte.dir/all] Error 2
    mingw32-make: *** [Makefile:83: all] Error 2
    

    麻烦问一下该如何解决呢



  • @Mork 您好,确认了一下您的问题,是新版工具链暂时关闭了 D 扩展导致的。您可以在这里下载20190212版本来进行编译。



  • @linzhanjie 请问有新的工具链的发行版本吗?



  • @kami 您好,新的工具链可以从kendryte-gnu-toolchain上下载源码编译



  • @manageryzy 请问一下新工具链在哪里可以下载呢,官网上现在只有kendryte-toolchain-win-amd64-8.2.0-20190213的版本啊



  • This post is deleted!


  • @manageryzy
    0_1557388726249_question.png
    0_1557388745480_question2.png

    根据使用教程,是需要去官网下载,但是我现在使用的就是官网下载的版本了,
    请问一下新版本的toolchain在哪里下载呢

    还是说我应该使用https://github.com/kendryte/kendryte-gnu-toolchain中的toolchain,在Ubuntu下联合编译之后在Windows下使用么
    谢谢



  • This post is deleted!


  • This post is deleted!

  • Staff

    用新工具链编译。