Ziggy2013 / minimosd-extra

Automatically exported from code.google.com/p/minimosd-extra
0 stars 0 forks source link

Build problem on Ubuntu 12.10 #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi there,

I'm trying to build the MinimOsd-Extra firmware to add some small changes for a 
friend, but when I try to build it in the Arduino 1.0.1 IDE on Ubuntu 12.10, I 
get a whole lot of errors of the following kind:

In file included from 
/opt/minimosd-extra-read-only/trunk/libraries/FastSerial/BetterStream.h:16:0,
                 from /opt/minimosd-extra-read-only/trunk/libraries/FastSerial/FastSerial.h:56,
                 from ArduCAM_OSD.cpp:55:
/opt/minimosd-extra-read-only/trunk/libraries/FastSerial/../AP_Common/AP_Common.
h: In function ‘int strcasecmp_P(const char*, const prog_char_t*)’:
/opt/minimosd-extra-read-only/trunk/libraries/FastSerial/../AP_Common/AP_Common.
h:108:38: error: ISO C++ forbids declaration of ‘type name’ with no type 
[-fpermissive]
/opt/minimosd-extra-read-only/trunk/libraries/FastSerial/../AP_Common/AP_Common.
h:108:38: error: ISO C++ forbids declaration of ‘type name’ with no type 
[-fpermissive]
/opt/minimosd-extra-read-only/trunk/libraries/FastSerial/../AP_Common/AP_Common.
h:108:32: error: expected primary-expression before ‘const’
/opt/minimosd-extra-read-only/trunk/libraries/FastSerial/../AP_Common/AP_Common.
h:108:32: error: expected ‘)’ before ‘const’

Any ideas what might be causing this? I can do the build on Windows 7 but it 
would be nice to get it working on Ubuntu.

Also, would it be possible to add a wiki page with some build instructions, 
e.g., recommended build tools, platform, setup, etc? For the Arduino IDE I had 
to copy the MinimOsd-Extra directory to ArduCAM_OSD to match the .ino file 
name, so perhaps the Arduino IDE is not what you guys are using?

Cheers, Andrew.

Original issue reported on code.google.com by andrewjg...@gmail.com on 24 Feb 2013 at 12:27

GoogleCodeExporter commented 9 years ago
Hi Andrew,

Try Arduino 1.0.3.

Also don't forget to copy libraries also.

Should work.

Gábor

Original comment by gabek...@gmail.com on 4 Mar 2013 at 8:35

GoogleCodeExporter commented 9 years ago

Original comment by gabek...@gmail.com on 15 Mar 2013 at 3:29

GoogleCodeExporter commented 9 years ago
Thanks, Gábor. I managed to build the firmware on Windows instead but will 
give this a go.

Original comment by andrewjg...@gmail.com on 19 Mar 2013 at 6:02

GoogleCodeExporter commented 9 years ago

Original comment by gabek...@gmail.com on 19 Mar 2013 at 8:07