51
Help / AVR Compiler
« Last post by ksoni on September 22, 2023, 11:37:03 am »How to set AVR Compiler in CB 20::03 ?
As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
#ifdef __has_include
#if __has_include(<SomePlugin.h>)
#include <SomePlugin.h> // we have certain header file
#endif
#endif
.objs32_64\sdk\compiler.o:compiler.cpp:(.rdata$_ZTV8Compiler[_ZTV8Compiler]+0x230): undefined reference to `Compiler::CheckForWarningsAndErrors(wxString const&, long&, wxString&)'
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 54 second(s))
2 error(s), 17 warning(s) (0 minute(s), 54 second(s))
is this a showstopper for the CB release this year?
I am new to C and Code::Blocks. I am able to run this Hello World program, but i am unable to use a debugger on it. When I set a break point and try to debug the program, I get the below error message.Code#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Break Here!\n"); //Break point on this line
printf("Hello world!\n");
return 0;
}CodeStarting debugger: C:\Users\Curtis\mingw64\bin\gdb.exe -nx -fullname -quiet -args "Q:/Learn-C/1 - Hello World/Hello World/bin/Debug/Hello World.exe"
done
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 11.2
Starting the debuggee failed: No executable specified, use `target exec'
What should I do to get the debugger to work?