Author Topic: Arduino error: no such file or directory  (Read 805 times)

Offline Wim.bron

  • Single posting newcomer
  • *
  • Posts: 2
Arduino error: no such file or directory
« 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.
« Last Edit: December 07, 2018, 09:28:59 am by Wim.bron »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11938
    • Travis build status
Re: Arduino error: no such file or directory
« Reply #1 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.
(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!]