Microview Error Compiling

General MicroView Support area - You have questions, find your answers here.

Moderators: phalanx, Help@GeekAmmo, marcus@geekammo

Post Reply
Baldrick100
Posts: 2
Joined: Wed Apr 01, 2015 7:29 pm

Microview Error Compiling

Post by Baldrick100 » Wed Apr 01, 2015 8:04 pm

Just after a bit of help.

I'm using the Microview in the USB Microview programmer - it fired up with the demo when first plugged in.

The problem is I get the following error message in the Arduino IDE 1.6.2:

Error Compiling:
Arduino: 1.6.2 (Windows 7), Board: "Arduino Uno"
Build options changed, rebuilding all
MicroViewDemo.ino:18:23: fatal error: MicroView.h: No such file or directory

compilation terminated.

Error compiling.

I have followed the IDE installation instructions, the FTDI Driver instructions, set the board to Arduino Uno and identified the Com port using Device manager (Windows 7)

Other IDE settings: Programmer = AVRISP MKII (not set by me) and baud rate 115200 (win com port set to same) Tried 9600 baud also)

The Time and Microview-master libraries are showing under sketchbook and examples.

I can't seem to get anything to compile or upload. Tried HelloWorld sketch - same result.

I get nothing on the Microview now. USB programmer has a constatnt LED.

Hope someone can help. Thanks

scotta
Posts: 44
Joined: Thu Jul 24, 2014 1:31 pm
Location: Toronto, Canada

Re: Microview Error Compiling

Post by scotta » Thu Apr 02, 2015 6:17 am

The Time and MicroView libraries should be in a folder named libraries in your sketchbook folder. The MicroView library files should be in folder MicroView under libraries. The Time library files should be in folder Time under libraries.

Here's the organisation and contents of my libraries (on a Linux system):

Code: Select all

sketchbook
└── libraries
    ├── MicroView
    │   ├── 7segment.h
    │   ├── font5x7.h
    │   ├── font8x16.h
    │   ├── fontlargenumber.h
    │   ├── gpl-3.0.txt
    │   ├── keywords.txt
    │   ├── MicroView.cpp
    │   ├── MicroView.h
    │   ├── README.md
    │   ├── space01.h
    │   ├── space02.h
    │   └── space03.h
    └── Time
        ├── DateStrings.cpp
        ├── keywords.txt
        ├── Readme.txt
        ├── Time.cpp
        └── Time.h

scotta
Posts: 44
Joined: Thu Jul 24, 2014 1:31 pm
Location: Toronto, Canada

Re: Microview Error Compiling

Post by scotta » Thu Apr 02, 2015 7:10 am

Upon further research (not being a Windows user) it appears that the libraries folder should be under My Documents\Arduino\ for Windows systems.
http://arduino.cc/en/guide/libraries#toc5

Baldrick100
Posts: 2
Joined: Wed Apr 01, 2015 7:29 pm

Re: Microview Error Compiling

Post by Baldrick100 » Thu Apr 02, 2015 12:21 pm

Thank you Scotta.

That was on the money and it all works sweet as now.

I was following the tutorial that mentions placing the libraries and renaming but does not say what was renamed or why plus the unzipped file structure for the time and microview libraries if not altered don't help a newby like me.

I just ended up snotrning the tree structure for the libraries and put them manualy under the Arduino library folder and it found them.

Appreciate the help.

Kind Regards,

Baldrick100

bjbiver
Posts: 1
Joined: Sun Apr 05, 2015 8:43 pm

Re: Microview Error Compiling

Post by bjbiver » Sun Apr 05, 2015 8:51 pm

I was having the same problem and when I checked, my .cpp file was in the folder "C:\Users\%username%\Documents\Arduino\libraries\MicroView-master\Libraries\SparkFun_Microview". I simply copied (not cut) all of the files in that folder to the "C:\Users\%username%\Documents\Arduino\libraries\MicroView-master" folder, restarted the application, and I was able to upload.

Help@GeekAmmo
Posts: 41
Joined: Fri Jul 18, 2014 11:45 am

Re: Microview Error Compiling

Post by Help@GeekAmmo » Thu Apr 09, 2015 6:38 pm

Thanks Scott.

Hi Baldrick100 & bjbiver,
I kind of suspect the instructions here
https://learn.sparkfun.com/tutorials/sp ... -microview
was a bit unclear leading to the library not installed in the correct location. In the instructions, the library was stored in SparkFun_Microview but in the image and text, users were asked to browse to MicroView folder.

If you follow this
http://learn.microview.io/intro/getting-started.html
at section "Install MicroView Library", you should be able to get it right.

Cheers
JP

Post Reply