pololu / dual-vnh5019-motor-shield

Arduino library for the Pololu Dual VNH5019 Motor Driver Shield
http://www.pololu.com/product/2507
MIT License
51 stars 76 forks source link

Trouble compiling #10

Closed NGwpower closed 9 years ago

NGwpower commented 9 years ago

New to programing, tried running on Arduino Uno, removed it repeatedly with no access. Followed instructions and still get this message:

Arduino: 1.6.4 (Windows 7), Board: "Arduino Uno" C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -Wall -Wextra -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10604 -DARDUINO_AVR_UNO -DARDUINO_ARCHAVR -IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard C:\Users\RJEA26~1.STA\AppData\Local\Temp\build2119754585980147342.tmp\sketch.cpp -o C:\Users\RJEA26~1.STA\AppData\Local\Temp\build2119754585980147342.tmp\sketch.cpp.o
sketch
.ino:1:36: fatal error: DualVNH5019MotorShield.h: No such file or directory compilation terminated. Error compiling.

DavidEGrayson commented 9 years ago

I took your long error message out of the subject line and gave this thread a more appropriate subject line. For reference, the original subject line was:

Arduino: 1.6.4 (Windows 7), Board: "Arduino Uno"  C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -Wall -Wextra -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10604 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard C:\Users\RJEA26~1.STA\AppData\Local\Temp\build2119754585980147342.tmp\sketch_.cpp -o C:\Users\RJEA26~1.STA\AppData\Local\Temp\build2119754585980147342.tmp\sketch_.cpp.o  
sketch_.ino:1:36: fatal error: DualVNH5019MotorShield.h: No such file or directory compilation terminated.
Error compiling.

The main thing you should be looking at here is "DualVNH5019MotorShield.h: No such file or directory". This means that the Arduino IDE is not finding the library. You most likely installed the library incorrectly, and you should retry the instructions here. Be sure to restart the Arduino IDE.

We use GitHub issues to discuss problems or improvements to the code. If you continue to have trouble using the library, please post on our forum instead of here. If you believe you have installed the library correctly but things are still not working, your forum post should include detailed information about your setup and exactly how you installed the library, including screenshots and full paths to the various files you installed.

NGwpower commented 9 years ago

Thank You for redirecting my post. What is it on the Polulu form? RJ

           In GOD WE TRUST
       *****Proud Member of *****
  Veterans of Foreign Wars 1968-1971

Life Member 1998 Harley Owners Group NMRA 2012 -

From: David Grayson [mailto:notifications@github.com] Sent: Monday, May 25, 2015 12:42 PM To: pololu/dual-vnh5019-motor-shield Cc: RJ Myers Subject: Re: [dual-vnh5019-motor-shield] Arduino: 1.6.4 (Windows 7), Board: "Arduino Uno" C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -Wall -Wextra -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atm...

I took your long error message out of the subject line and give this thread a more appropriate subject line. For reference, the original subject line was:

Arduino: 1.6.4 (Windows 7), Board: "Arduino Uno" C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -Wall -Wextra -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10604 -DARDUINO_AVR_UNO -DARDUINO_ARCHAVR -IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard C:\Users\RJEA26~1.STA\AppData\Local\Temp\build2119754585980147342.tmp\sketch.cpp -o C:\Users\RJEA26~1.STA\AppData\Local\Temp\build2119754585980147342.tmp\sketch_.cpp.o

sketch_.ino:1:36: fatal error: DualVNH5019MotorShield.h: No such file or directory compilation terminated.

Error compiling.

The main thing you should be looking at here is "DualVNH5019MotorShield.h: No such file or directory". This means that the Arduino IDE is not finding the library. You most likely installed the library incorrectly, and you should retry the instructions herehttps://github.com/pololu/dual-vnh5019-motor-shield. Be sure to restart the Arduino IDE.

We use github issues to track issues or enhancements to the code. If you continue to have trouble using the library, please post on our forumhttp://forum.pololu.com instead of here.

— Reply to this email directly or view it on GitHubhttps://github.com/pololu/dual-vnh5019-motor-shield/issues/10#issuecomment-105297550.

DavidEGrayson commented 9 years ago

You would need to log in to the forum and write a new post.

NGwpower commented 9 years ago

The Arduino forum gave me a zip file that worked, so have a good week.