Go Down

Topic: frequencytimer2.h apparently missing from sketch? (Read 1 time) previous topic - next topic

kin37ik

ive been looking at this example here http://arduino.cc/playground/Main/DirectDriveLEDMatrix to drive an LED matrix of just one colour from the arduino itself, i have manually tinkered and written some code myself and then wondered if there was an easier way to get things done and i found this example, so i downloaded the frequencytimer2 library and grabbed the example code, i rolled a fresh install of arduino 0022 and 1.0, installed frequencytimer2 timer and copy-pasta the code into a fresh sketch, but when i tried compiling the sketch in 0022 or 1.0 it just threw back the error:

Code: [Select]
FrequencyTimer2.h: so such file or directory

i checked, double and triple checked i installed the library properly, and even did so much as to save the sketch and copy-pasta the .c and .h files into the sketch's folder, and it still gave me that error, not sure how to fix it.

dxw00d

Where have you put the library? Can you post a screen-shot that shows it?

kin37ik

i have put the frequencytimer2 folder with the contents in it in the libraries folder for 0022 and 1.0


pylon

That stuff is case sensitive, use always exactly the same string, for your files, directories and in the sketch.

kin37ik


That stuff is case sensitive, use always exactly the same string, for your files, directories and in the sketch.


ive checked over the sketch and the files and they are all correct and as they should be, sketch still complains fequencytimer2.h doesnt exist despite it existing

dxw00d

That, in my personal opinion, is an awful font. I can't tell whether the characters are capitals or not. In FREQUENCYtiMER2, which, if any, are actually capitals?

That isn't the correct place to put non-standard libraries. They should go in your sketchbook library folder.

kin37ik

#6
Jun 01, 2012, 11:59 am Last Edit: Jun 01, 2012, 12:03 pm by kin37ik Reason: 1

That, in my personal opinion, is an awful font. I can't tell whether the characters are capitals or not. In FREQUENCYtiMER2, which, if any, are actually capitals?


just the F and the T, thats the only letters in capitals


That isn't the correct place to put non-standard libraries. They should go in your sketchbook library folder.

ive put non-standard libraries in there before and it's worked perfectly fine, though ive tried putting the files in many different places and still no go.

dxw00d

Quote
just the F and the T, thats the only letters in capitals


Are you sure? If you look at FLEXItiMER and FIRMATA, the F is taller than the other characters, in FREQUENCYtiMER2, the F is the same height as the others. The f in fiRMWARE and SOftWARESERIAL appears as lower case. How do you work with that font?

Can you open a command window and check that way?

kin37ik


Quote
just the F and the T, thats the only letters in capitals


Are you sure? If you look at FLEXItiMER and FIRMATA, the F is taller than the other characters, in FREQUENCYtiMER2, the F is the same height as the others. The f in fiRMWARE and SOftWARESERIAL appears as lower case. How do you work with that font?

Can you open a command window and check that way?


yes, im a 100% positive, ive worked with the same font for ages, the F and the T is capital, and yes ive checked in CMD, the F and the T is capital......

pylon

If the F and T are capital, the directory is not the same as the containing files. The name of the directory (including case) is read from the include statement. If you have "frequencytimer2.h" there, then the library has to be in the path "libraries/frequencytimer2/frequencytimer2.h" and "libraries/frequencytimer2/freqencytimer2.cpp". Have you checked that?

BTW: me too, I would never work with such a horrible font. Might be ok for a flyer but not as a desktop font.

kin37ik

#10
Jun 01, 2012, 12:33 pm Last Edit: Jun 01, 2012, 12:39 pm by kin37ik Reason: 1

If the F and T are capital, the directory is not the same as the containing files. The name of the directory (including case) is read from the include statement. If you have "frequencytimer2.h" there, then the library has to be in the path "libraries/frequencytimer2/frequencytimer2.h" and "libraries/frequencytimer2/freqencytimer2.cpp". Have you checked that?

BTW: me too, I would never work with such a horrible font. Might be ok for a flyer but not as a desktop font.


yes, ive checked everything.

ill do a another fresh install of the IDE and see if that does anything


Go Up