无法在 AVR-Project 的代码块中使用调试器

问题描述 投票:0回答:1

我正在尝试在 Code::Blocks 中编写一个新的 AVR 项目(使用 Ubuntu)。但是,每次我尝试构建项目时都会出现以下错误消息: 当前编译器“GNU GCC Compiler for AVR”没有正确定义的调试器!

我已经使用“sudo apt-get install gcc-mingw-w64”安装了 mingw64。但是,调试器似乎没有正确安装。 I may thought, that I have to choose one of these files, but nothing seems to fit。还有什么我必须额外做的吗?期待您的回复

codeblocks mingw-w64
1个回答
0
投票

首先,你是如何在 Linux 上使用 MinGW-w64 的? 其次,您应该在Settings->Debugger中设置正确的调试器,在GDB/CDB Debugger->Default中添加正确的可执行路径。打开Settings->Compiler,在Toolchain Executable中,在Debugger栏中选择GDB/CDB:Default Debugger。然后你就可以很好地构建你的项目了。

© www.soinside.com 2019 - 2024. All rights reserved.