duplicate libraries?

Hi

Im using arduino 1.5.7 on linux.
I have a script that was working and now will not compile (errors bellow). If I import the problem library into a new script its fine
A find on the 'original' lib show:

/tmp/build2252565497803007360.tmp/LiquidCrystal/LiquidCrystal.cpp.o
/tmp/build2252565497803007360.tmp/LiquidCrystal.cpp.o
/tmp/build5472314109526656747.tmp/LiquidCrystal/LiquidCrystal.cpp.o
/tmp/build5472314109526656747.tmp/LiquidCrystal.cpp.o

Whats going on? any ideas thanks

LiquidCrystal/LiquidCrystal.cpp.o: In function LiquidCrystal::scrollDisplayRight()': /home/hug/arduino-1.5.7/libraries/LiquidCrystal/src/LiquidCrystal.cpp:285: multiple definition of LiquidCrystal::pulseEnable()'
LiquidCrystal.cpp.o:LiquidCrystal.cpp:285: first defined here
LiquidCrystal/LiquidCrystal.cpp.o: In function `LiquidCrystal::LiquidCrystal(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)':

lcderror.txt (10.8 KB)

It looks to me like you have two copies of the LiquidCrystal library, in two different places.

Yup thats what I thought, what im stuck on is how to correct it :~

-I can delete the lib from /arduino-1.5.7/libraries/liquidcrystal/ Dosent seem the right thing to do.?
-if i delete the /tmp/buildxxx.. folders I get:
Could not write build preferences file
java.io.FileNotFoundException: /tmp/build6944482661489645426.tmp/pumpcontrol.cpp (No such file or directory)
at java.io.FileOutputStream.open(Native Method).....

A bit of history, I droped the repository version arduino 1.0.1 because some 3rd party libraries wouldnt compile (Timer?), downloaded the current and it worked for some time, now this problem with standard libraries...

Im not finding much on sorting libary problems any help/suggestions/links please

Sorry if this is a 'the dumbass set it up wrong' style of problem

-I can delete the lib from /arduino-1.5.7/libraries/liquidcrystal/ Dosent seem the right thing to do.?

It isn't.

-if i delete the /tmp/buildxxx.. folders I get:

Each time you build libraries are copied to a new build directory. So deleting one build directory won't solve the problem.

You need to delete the other LiquidCrystal library. Is there one in the libraries folder where you store your sketches?

Ahh for some reason I hadnt noticed that one :blush:
seems to make the world of differnce now

Many Thanks