1

I am trying to update the Arduino library via the library manager and I tried to download it from the link given in the firmata_test program:

WARNING: Category '' in library ArduinoUnit is not valid. Setting to 'Uncategorized' C:\Users\SAURAB~1\AppData\Local\Temp\arduino_c8217a5b56c170d64dfe4c80a1a205dc\firmata_test.ino: In member function 'virtual void test_beginPrintsVersion::once()':

C:\Users\SAURAB~1\AppData\Local\Temp\arduino_c8217a5b56c170d64dfe4c80a1a205dc\firmata_test.ino:32:3: warning: narrowing conversion of '249' from 'int' to 'char' inside { } [-Wnarrowing]

};

^

Multiple libraries were found for "Firmata.h" Used: C:\Users\saurabh2836\Documents\Arduino\libraries\Firmata Not used: C:\Program Files (x86)\Arduino\libraries\Firmata

I'm getting this error. I searched but found no conclusive answer. I'm using Windows 8 64bit and Firmata downloaded from http://www.firmata.org/.

Am I doing something wrong?

1 Answer 1

1

The compiler is giving a lot of information. The warnings can be ignored but the "multiple libraries" indicates that there is at least two copies of Firmata installed. Check (search) that you have not got several downloads of Firmata. Worst case reinstall to clean up that.

Cheers!

8
  • but what about Category '' in library ArduinoUnit error what are the step to replace adruino unit library Dec 5, 2015 at 8:43
  • That is from the library manager when reading the library.properties file. The category tag is not correct (actually missing) for ArduinoUnit. github.com/mmurdoch/arduinounit/blob/master/library.properties. It is a warning and can be ignored. Dec 5, 2015 at 15:23
  • but i am not able to run the program for test firmata after reinstall it Dec 7, 2015 at 8:07
  • But does it compile? This issue was about compiling it. Are there still compile warnings and errors? Did the "multiple libraries..." link error disappear? I was assuming that you had an installation problem. Dec 7, 2015 at 9:16
  • 1
    Did you still get: "Multiple libraries were found for "Firmata.h" Used: C:\Users\saurabh2836\Documents\Arduino\libraries\Firmata Not used: C:\Program Files (x86)\Arduino\libraries\Firmata". The compiler is telling you where the two libraries are. Remove one of them. Dec 10, 2015 at 9:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.