User forums > Embedded development
Arduino: libraries are missing
AZ:
--- Quote from: stahta01 on June 15, 2016, 05:33:53 pm ---
--- Quote ---I would think that next question will be - where CB gets the configuration for arduino from ?
--- End quote ---
Check the toolchain settings for the compiler.
http://wiki.codeblocks.org/index.php/Installing_a_supported_compiler#Compiler-neutral_setup_steps
--- Quote ---And why does it think that EEPROM ( for example ) should be a file ?
--- End quote ---
For this I would first check the Project settings.
If not there, then likely the Adv. Compiler Settings is the cause.
Tim S.
--- End quote ---
Thank you Tim.
The compiler is detected correctly - auto detection -> /usr/lib64/ccache.
Search directories has only"/usr/lib64/ccache/include"
I found and removed the var that was pointing to the second installation of the arduino's libraries. HAd to go thru all menus in the "Settings->Compiler"
Oh.... So if i check the "project build options" under "Search directories" i see _all_ libraries listed in the form of :
$(ARDUINO_DIR)/libraries/EEPROM etc etc.
If i select "Arduino Uno" under the probject -> there are only :
$(ARDUINO_DIR)/libraries
$(ARDUINO_DIR)/hardware/arduino/cores/arduino
$(ARDUINO_DIR)/hardware/arduino/variants/standard
listed. After i cleaned that up and tried to build:
--- Code: ---avr-g++ -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -mmcu=atmega328p -D__AVR_ATmega328P__ -Os -I/usr/bin/arduino/hardware/arduino/cores/arduino -I/usr/bin/arduino/libraries -I/usr/bin/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/CDC.cpp -o .objs/cores/CDC.o
avr-g++ -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -mmcu=atmega328p -D__AVR_ATmega328P__ -Os -I/usr/bin/arduino/hardware/arduino/cores/arduino -I/usr/bin/arduino/libraries -I/usr/bin/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/HardwareSerial.cpp -o .objs/cores/HardwareSerial.o
avr-g++ -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -mmcu=atmega328p -D__AVR_ATmega328P__ -Os -I/usr/bin/arduino/hardware/arduino/cores/arduino -I/usr/bin/arduino/libraries -I/usr/bin/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/HID.cpp -o .objs/cores/HID.o
cc1plus: error: /usr/bin/arduino/hardware/arduino/cores/arduino: Not a directory
cc1plus: error: /usr/bin/arduino/libraries: Not a directory
cc1plus: error: /usr/bin/arduino/hardware/arduino/variants/standard: Not a directory
Process terminated with status 1 (0 minute(s), 0 second(s))
--- End code ---
It is clearly looking @ the wrong location for the libraries...
AZ:
I override the ARDUINO_DIR in the Project_build options -> Arduino Uno -> Custom Variables to point to the correct location :
/usr/share/arduino.
That seemed to help partially. For the standard ( generated by the "Arduino project" wizard ) sketch.cpp:
--- Code: ---#include <Arduino.h>
/*
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is in the public domain.
*/
void setup()
{
Serial.begin(9600);
// initialize the digital pin as an output.
// Pin 13 has an LED connected on most Arduino boards:
pinMode(13, OUTPUT);
}
void loop()
{
Serial.println("Hello world!");
digitalWrite(13, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(13, LOW); // set the LED off
delay(1000); // wait for a second
}
--- End code ---
I've got :
--- Code: ---
-------------- Build: Arduino Uno in Test (compiler: GNU GCC Compiler for AVR)---------------
avr-g++ -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/CDC.cpp -o .objs/cores/CDC.o
avr-g++ -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/HardwareSerial.cpp -o .objs/cores/HardwareSerial.o
avr-g++ -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/HID.cpp -o .objs/cores/HID.o
avr-g++ -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/IPAddress.cpp -o .objs/cores/IPAddress.o
avr-g++ -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/main.cpp -o .objs/cores/main.o
In file included from cores/HardwareSerial.cpp:3:0:
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp: In function 'void store_char(unsigned char, ring_buffer*)':
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:98:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i != buffer->tail) {
^
In file included from cores/HardwareSerial.cpp:3:0:
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp: In function 'void __vector_18()':
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:127:21: warning: unused variable 'c' [-Wunused-variable]
unsigned char c = UDR0;
^
In file included from cores/HardwareSerial.cpp:3:0:
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp: In member function 'void HardwareSerial::begin(long unsigned int, byte)':
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:368:11: warning: unused variable 'current_config' [-Wunused-variable]
uint8_t current_config;
^
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp: In member function 'virtual size_t HardwareSerial::write(uint8_t)':
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:467:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i == _tx_buffer->tail)
^
avr-g++ -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/new.cpp -o .objs/cores/new.o
In file included from /usr/share/arduino/hardware/arduino/cores/arduino/IPAddress.cpp:21:0,
from cores/IPAddress.cpp:3:
/usr/share/arduino/hardware/arduino/cores/arduino/IPAddress.h: In member function 'IPAddress::operator uint32_t()':
/usr/share/arduino/hardware/arduino/cores/arduino/IPAddress.h:45:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
operator uint32_t() { return *((uint32_t*)_address); };
^
/usr/share/arduino/hardware/arduino/cores/arduino/IPAddress.h: In member function 'bool IPAddress::operator==(const IPAddress&)':
/usr/share/arduino/hardware/arduino/cores/arduino/IPAddress.h:46:75: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
bool operator==(const IPAddress& addr) { return (*((uint32_t*)_address)) == (*((uint32_t*)addr._address)); };
^
/usr/share/arduino/hardware/arduino/cores/arduino/IPAddress.h:46:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
bool operator==(const IPAddress& addr) { return (*((uint32_t*)_address)) == (*((uint32_t*)addr._address)); };
^
avr-g++ -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/Print.cpp -o .objs/cores/Print.o
avr-g++ -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/Stream.cpp -o .objs/cores/Stream.o
avr-g++ -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/Tone.cpp -o .objs/cores/Tone.o
avr-g++ -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/USBCore.cpp -o .objs/cores/USBCore.o
In file included from cores/Stream.cpp:1:0:
/usr/share/arduino/hardware/arduino/cores/arduino/Stream.cpp: In member function 'bool Stream::find(char*)':
/usr/share/arduino/hardware/arduino/cores/arduino/Stream.cpp:78:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
return findUntil(target, "");
^
avr-gcc -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/WInterrupts.c -o .objs/cores/WInterrupts.o
avr-gcc -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/wiring.c -o .objs/cores/wiring.o
avr-gcc -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/wiring_analog.c -o .objs/cores/wiring_analog.o
avr-gcc -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/wiring_digital.c -o .objs/cores/wiring_digital.o
avr-gcc -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/wiring_pulse.c -o .objs/cores/wiring_pulse.o
avr-gcc -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/wiring_shift.c -o .objs/cores/wiring_shift.o
avr-g++ -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/WMath.cpp -o .objs/cores/WMath.o
avr-g++ -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c cores/WString.cpp -o .objs/cores/WString.o
WARNING: Can't read file's timestamp: /home/az/Dropbox/work/Arduino/Sketches/Examples/CB_PRJ_TEST/Test/libraries/libraries.cpp
avr-g++ -Wall -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DF_CPU=16000000L -DARDUINO=103 -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Os -mmcu=atmega328p -D__AVR_ATmega328P__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/libraries -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/lib64/ccache/include -c sketch.cpp -o .objs/sketch.o
avr-g++ -L/usr/lib64/ccache/lib -o bin/Release/Test.elf .objs/cores/CDC.o .objs/cores/HardwareSerial.o .objs/cores/HID.o .objs/cores/IPAddress.o .objs/cores/main.o .objs/cores/new.o .objs/cores/Print.o .objs/cores/Stream.o .objs/cores/Tone.o .objs/cores/USBCore.o .objs/cores/WInterrupts.o .objs/cores/wiring.o .objs/cores/wiring_analog.o .objs/cores/wiring_digital.o .objs/cores/wiring_pulse.o .objs/cores/wiring_shift.o .objs/cores/WMath.o .objs/cores/WString.o .objs/libraries/libraries.o .objs/sketch.o -Wl,--gc-sections -s -mmcu=atmega328p
avr-g++: error: .objs/libraries/libraries.o: No such file or directory
Process terminated with status 1 (0 minute(s), 3 second(s))
1 error(s), 9 warning(s) (0 minute(s), 3 second(s))
--- End code ---
AZ:
also the libraries.cpp ( supplied by the wizard) is missing altogether from the directory structure....
AZ:
according to https://github.com/obfuscated/cb_arduino_template:
added link to arduino from ~/.config/codeblocks. no effect.
Can not locate ~/.codeblocks/share/codeblocks/templates/wizard/ .
seems like cb_arduino_template project is needed a refresh.
oBFusCATed:
What do you mean by refresh?
The ~/.codeblocks/share/codeblocks/templates/wizard/ is probably ~/.config/codeblocks/share/codeblocks/templates/wizard/ ...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version