CueCat Code Problem

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
fudgematico
 
Posts: 14
Joined: Mon Oct 29, 2012 6:00 pm

CueCat Code Problem

Post by fudgematico »

Hi head ups very new to this programme language

I am trying to my "CueCat.PDE" File working but it keeps on saying "'PgmPrint' was not declared in this scope" The error log is:

cucatlog.cpp:5:22: error: PgmPrint.h: No such file or directory
In file included from cucatlog.cpp:2:
C:\Users\Fudgematico\Downloads\arduino-1.0.1\hardware\arduino\cores\arduino/freeRam.h:26: error: 'TInt' does not name a type
cucatlog.cpp: In function 'void playFile(char*)':
cucatlog.pde:-1: error: 'PgmPrint' was not declared in this scope
cucatlog.pde:-1: error: no matching function for call to 'WaveRP::play(SdFile&)'
C:\Users\Fudgematico\Downloads\arduino-1.0.1\libraries\WaveRP/WaveRP.h:125: note: candidates are: bool WaveRP::play(SdBaseFile*)
cucatlog.pde:-1: error: 'PgmPrint' was not declared in this scope
cucatlog.pde:-1: error: 'PgmPrint' was not declared in this scope
cucatlog.cpp: In function 'void setup()':
cucatlog.pde:-1: error: 'class SdFile' has no member named 'create'
cucatlog.cpp: In function 'void loop()':
cucatlog.pde:-1: error: 'class SdFile' has no member named 'writeByteError'
cucatlog.pde:-1: error: 'class SdFile' has no member named 'writeByteError'

Any help Please? :)

User avatar
adafruit_support_bill
 
Posts: 88142
Joined: Sat Feb 07, 2009 10:11 am

Re: CueCat Code Problem

Post by adafruit_support_bill »

I am trying to my "CueCat.PDE" File working
Where did you find this file? You are more likely to get a helpful response if you tell people what code you are running.

fudgematico
 
Posts: 14
Joined: Mon Oct 29, 2012 6:00 pm

Re: CueCat Code Problem

Post by fudgematico »

Thanks Ill try

The link is http://www.instructables.com/id/Make-a- ... rduino-an/

Could you possibly help?

User avatar
adafruit_support_bill
 
Posts: 88142
Joined: Sat Feb 07, 2009 10:11 am

Re: CueCat Code Problem

Post by adafruit_support_bill »

That is not one of our tutorials. But from the first error message:
cucatlog.cpp:5:22: error: PgmPrint.h: No such file or directory
It looks like you are missing some files. Read through the Instructables thoroughly and make sure you have downloaded and installed all the necessary software.

fudgematico
 
Posts: 14
Joined: Mon Oct 29, 2012 6:00 pm

Re: CueCat Code Problem

Post by fudgematico »

I have installer a lot of other libraries suggested by other people but I can't ask the owner directly because you have to pay for an account :S

Is there a libary I should be adding to solve the 'PgmPrint' problem?

User avatar
adafruit_support_bill
 
Posts: 88142
Joined: Sat Feb 07, 2009 10:11 am

Re: CueCat Code Problem

Post by adafruit_support_bill »

I'm sorry, that is not one of our tutorials and I don't know what libraries were used by the author.

fudgematico
 
Posts: 14
Joined: Mon Oct 29, 2012 6:00 pm

Re: CueCat Code Problem

Post by fudgematico »

Thanks for the reply :)

This there a tutorial on your website for a curvature barcode scanner I can follow?

User avatar
adafruit_support_bill
 
Posts: 88142
Joined: Sat Feb 07, 2009 10:11 am

Re: CueCat Code Problem

Post by adafruit_support_bill »

We don't have one for the Arduino. Just this one: http://learn.adafruit.com/barcode-scanner/

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: CueCat Code Problem

Post by adafruit_support_rick »

Did you buy a wave shield from adafruit for this project?

I don't know what to tell you - I am truly puzzled about the code for this project. It doesn't appear to use any of the standard arduino or adafruit libraries. I don't understand how the author expects anybody to compile his code without providing his libraries.

fudgematico
 
Posts: 14
Joined: Mon Oct 29, 2012 6:00 pm

Re: CueCat Code Problem

Post by fudgematico »

Yes bought the Wave Shield and the Anduino from Adafruit.

Plus he provides an Anduino Enviroment Open Source file to install and tells everybody to install two more libraries such as "WaveRC" and "SBFatLib" . And they all installed fine but the problem is the CueCat.pde file? :S

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: CueCat Code Problem

Post by adafruit_support_rick »

Do any of these other libraries contain a file called PgmPrint.h?

fudgematico
 
Posts: 14
Joined: Mon Oct 29, 2012 6:00 pm

Re: CueCat Code Problem

Post by fudgematico »

No, which is what I gathered it was looking for.

Is that .h file part of any libary you know of?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: CueCat Code Problem

Post by adafruit_support_rick »

fudgematico wrote:Is that .h file part of any libary you know of?
No. I tried googling it, and came up empty. The standard Arduino SD library contains a macro PgmPrint in SdFatUtil.h, but I found no PgmPrint.h files.

Even if you comment out the #include 'pgmPrint.h", the sketch still has problems.

The WaveRP library was written by Bill Greiman, who checks in here frequently. Maybe he can suggest what it is we're missing.

fudgematico
 
Posts: 14
Joined: Mon Oct 29, 2012 6:00 pm

Re: CueCat Code Problem

Post by fudgematico »

How do I get in touch with this person on here?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: CueCat Code Problem

Post by adafruit_support_rick »

I already sent him an email.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”