LEDControl Library - Compile Errors

I am a new user of Arduinos and I ran into a problem while following the instructions for a MAX7219 LED tutorial. The Sketch for this tutorial includes the use of LedControl library.

I'm getting error messages each time I run a verify on the Stetch I'm not sure if the library is in the correct location or how to troubleshoot this issue.

Need help

Thanks

I'm getting error messages

Interesting, but unhelpful.

Hi and welcome.

With the information you supplied, this (click !) is the best help i can offer.

error message:

Arduino: 1.8.1 (Mac OS X), Board: "Arduino/Genuino Uno"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/rtolliver/Documents/Arduino/libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10801 -build-path /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Users/rtolliver/Documents/Arduino/MAX7219_SpaceInvader/MAX7219_SpaceInvader.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/rtolliver/Documents/Arduino/libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10801 -build-path /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Users/rtolliver/Documents/Arduino/MAX7219_SpaceInvader/MAX7219_SpaceInvader.ino
Using board 'uno' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr
Using core 'arduino' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr
Detecting libraries used...
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "/var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/sketch/MAX7219_SpaceInvader.ino.cpp" -o "/dev/null"
Generating function prototypes...

"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "/var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/sketch/MAX7219_SpaceInvader.ino.cpp" -o "/var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/sketch/MAX7219_SpaceInvader.ino.cpp.o"
Compiling libraries...
Compiling core...
Using previously compiled file: /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/core/wiring_pulse.S.o

Using previously compiled file: /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn//T/arduino_build_134797/core/HardwareSerial3.cpp.o
Using previously compiled file: /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/core/IPAddress.cpp.o
Using previously compiled file: /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/core/PluggableUSB.cpp.o
Using previously compiled file: /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/core/Print.cpp.o
Using previously compiled file: /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/core/Stream.cpp.o
Using previously compiled file: /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/core/Tone.cpp.o
Using previously compiled file: /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/core/USBCore.cpp.o
Using previously compiled file: /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/core/WMath.cpp.o
Using previously compiled file: /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/core/WString.cpp.o
Using previously compiled file: /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/core/abi.cpp.o
Using previously compiled file: /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/core/main.cpp.o
Using previously compiled file: /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/core/new.cpp.o
Using previously compiled file: /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/core/core.a
Linking everything together...
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "/var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/MAX7219_SpaceInvader.ino.elf" "/var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/sketch/MAX7219_SpaceInvader.ino.cpp.o" "/var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797/core/core.a" "-L/var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T/arduino_build_134797" -lm
/var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T//ccvjibsW.ltrans0.ltrans.o: In function setup': /Users/rtolliver/Documents/Arduino/MAX7219_SpaceInvader/MAX7219_SpaceInvader.ino:58: undefined reference to LedControl::shutdown(int, bool)'

/Users/rtolliver/Documents/Arduino/MAX7219_SpaceInvader/MAX7219_SpaceInvader.ino:72: undefined reference to LedControl::setRow(int, int, unsigned char)' /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T//ccvjibsW.ltrans0.ltrans.o: In function sinvader2a':
/Users/rtolliver/Documents/Arduino/MAX7219_SpaceInvader/MAX7219_SpaceInvader.ino:88: undefined reference to LedControl::setRow(int, int, unsigned char)' /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T//ccvjibsW.ltrans0.ltrans.o: In function sinvader1b':
/Users/rtolliver/Documents/Arduino/MAX7219_SpaceInvader/MAX7219_SpaceInvader.ino:80: undefined reference to LedControl::setRow(int, int, unsigned char)' /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T//ccvjibsW.ltrans0.ltrans.o: In function sinvader2b':
/Users/rtolliver/Documents/Arduino/MAX7219_SpaceInvader/MAX7219_SpaceInvader.ino:96: undefined reference to LedControl::setRow(int, int, unsigned char)' /var/folders/br/_22d47h16v31_4xr42xvdwb00000gn/T//ccvjibsW.ltrans0.ltrans.o: In function __static_initialization_and_destruction_0':
/Users/rtolliver/Documents/Arduino/MAX7219_SpaceInvader/MAX7219_SpaceInvader.ino:3: undefined reference to `LedControl::LedControl(int, int, int, int)'
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino/Genuino Uno.

You didn't really read the thread i linked to, did you ?

Problems in lines 3, 58, 72, 80, 88, 96.

If you need more detailed info, read this.
I mean, really.
Read it.

I’m sorry but I’m at a loss here.

I’ve read and followed the links that were sent and I still don’t have an answer nor direction to follow for my stated issue. I was told through a Google search that I could get help from the Arduino.cc Forum

I'm sorry but I'm at a loss here

So are we.
The loss we're feeling is that we can't see your code - I think this basic fact is mentioned in the "How to use this forum" thread you were asked to read.

Did I miss where the LEDControl.cpp file actually got compiled? I wonder why it didn't.