CueCat Code Problem

by fudgematico on Mon Oct 29, 2012 5:02 pm

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? :)
fudgematico
 
Posts: 14
Joined: Mon Oct 29, 2012 5:00 pm

Re: CueCat Code Problem

by adafruit_support_bill on Mon Oct 29, 2012 8:16 pm

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.
User avatar
adafruit_support_bill
 
Posts: 28104
Joined: Sat Feb 07, 2009 9:11 am

Re: CueCat Code Problem

by fudgematico on Mon Oct 29, 2012 8:21 pm

Thanks Ill try

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

Could you possibly help?
fudgematico
 
Posts: 14
Joined: Mon Oct 29, 2012 5:00 pm

Re: CueCat Code Problem

by adafruit_support_bill on Mon Oct 29, 2012 8:40 pm

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.
User avatar
adafruit_support_bill
 
Posts: 28104
Joined: Sat Feb 07, 2009 9:11 am

Re: CueCat Code Problem

by fudgematico on Tue Oct 30, 2012 6:37 am

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?
fudgematico
 
Posts: 14
Joined: Mon Oct 29, 2012 5:00 pm

Re: CueCat Code Problem

by adafruit_support_bill on Tue Oct 30, 2012 6:56 am

I'm sorry, that is not one of our tutorials and I don't know what libraries were used by the author.
User avatar
adafruit_support_bill
 
Posts: 28104
Joined: Sat Feb 07, 2009 9:11 am

Re: CueCat Code Problem

by fudgematico on Tue Oct 30, 2012 7:03 am

Thanks for the reply :)

This there a tutorial on your website for a curvature barcode scanner I can follow?
fudgematico
 
Posts: 14
Joined: Mon Oct 29, 2012 5:00 pm

Re: CueCat Code Problem

by adafruit_support_bill on Tue Oct 30, 2012 7:23 am

We don't have one for the Arduino. Just this one: http://learn.adafruit.com/barcode-scanner/
User avatar
adafruit_support_bill
 
Posts: 28104
Joined: Sat Feb 07, 2009 9:11 am

Re: CueCat Code Problem

by adafruit_support_rick on Tue Oct 30, 2012 8:02 am

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.
User avatar
adafruit_support_rick
 
Posts: 10877
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: CueCat Code Problem

by fudgematico on Tue Oct 30, 2012 2:31 pm

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
fudgematico
 
Posts: 14
Joined: Mon Oct 29, 2012 5:00 pm

Re: CueCat Code Problem

by adafruit_support_rick on Tue Oct 30, 2012 3:28 pm

Do any of these other libraries contain a file called PgmPrint.h?
User avatar
adafruit_support_rick
 
Posts: 10877
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: CueCat Code Problem

by fudgematico on Tue Oct 30, 2012 8:32 pm

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

Is that .h file part of any libary you know of?
fudgematico
 
Posts: 14
Joined: Mon Oct 29, 2012 5:00 pm

Re: CueCat Code Problem

by adafruit_support_rick on Wed Oct 31, 2012 8:30 am

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.
User avatar
adafruit_support_rick
 
Posts: 10877
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: CueCat Code Problem

by fudgematico on Wed Oct 31, 2012 10:37 am

How do I get in touch with this person on here?
fudgematico
 
Posts: 14
Joined: Mon Oct 29, 2012 5:00 pm

Re: CueCat Code Problem

by adafruit_support_rick on Wed Oct 31, 2012 10:42 am

I already sent him an email.
User avatar
adafruit_support_rick
 
Posts: 10877
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY