User forums > Embedded development
Arduino: libraries are missing
AZ:
--- Quote from: oBFusCATed on June 15, 2016, 09:57:21 pm ---What do you mean by refresh?
The ~/.codeblocks/share/codeblocks/templates/wizard/ is probably ~/.config/codeblocks/share/codeblocks/templates/wizard/ ...
--- End quote ---
Well libraries.cpp is missing. The links are pointing to nonexistent locations. The project wizard refers to the fork owner without any mention of your work/template..
I spent close to 12 hours trying to get to make sense and get the initial setup right.
oBFusCATed:
Are you talking about the wizard here: https://github.com/obfuscated/cb_arduino_template ?
oBFusCATed:
FIY: My template seems to be outdated and doesn't work with the latest master of arduion. Only arduino 1.0.x and not 1.5 or 1.6!
AZ:
--- Quote from: oBFusCATed on June 15, 2016, 11:53:38 pm ---FIY: My template seems to be outdated and doesn't work with the latest master of arduion. Only arduino 1.0.x and not 1.5 or 1.6!
--- End quote ---
Ohh... :( hmmm.. then I'd guess the base question is - does cb works with arduino with its current project wizard "arduino project"?
stahta01:
--- Quote from: oBFusCATed on June 15, 2016, 11:53:38 pm ---FIY: My template seems to be outdated and doesn't work with the latest master of arduion. Only arduino 1.0.x and not 1.5 or 1.6!
--- End quote ---
Some changes that got it to compile; but, it then gets a link error of "wiring.c:(.text.delay+0x26): undefined reference to `yield'".
Changed the compiler search paths to this.
--- Code: ---$(ARDUINO_DIR)/hardware/arduino/avr/cores/arduino
$(ARDUINO_DIR)/libraries
$(ARDUINO_DIR)/hardware/arduino/avr/variants/standard
$(ARDUINO_DIR)/hardware/arduino/avr/libraries/HID
--- End code ---
I think this was the prior values.
--- Code: ---$(ARDUINO_DIR)/hardware/arduino/cores/arduino
$(ARDUINO_DIR)/libraries
$(ARDUINO_DIR)/hardware/arduino/variants/standard
--- End code ---
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version