开发环境搭建--make报错

[复制链接]
查看1660 | 回复10 | 2023-7-28 10:25:12 | 显示全部楼层 |阅读模式
参考了这里的教程https://bl-mcu-sdk.readthedocs.i ... ed/windows_cmd.html


                               
登录/注册后可看大图

不知道咋搞了。。。
  1. C:\0_MCU\ai-thinker\aithinker_Ai-M6X_SDK-master\examples\peripherals\gpio\gpio_interrupt>make
  2. ./../../../../tools/cmake/bin/cmake.exe -S . -B build -G "MinGW Makefiles" -DCROSS_COMPILE=riscv64-unknown-elf- -DCHIP=bl616 -DCPU_ID= -DBOARD=bl616dk -DBOARD_DIR= -DCONFIG_DEBUG=y -DCONFIG_ROMAPI=y -DCONFIG_USB_HS=y -DCONFIG_COMX=COM5 -DCMAKE_EXPORT_COMPILE_COMMANDS=OFF -DCONFIG_TLSF=y
  3. process_begin: CreateProcess(NULL, ./../../../../tools/cmake/bin/cmake.exe -S . -B build -G "MinGW Makefiles" -DCROSS_COMPILE=riscv64-unknown-elf- -DCHIP=bl616 -DCPU_ID= -DBOARD=bl616dk -DBOARD_DIR= -DCONFIG_DEBUG=y -DCONFIG_ROMAPI=y -DCONFIG_USB_HS=y -DCONFIG_COMX=COM5 -DCMAKE_EXPORT_COMPILE_COMMANDS=OFF -DCONFIG_TLSF=y, ...) failed.
  4. make (e=2): 系统找不到指定的文件。
  5. make: *** [../../../../project.build:50: build] Error 2
复制代码


回复

使用道具 举报

xiaoqi976633690 | 2023-7-28 10:25:37 | 显示全部楼层
  1. C:\0_MCU\ai-thinker\aithinker_Ai-M6X_SDK-master\examples\peripherals\gpio\gpio_interrupt>make -v
  2. GNU Make 4.2.1
  3. Built for x86_64-w64-mingw32
  4. Copyright (C) 1988-2016 Free Software Foundation, Inc.
  5. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  6. This is free software: you are free to change and redistribute it.
  7. There is NO WARRANTY, to the extent permitted by law.
复制代码
回复 支持 反对

使用道具 举报

xiaoqi976633690 | 2023-7-28 10:25:53 | 显示全部楼层
  1. C:\0_MCU\ai-thinker\aithinker_Ai-M6X_SDK-master\examples\peripherals\gpio\gpio_interrupt>riscv64-unknown-elf-gcc -v
  2. Using built-in specs.
  3. COLLECT_GCC=riscv64-unknown-elf-gcc
  4. COLLECT_LTO_WRAPPER=c:/0_mcu/ai-thinker/toolchain_gcc_t-head_windows-master/bin/../libexec/gcc/riscv64-unknown-elf/10.2.0/lto-wrapper.exe
  5. Target: riscv64-unknown-elf
  6. Configured with: /mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/./source/riscv/riscv-gcc/configure --target=riscv64-unknown-elf --host=i686-w64-mingw32 --with-gmp=/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/build-gcc-riscv64-unknown-elf/build-Xuantie-900-gcc-elf-newlib-mingw-V2.6.1/lib-for-gcc-mingw --with-mpfr=/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/build-gcc-riscv64-unknown-elf/build-Xuantie-900-gcc-elf-newlib-mingw-V2.6.1/lib-for-gcc-mingw --with-mpc=/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/build-gcc-riscv64-unknown-elf/build-Xuantie-900-gcc-elf-newlib-mingw-V2.6.1/lib-for-gcc-mingw --with-libexpat-prefix=/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/build-gcc-riscv64-unknown-elf/build-Xuantie-900-gcc-elf-newlib-mingw-V2.6.1/lib-for-gcc-mingw --with-libmpfr-prefix=/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/build-gcc-riscv64-unknown-elf/build-Xuantie-900-gcc-elf-newlib-mingw-V2.6.1/lib-for-gcc-mingw --with-pkgversion='Xuantie-900 elf newlib gcc Toolchain V2.6.1 B-20220906' CXXFLAGS='-g -O2 -DTHEAD_VERSION_NUMBER=2.6.1 ' --enable-libgcctf --prefix=/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/build-gcc-riscv64-unknown-elf/Xuantie-900-gcc-elf-newlib-mingw-V2.6.1 --disable-shared --enable-threads=posix --enable-languages=c,c++ --without-system-zlib --enable-tls --with-newlib --with-sysroot=/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/build-gcc-riscv64-unknown-elf/Xuantie-900-gcc-elf-newlib-mingw-V2.6.1/riscv64-unknown-elf --with-native-system-header-dir=/include --disable-libmudflap --disable-libssp --disable-libquadmath --disable-libgomp --disable-nls --disable-tm-clone-registry --src=/mnt/ssd/jenkins_iotsw/slave/workspace/Toolchain/build-gnu-riscv/./source/riscv/riscv-gcc --enable-multilib --with-abi=lp64d --with-arch=rv64gcxthead 'CFLAGS_FOR_TARGET=-Os   -mcmodel=medany' 'CXXFLAGS_FOR_TARGET=-Os   -mcmodel=medany'
  7. Thread model: posix
  8. Supported LTO compression algorithms: zlib zstd
  9. gcc version 10.2.0 (Xuantie-900 elf newlib gcc Toolchain V2.6.1 B-20220906)
复制代码
回复 支持 反对

使用道具 举报

xiaoqi976633690 | 2023-7-28 10:26:51 | 显示全部楼层
make和toolchain都已经安装了可以识别到,没有中文路径
回复 支持 反对

使用道具 举报

爱笑 | 2023-7-28 10:31:28 | 显示全部楼层
我们这边技术会在三天内,出开发环境搭建教程~
用心做好保姆工作
回复 支持 反对

使用道具 举报

xiaoqi976633690 | 2023-7-28 11:15:25 | 显示全部楼层
爱笑 发表于 2023-7-28 10:31
我们这边技术会在三天内,出开发环境搭建教程~

好的,辛苦了
回复 支持 反对

使用道具 举报

xiaoqi976633690 | 2023-7-28 17:19:11 | 显示全部楼层
本帖最后由 xiaoqi976633690 于 2023-7-28 17:20 编辑

可以了 Snipaste_2023-07-28_17-33-04.png
回复 支持 反对

使用道具 举报

爱笑 | 2023-7-31 14:30:22 | 显示全部楼层
聪明~
用心做好保姆工作
回复

使用道具 举报

大俊 | 2023-10-20 12:59:28 | 显示全部楼层
咋解决的
回复

使用道具 举报

吾问无为谓 | 2023-11-10 17:02:37 | 显示全部楼层
咋解决的呀.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则