Missing library for sketch - JUAMI.org potentiotat project

Hi i cannot run this code on arduino uno 3. I am getting error that libraries <LinxArduinoUno.h> AND <LinxSerialListener.h> are missing.
Code is from project JUAMI Potentiostat, link: https://pubs.acs.org/doi/suppl/10.1021/acs.jchemed.8b00340/suppl_file/ed8b00340_si_002.pdf

#include <SPI.h>
#include <Wire.h>
#include <EEPROM.h>
#include <Servo.h>
#include <LinxArduinoUno.h>
#include <LinxSerialListener.h>
LinxArduinoUno* LinxDevice;
void setup()
{
LinxDevice = new LinxArduinoUno();
LinxSerialConnection.Start(LinxDevice, 0);
TCCR1B =B00000001;
}
void loop()
{
LinxSerialConnection.CheckForCommands();
}

the error is this:

QBN: arduino:avr:uno
Using board 'uno' from platform in folder: C:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Using core 'arduino' from platform in folder: C:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6

Detecting libraries used...
C:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard C:\Users\Lukas\AppData\Local\Temp\arduino\sketches\72212D03D9AFAD5D88DCFBB5A11D55C7\sketch\Blink.ino.cpp -o nul
Alternatives for SPI.h: [SPI@1.0]
ResolveLibrary(SPI.h)
  -> candidates: [SPI@1.0]
C:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src C:\Users\Lukas\AppData\Local\Temp\arduino\sketches\72212D03D9AFAD5D88DCFBB5A11D55C7\sketch\Blink.ino.cpp -o nul
Alternatives for Wire.h: [Wire@1.0]
ResolveLibrary(Wire.h)
  -> candidates: [Wire@1.0]
C:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src C:\Users\Lukas\AppData\Local\Temp\arduino\sketches\72212D03D9AFAD5D88DCFBB5A11D55C7\sketch\Blink.ino.cpp -o nul
Alternatives for EEPROM.h: [EEPROM@2.0]
ResolveLibrary(EEPROM.h)
  -> candidates: [EEPROM@2.0]
C:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\EEPROM\src C:\Users\Lukas\AppData\Local\Temp\arduino\sketches\72212D03D9AFAD5D88DCFBB5A11D55C7\sketch\Blink.ino.cpp -o nul
Alternatives for Servo.h: [Servo@1.2.1]
ResolveLibrary(Servo.h)
  -> candidates: [Servo@1.2.1]
C:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -IC:\Users\Lukas\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\EEPROM\src -IC:\Users\Lukas\AppData\Local\Arduino15\libraries\Servo\src C:\Users\Lukas\AppData\Local\Temp\arduino\sketches\72212D03D9AFAD5D88DCFBB5A11D55C7\sketch\Blink.ino.cpp -o nul
Alternatives for LinxArduinoUno.h: []
ResolveLibrary(LinxArduinoUno.h)
  -> candidates: []
C:\Users\Lukas\AppData\Local\Temp\.arduinoIDE-unsaved202456-23176-3obyra.rtbq2\Blink\Blink.ino:5:10: fatal error: LinxArduinoUno.h: No such file or directory
 #include <LinxArduinoUno.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

my sketch is including two files (LinxSerialListener.h and LinxArduinoUno.h), but i dont have library with them. I found the files in this repository,: LINX/LabVIEW/vi.lib/MakerHub/LINX/Firmware/Source/core/listener/LinxSerialListener.h at main · MakerHub/LINX · GitHub LINX/LabVIEW/vi.lib/MakerHub/LINX/Firmware/Source/core/device/LinxArduinoUno.h at main · MakerHub/LINX · GitHub is it possible to install library from that repository? I have arduino uno 3. In Arduino IDE's library manager i didnt find any library with this files.

Welcome to the forum

Are the libraries installed on your PC ?

Thanks for welcoming.

No the libraries are not installed, i dont know how to isntall them.
This is my directory with libraries:

The project seems to involve the use of LabVIEW, which I know nothing about.

I don't think that O will be able to provide any more help I am afraid but the site that you linked to seems to have quite detailed instructions

OK, thanks, this is also helpfull answer , now I know where to put questions...

That's more than likely not the correct directory to install libraries. I suspect that the normal libraries directory (in your sketchbook) is the place to go.

I did look at the readme which provides a link to LINX [LabVIEW MakerHub] which states that is deprecated; that unfortunately does not help.

I suggest that you download the full code from github (GitHub - MakerHub/LINX: LabVIEW Community Edition LINX) because you need a lot more than just the two included files; and after that you will probably have to start organising it all in the given directory; I think that most (if not all) of the stuff is in the LabVIEW/vi.lib/MakerHub/LINX/Firmware subdirectory. But it will be a puzzle.

@UKHeliBob , can you provide a link to those instructions? I might have missed them.

1 Like

I found the instructions in the document linked to by @homescientist123456

hi @sterretje . your hint helepd me.
i copied folders "LinxSerialListener" and "LinxArduinoUno" from theirs github sub-folder: "LabVIEW/vi.lib/MakerHub/LINX/Firmware/Source/libraries"
to my arduino libraries directory and now it works (resp. upload did run without error, so it looks like it works now good).
It works even without library properties file
Great, thanks for hint.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.