Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAL compiling issue #47

Open
GoogleCodeExporter opened this issue Sep 11, 2015 · 3 comments
Open

PAL compiling issue #47

GoogleCodeExporter opened this issue Sep 11, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. copy all files to PAL sample folder, copy versions of Print.h & Print.cpp
2. edit file locations accordingly
3. try compile

What is the expected output? What do you see instead?
expected output is a compiled sketch
i see 

In file included from pollserial.cpp:28:
pollserial.h:45: error: conflicting return type specified for 'virtual void 
pollserial::write(uint8_t)'
Print.h:28: error: overriding 'virtual size_t Print::write(uint8_t)'

What version of the product are you using? On what operating system?

Uno
Arduino 1.0 
OSX 10.5.8 

Please provide any additional information below.


Original issue reported on code.google.com by ronan...@gmail.com on 27 Apr 2012 at 4:36

@GoogleCodeExporter
Copy link
Author

I Had this problem too.  I got it fixed by putting all the files in the sketch 
directory with the DemoNTSC.ino file example.  Then, I fixed the few errors 
about files not found by assing double quotes.  This producted the error:

In file included from pollserial.cpp:28:
pollserial.h:45: error: conflicting return type specified for 'virtual void 
pollserial::write(uint8_t)'
Print.h:28: error: overriding 'virtual size_t Print::write(uint8_t)'

I fixed this by opening the DemoNTSC.ino file by double clicking on it with is 
associated to the Ardunio IDE.  Once the sketch is open I compiled the code to 
my Ardunio Mega board and it worked.

Original comment by timjohns...@gmail.com on 11 May 2012 at 1:14

@GoogleCodeExporter
Copy link
Author

Hey
Thanks for replying so quickly, I've been messing around with this again
for some time and seem to be stuck with the same error
namely

pollserial.h:45: error: conflicting return type specified for 'virtual void
pollserial::write(uint8_t)'
/Users/Downloads/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/ardu
ino/Print.h:48:
error:   overriding 'virtual size_t Print::write(uint8_t)'


What do you mean by "double clicking on it with is associated to the
Ardunio IDE"? Once the file is up in the arduino application, it doesn't
seem to change, or resolve in the manner that you suggested...
What should I try next short of editing the Print.h file (which I've
already tried)?

Original comment by ronan...@gmail.com on 29 May 2012 at 5:25

@GoogleCodeExporter
Copy link
Author

Please see issue #50 - 
http://code.google.com/p/arduino-tvout/issues/detail?id=50

Original comment by brianez21 on 11 Jul 2012 at 6:12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant