PAL compiling issue
Opened this issue · 3 comments
GoogleCodeExporter commented
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 commented
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 commented
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 commented
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