uint8_t

Hi i have this problem , im new to arduino , how to fix it , please ?

Arduino: 1.0.6 (Windows 7), Board: "Arduino Uno"
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\standard -IC:\Program Files (x86)\Arduino\libraries\Wire -IC:\Users\USER\Documents\Arduino\libraries\LiquidCrystal_I2C C:\Users\USER\AppData\Local\Temp\build3012311874335267102.tmp\HelloWorld.cpp -o C:\Users\USER\AppData\Local\Temp\build3012311874335267102.tmp\HelloWorld.cpp.o

In file included from HelloWorld.pde:2:
C:\Users\USER\Documents\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:80: error: conflicting return type specified for 'virtual void LiquidCrystal_I2C::write(uint8_t)'
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'

You've shown us your problem, but not the cause of the problem.

Are you using this library? http://hmario.home.xs4all.nl/arduino/LiquidCrystal_I2C/

If so, you have the old version and you should update to the latest version.

In file included from HelloWorld.pde:2:
C:\Users\USER\Documents\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:80: error: conflicting return type specified for 'virtual void LiquidCrystal_I2C::write(uint8_t)'
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'

The LiquidCrystal_I2C class implements the write() method that the class that it derives from (at least indirectly) has declared as a virtual function. The signature in the Print class says that the function, when implemented properly, will return a size_t type value. The implementation in the LiquidCrystal_I2C class is incorrect, in that it says that it will return nothing.

You can change the declaration in the LiquidCrystal_I2C.h file, and the implementation in the LiquidCrystal_I2C.cpp file (and make the function actually return something), or you can find a newer version where that has already been done.

Your library is pre-Arduino 1.0, yet you are compiling it on 1.0.6

thanks for the help but i downloaded the latest arduino version and still not working

but i downloaded the latest arduino version

And what version is the library?

how to know which version it is ? and how i can download the new one ?pleae...

how to know which version it is ?

Does it matter? It doesn't compile, which means that the version you have is not compatible with the version of the IDE you are using.

and how i can download the new one ?

Click the here link in oqibidipo's reply.

khalidshahbari:
how to know which version it is ? and how i can download the new one ?pleae...

Open source has many random authors. You have to do a web search.