Code Issues with MacOS vs PC

The following code runs without error on all the PCs we are using to troubleshoot a project. When I try to run the same code on my Mac with the Arduino IDE I receive the following errors. I installed all the prerequisite libraries in the Java/libraries folder like I was instructed on multiple sites. There’s some issue with where the computer is trying to find the libraries, I think…


// You could use a spare Hardware Serial on boards that have it (like Mega)
#include <SoftwareSerial.h>
#include <Sabertooth.h>

SoftwareSerial DebugSerial(0, 1); // RX, TX
SoftwareSerial SWSerial(NOT_A_PIN, 30); // RX on no pin (unused), TX on pin 30 (to S1).
Sabertooth ST(128, SWSerial); // Address 128, and use SWSerial as the serial port.

#define BLYNK_PRINT DebugSerial
#include <BlynkSimpleSerialBLE.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth = “6R3KOB9A5QhyAeSjxF-fCav_zuTIWDTS”;

int x = param[0].asInt();
int y = param[1].asInt();

// Do something with x and y
/* Serial.print("X = “);
Serial.print(”; Y = ");

ST.motor(1, x);
ST.motor(2, y);

void setup()
// Debug console
DebugSerial.println(“Waiting for connections…”);

// Blynk will work through Serial
// Do not read or write this serial manually in your sketch
Blynk.begin(Serial, auth);

void loop()


/var/folders/_h/b6_x6kfs0f9f_x4lyg5mwccr0000gn/T//cctBLzga.ltrans0.ltrans.o: In function BlynkWidgetWrite1': /Users/rudyard.pue/Documents/Arduino/sketch_nov01a/sketch_nov01a.ino:28: undefined reference to Sabertooth::motor(unsigned char, int) const’
/Users/rudyard.pue/Documents/Arduino/sketch_nov01a/sketch_nov01a.ino:29: undefined reference to Sabertooth::motor(unsigned char, int) const' /var/folders/_h/b6_x6kfs0f9f_x4lyg5mwccr0000gn/T//cctBLzga.ltrans0.ltrans.o: In function global constructors keyed to 65535_0_sketch_nov01a.ino.cpp.o.2295’:
:(.text.startup+0x76): undefined reference to Sabertooth::Sabertooth(unsigned char, Stream&)' /var/folders/_h/b6_x6kfs0f9f_x4lyg5mwccr0000gn/T//cctBLzga.ltrans0.ltrans.o: In function setup’:
/Users/rudyard.pue/Documents/Arduino/sketch_nov01a/sketch_nov01a.ino:43: undefined reference to `Sabertooth::autobaud(bool) const’
Multiple libraries were found for “SoftwareSerial.h”
collect2: error: ld returned 1 exit status
Used: /Users/rudyard.pue/Desktop/
Multiple libraries were found for “Sabertooth.h”
Used: /Users/rudyard.pue/Desktop/
Not used: /Users/rudyard.pue/Documents/Arduino/libraries/Sabertooth
Multiple libraries were found for “BlynkSimpleSerialBLE.h”
Used: /Users/rudyard.pue/Documents/Arduino/libraries/Blynk
Not used: /Users/rudyard.pue/Desktop/
exit status 1
Error compiling for board Arduino/Genuino Uno.