News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Arduino error: no such file or directory

Started by Wim.bron, December 07, 2018, 09:21:15 AM

Previous topic - Next topic

Wim.bron

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.

oBFusCATed

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]