0

I am trying to code a new AVR project in Code::Blocks (using Ubuntu). However, every time I try to build my project the following error message appears: Current compiler 'GNU GCC Compiler for AVR' doesn't have correctly defined debugger!

I already installed mingw64 using "sudo apt-get install gcc-mingw-w64". However, it seems that the debugger didn't install properly. I may thought, that I have to choose one of these files, but nothing seems to fit. Is there something I have to do additionally. Looking forward to your replies

1 Answer 1

0

First, how are you using MinGW-w64 on Linux? Secondly, you should set a correct debugger in Settings->Debugger, add the right executable path in GDB/CDB Debugger->Default. Open Settings->Compiler, in Toolchain Executable, choose the GDB/CDB:Default Debugger in the Debugger column. Then you can well build your project.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.