I have two questions that I have not found an answer:
1) When I launch a program in debugging mode I get an error "Can't launch console ..". I am using Raspberry Pi 3.
How do I set the right terminal in Codeblocks? I tried several options at Settings->General Settings->"Terminal to launch programs" to no avail.
My second question:
2) When launching a program how do I set "root" capabilities (I'm twiddling the GPIO), ie. how do I lauch it using "sudo ./myprogramname" etc.