Vscode(GCC)环境下编译问题
-
[main] 正在生成文件夹: c:/Users/gmdq/Desktop/YTM32/Gpio_Interrupt_Demo/build
[main] 缺少包含 CMake 缓存的文件夹。将重新生成缓存。
[main] 正在配置项目: Gpio_Interrupt_Demo
[proc] 执行命令: C:\Users\gmdq\AppData\Roaming\yt_config_tool\cmake-3.26.4-windows-x86_64\bin\cmake.EXE -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_TOOLCHAIN_FILE=c:/Users/gmdq/Desktop/YTM32/Gpio_Interrupt_Demo/cmake/gcc.cmake -DARM_CPU=cortex-m7 -DDEVICE_NAME=YTM32B1HA0 -DTOOLCHAIN=GCC --no-warn-unused-cli -SC:/Users/gmdq/Desktop/YTM32/Gpio_Interrupt_Demo -Bc:/Users/gmdq/Desktop/YTM32/Gpio_Interrupt_Demo/build -G Ninja
[cmake] Not searching for unused variables given on the command line.
[cmake] -- The C compiler identification is GNU 10.3.1
[cmake] -- The CXX compiler identification is GNU 10.3.1
[cmake] -- Detecting C compiler ABI info
[cmake] -- Detecting C compiler ABI info - done
[cmake] -- Check for working C compiler: C:/Users/gmdq/AppData/Roaming/yt_config_tool/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc.exe - skipped
[cmake] -- Detecting C compile features
[cmake] -- Detecting C compile features - done
[cmake] -- Detecting CXX compiler ABI info
[cmake] -- Detecting CXX compiler ABI info - done
[cmake] -- Check for working CXX compiler: C:/Users/gmdq/AppData/Roaming/yt_config_tool/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-g++.exe - skipped
[cmake] -- Detecting CXX compile features
[cmake] -- Detecting CXX compile features - done
[cmake] -- The ASM compiler identification is GNU
[cmake] -- Found assembler: C:/Users/gmdq/AppData/Roaming/yt_config_tool/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc.exe
[cmake] -- Configuring done (1.5s)
[cmake] -- Generating done (0.0s)
[cmake] -- Build files have been written to: C:/Users/gmdq/Desktop/YTM32/Gpio_Interrupt_Demo/build
[build] 正在启动生成
[proc] 执行命令: C:\Users\gmdq\AppData\Roaming\yt_config_tool\cmake-3.26.4-windows-x86_64\bin\cmake.EXE --build c:/Users/gmdq/Desktop/YTM32/Gpio_Interrupt_Demo/build --config Debug --target all --
[build] Access violation
[build] CMake Error: Generator: execution of make failed. Make command was: C:/Users/gmdq/AppData/Roaming/yt_config_tool/ninja-win/ninja.exe all &&
[proc] 命令“C:\Users\gmdq\AppData\Roaming\yt_config_tool\cmake-3.26.4-windows-x86_64\bin\cmake.EXE --build c:/Users/gmdq/Desktop/YTM32/Gpio_Interrupt_Demo/build --config Debug --target all --”已退出,代码为 1
[driver] 生成完毕: 00:00:07.856
[build] 生成已完成,退出代码为 1无法生成编译文件 gcc ninja 环境以正确搭建,项目所在文件夹无中文,已经设置了所有权限,并是已管理员身份运行
发帖前请查看
帮助没办法联网的电脑使用YCT
帮助改进和优化YT CONFIG TOOL,有机会抽取YTM32B1ME0 EVB哦...