Code::Blocks Forums

User forums => Help => Topic started by: Wim.bron on December 07, 2018, 09:21:15 am

Title: Arduino error: no such file or directory
Post by: Wim.bron on December 07, 2018, 09:21:15 am
Hi guys, I am installed code::blocks originally because i wanted to program in c. Now i want it to use it for Arduino, but when i try to compile it says it misses all of the cores like cdc.cpp... what do i have to do? I really want to use codeblocks as it has a good arduino simulation terminal.
Title: Re: Arduino error: no such file or directory
Post by: oBFusCATed on December 07, 2018, 10:39:24 am
It is the first time I'm hearing that we have simulation terminal.

To fix the compile errors you need to setup correct include paths which point to your original Arduino installation or github clone.

Here is some info (incomplete) https://github.com/obfuscated/cb_arduino_template

If you don't understand how compiling works you'll have lots of problems when trying to use Arduino in Codeblocks. So you need to be really familiar with include/linker search paths.