Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Compiling issue further data
#1

Hi,
as suggested I enabled "show verbose output" and the result is as below
Regards
Jim



Arduino: 1.7.10 (Windows 8.1), Board: "Arduino Nano, ATmega328"

Build options changed, rebuilding all

Using library SPI in folder: C:\Users\user\Documents\Arduino\hardware\arduino\avr\libraries\SPI

Using library Wire in folder: C:\Users\user\Documents\Arduino\hardware\arduino\avr\libraries\Wire

Using library VirtualWire in folder: C:\Users\user\Documents\Arduino\libraries\VirtualWire (legacy)

Using library LiquidCrystal-I2C in folder: C:\Users\user\Documents\Arduino\libraries\LiquidCrystal-I2C (legacy)

Using library EEPROM in folder: C:\Users\user\Documents\Arduino\hardware\arduino\avr\libraries\EEPROM



C:\Users\user\Documents\Arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=107010 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Users\user\Documents\Arduino\hardware\arduino\avr\cores\arduino -IC:\Users\user\Documents\Arduino\hardware\arduino\avr\variants\eightanaloginputs -IC:\Users\user\Documents\Arduino\hardware\arduino\avr\libraries\SPI -IC:\Users\user\Documents\Arduino\hardware\arduino\avr\libraries\Wire -IC:\Users\user\Documents\Arduino\libraries\VirtualWire -IC:\Users\user\Documents\Arduino\libraries\LiquidCrystal-I2C -IC:\Users\user\Documents\Arduino\hardware\arduino\avr\libraries\EEPROM C:\Users\user\AppData\Local\Temp\build8569194989374579345.tmp\WeatherDuino_Pro2_RX_v2.0_b017_24082016.cpp -o C:\Users\user\AppData\Local\Temp\build8569194989374579345.tmp\WeatherDuino_Pro2_RX_v2.0_b017_24082016.cpp.o

WeatherDuino_Pro2_RX_v2.0_b017_24082016.ino:23:77: fatal error: RTC_DS3231.h: No such file or directory

compilation terminated.

Error compiling.
Reply
#2

(24-08-2016, 05:22)Barrow4491 Wrote:  WeatherDuino_Pro2_RX_v2.0_b017_24082016.ino:23:77: fatal error: RTC_DS3231.h: No such file or directory

Please check if you have installed the RTC_DS3231.h library. It is included in the WeatherDuino Pro2 software package. Look for RTClib and copy it to your Arduino libraries folder.

PS: Please avoid creating a new thread to talk about a subject already covered on a thread that you previously created.

Reply
#3

(24-08-2016, 06:59)Werk_AG Wrote:  
(24-08-2016, 05:22)Barrow4491 Wrote:  WeatherDuino_Pro2_RX_v2.0_b017_24082016.ino:23:77: fatal error: RTC_DS3231.h: No such file or directory

Please check if you have installed the RTC_DS3231.h library. It is included in the WeatherDuino Pro2 software package. Look for RTClib and copy it to your Arduino libraries folder.

PS: Please avoid creating a new thread to talk about a subject already covered on a thread that you previously created.

Werk_AG
My apologies re my previous post
I have loaded theRTClib to the Arduino library but I now get the following errow message. I am sorry for all the problems but Arduino programming if foreign to me.

Arduino: 1.7.10 (Windows 8.1), Board: "Arduino Nano, ATmega328"

Using library SPI in folder: C:\Users\user\Documents\Arduino\hardware\arduino\avr\libraries\SPI

Using library Wire in folder: C:\Users\user\Documents\Arduino\hardware\arduino\avr\libraries\Wire

Using library VirtualWire in folder: C:\Users\user\Documents\Arduino\libraries\VirtualWire (legacy)

Using library RTClib in folder: C:\Users\user\Documents\Arduino\libraries\RTClib (legacy)

Using library DHTxx in folder: C:\Users\user\Documents\Arduino\libraries\DHTxx (legacy)

Using library Adafruit_HTU21DF in folder: C:\Users\user\Documents\Arduino\libraries\Adafruit_HTU21DF (legacy)

Using library BMP085 in folder: C:\Users\user\Documents\Arduino\libraries\BMP085 (legacy)

Using library LiquidCrystal-I2C in folder: C:\Users\user\Documents\Arduino\libraries\LiquidCrystal-I2C (legacy)

Using library EEPROM in folder: C:\Users\user\Documents\Arduino\hardware\arduino\avr\libraries\EEPROM

Using library ClickButton in folder: C:\Users\user\Documents\Arduino\libraries\ClickButton (legacy)

Using library SerialCommand in folder: C:\Users\user\Documents\Arduino\libraries\SerialCommand (legacy)

Using library DataFlash in folder: C:\Users\user\Documents\Arduino\libraries\DataFlash (legacy)



C:\Users\user\Documents\Arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=107010 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Users\user\Documents\Arduino\hardware\arduino\avr\cores\arduino -IC:\Users\user\Documents\Arduino\hardware\arduino\avr\variants\eightanaloginputs -IC:\Users\user\Documents\Arduino\hardware\arduino\avr\libraries\SPI -IC:\Users\user\Documents\Arduino\hardware\arduino\avr\libraries\Wire -IC:\Users\user\Documents\Arduino\libraries\VirtualWire -IC:\Users\user\Documents\Arduino\libraries\RTClib -IC:\Users\user\Documents\Arduino\libraries\DHTxx -IC:\Users\user\Documents\Arduino\libraries\Adafruit_HTU21DF -IC:\Users\user\Documents\Arduino\libraries\BMP085 -IC:\Users\user\Documents\Arduino\libraries\LiquidCrystal-I2C -IC:\Users\user\Documents\Arduino\hardware\arduino\avr\libraries\EEPROM -IC:\Users\user\Documents\Arduino\libraries\ClickButton -IC:\Users\user\Documents\Arduino\libraries\SerialCommand -IC:\Users\user\Documents\Arduino\libraries\DataFlash C:\Users\user\AppData\Local\Temp\build6520740820929694795.tmp\WeatherDuino_Pro2_RX_v2.0_b017_25082016.cpp -o C:\Users\user\AppData\Local\Temp\build6520740820929694795.tmp\WeatherDuino_Pro2_RX_v2.0_b017_25082016.cpp.o

In file included from C:\Users\user\Documents\Arduino\hardware\arduino\avr\libraries\SPI/SPI.h:17:0,

from WeatherDuino_Pro2_RX_v2.0_b017_25082016.ino:20:

Routines.ino: In function 'void SystemInit1()':

C:\Users\user\Documents\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:100:38: error: invalid operands of types 'double' and 'int' to binary 'operator&'

#define lowByte(w) ((uint8_t) ((w) & 0xff))

^

Routines.ino:9:30: note: in expansion of macro 'lowByte'

C:\Users\user\Documents\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:101:40: error: invalid operands of types 'double' and 'int' to binary 'operator>>'

#define highByte(w) ((uint8_t) ((w) >> 8))

^

Routines.ino:10:30: note: in expansion of macro 'highByte'

C:\Users\user\Documents\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:100:38: error: invalid operands of types 'double' and 'int' to binary 'operator&'

#define lowByte(w) ((uint8_t) ((w) & 0xff))

^

Routines.ino:11:30: note: in expansion of macro 'lowByte'

C:\Users\user\Documents\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:101:40: error: invalid operands of types 'double' and 'int' to binary 'operator>>'

#define highByte(w) ((uint8_t) ((w) >> 8))

^

Routines.ino:12:30: note: in expansion of macro 'highByte'

Error compiling.
Thanks
Jim
Reply
#4

Hi,

Please post your RX_Config.h file, along with the type of your inside Temp / Hum sensor.

Reply
#5

(25-08-2016, 04:34)Werk_AG Wrote:  Hi,

Please post your RX_Config.h file, along with the type of your inside Temp / Hum sensor.

My indoor temp / humidity sensor is a DHT 22

When try to post my RX config.h file it tells me the file type is not allowed???
Regards
Jim
Reply
#6

Hi,

Most likely you will find the solution here:
http://www.meteocercal.info/forum/Thread...-v2-0-b011

A little search in the forum sometimes helps Smile

Reply
#7

(25-08-2016, 06:14)Werk_AG Wrote:  Hi,

Most likely you will find the solution here:
http://www.meteocercal.info/forum/Thread...-v2-0-b011

A little search in the forum sometimes helps Smile

Werk_AG

I read the thread but it may as well be in Latin. I decided to delete all the Arduino files and start from scratch. I have as you said deleted the LiquidCrystal-I2C from the Arduino library and amalgamated your library file with it. I checked my configuration file and it seems OK to me (I did have it working before in test mode) but changed out the receive module as I think it was faulty and would not communicate with the TX board. I have had no luck since.
If you can explain how to post the Config file I will do so.
I have put my lat /long in as"-191.5 (19degrees 15 south) and1464.9 (146.49 East).

This is the latest compile error file

Thanks
Jim


Arduino: 1.7.10 (Windows 8.1), Board: "Arduino Nano, ATmega328"

In file included from C:\Users\user\Documents\Arduino\hardware\arduino\avr\libraries\SPI/SPI.h:17:0,

from WeatherDuino_Pro2_RX_v2.0_b017.ino:20:

Routines.ino: In function 'void SystemInit1()':

C:\Users\user\Documents\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:100:38: error: invalid operands of types 'double' and 'int' to binary 'operator&'

#define lowByte(w) ((uint8_t) ((w) & 0xff))

^

Routines.ino:9:30: note: in expansion of macro 'lowByte'

C:\Users\user\Documents\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:101:40: error: invalid operands of types 'double' and 'int' to binary 'operator>>'

#define highByte(w) ((uint8_t) ((w) >> 8))

^

Routines.ino:10:30: note: in expansion of macro 'highByte'

C:\Users\user\Documents\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:100:38: error: invalid operands of types 'double' and 'int' to binary 'operator&'

#define lowByte(w) ((uint8_t) ((w) & 0xff))

^

Routines.ino:11:30: note: in expansion of macro 'lowByte'

C:\Users\user\Documents\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:101:40: error: invalid operands of types 'double' and 'int' to binary 'operator>>'

#define highByte(w) ((uint8_t) ((w) >> 8))

^

Routines.ino:12:30: note: in expansion of macro 'highByte'

Error compiling.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Reply
#8

(25-08-2016, 07:43)Barrow4491 Wrote:  I have put my lat /long in as"-191.5 (19degrees 15 south) and1464.9 (146.49 East).

Not sure if this is the cause of the compiling error, but Lat and Long
should be integer values. Try -191 and 1464

Reply
#9

(25-08-2016, 08:13)Werk_AG Wrote:  
(25-08-2016, 07:43)Barrow4491 Wrote:  I have put my lat /long in as"-191.5 (19degrees 15 south) and1464.9 (146.49 East).

Not sure if this is the cause of the compiling error, but Lat and Long
should be integer values. Try -191 and 1464

Werk
That is all it was. All OK now
Many Thanks
Jim
Reply
#10

I am trying to get my TX module up and runningand get the following compile error.
I searched the forum and it appears it is related to soil and leaf sensor ad converter which i have not enabled.
Thanks
Jim
Arduino: 1.7.10 (Windows 8.1), Board: "Arduino Nano, ATmega328"

WeatherDuino_Pro2_TX_v2.0_b010_31082016.ino:20:70: fatal error: Adafruit_ADS1015.h: No such file or directory

compilation terminated.

Error compiling.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Reply




Users browsing this thread: 1 Guest(s)