发帖
217 11 20
好难啊
2024-4-29 16:07:39
望风阁 发表于 2024-4-19 15:01
克隆源码可以直接用gitee上下载的ZIP包吗?不方便用命令

不推荐,不然上面的很多子模块会不完整
我来学习的
2024-5-1 00:00:46
只有在有工具链的目录才能编译吗
2024-5-5 22:48:48
学习了
2024-5-13 21:07:45
tools里没有make文件
签到签到
2024-5-20 13:26:54
PS F:\Download\ai-pi-open-kits-master\aithinker_Ai-M6X_SDK\examples\peripherals\gpio\gpio_input_output> make
./../../../../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=/dev/ttyUSB0 -DCMAKE_EXPORT_COMPILE_COMMANDS=OFF -DCONFIG_TLSF=y
CMake Error: The current CMakeCache.txt directory F:/Download/ai-pi-open-kits-master/aithinker_Ai-M6X_SDK/examples/peripherals/gpio/gpio_input_output/build/CMakeCache.txt is different than the directory d:/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/examples/peripherals/gpio/gpio_input_output/build
where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source "F:/Download/ai-pi-open-kits-master/aithinker_Ai-M6X_SDK/examples/peripherals/gpio/gpio_input_output/CMakeLists.txt" does
not match the source "D:/AiPi-Open-Kits/aithinker_Ai-M6X_SDK/examples/peripherals/gpio/gpio_input_output/CMakeLists.txt" used to generate cache.
Re-run cmake with a different source directory.
make: *** [../../../../project.build:72: build] Error 1
PS F:\Download\ai-pi-open-kits-master\aithinker_Ai-M6X_SDK\examples\peripherals\gpio\gpio_input_output>
签到
2024-5-25 01:24:52
本帖最后由 WenshengZhu 于 2024-5-25 01:31 编辑

编译错误.png
为什么,我编译的这个代码工程有问题。
编译错误.png
您需要登录后才可以回帖 立即登录
高级模式
统计信息
  • 会员数: 28099 个
  • 话题数: 39728 篇