Package Details: arduide-git 0.r340.8beb733-1

Git Clone URL: (read-only)
Package Base: arduide-git
Description: ArduIDE is a Qt-based IDE for the open-source Arduino electronics prototyping platform.
Upstream URL:
Licenses: GPL
Submitter: MuPuF
Maintainer: MuPuF
Last Packager: MuPuF
Votes: 74
Popularity: 0.397513
First Submitted: 2010-08-16 00:45
Last Updated: 2016-03-16 23:53

Latest Comments

Tazmain commented on 2016-08-30 21:31

grantlee-qt4 is no longer possible on my system, its a qt5 package only now. Seems the qt4 will fall away soon.

yafengabc commented on 2016-08-09 06:23

it should depend ncurses5-compat-libs to download to Arduino。

MuPuF commented on 2016-06-17 07:21

@tsester: Sorry, I guess arduide does not support the latest version of arduino. I have received patches in this direction but I am not using arduide anymore :s I merely maintain the project (AKA, look at and merge patches when I get some).

I have been unable to find a new maintainer yet...

tsester commented on 2016-06-17 06:03

can i use arduino[AUR] for the existing installation path? if so, what is the path? tried /usr, /usr/bin, /usr/share/arduino .. :(

MuPuF commented on 2015-11-15 11:25

Thanks albfan, I pushed your patch to the arduide project.

albfan commented on 2015-11-15 11:13

the problem is arduino sdk 1.06 is not avaliable on archived googlecode project.

Just compile from HEAD^ and everything works fine.

For easily testing change


on PKGBUILD and you're done

MuPuF commented on 2015-11-08 22:21

Sorry jooch, this version of the SDK is not supported. I have not worked on this project for a long time since I do not use arduinos anymore :s If anyone is up for coding support for the new arduino SDK, I am willing to review it and merge when it is in a good-enough shape!

jooch commented on 2015-11-07 11:34

Installed it and entered the path to the SDK (/usr/share/arduino) but keeps telling me the SDK is not valid. I have "arduino 1:1.6.5.r5-2" installed.

Viper_Scull commented on 2014-12-21 12:34

No problem mate. Good luck on your PhD defense. I'll have mine in a few months.
What's your dissertation about?

MuPuF commented on 2014-12-15 23:18

@Viper_Scull: It won't work until I update the code to support the SDK 1.0.6. I won't be able to do it in the coming week (I have my PhD defense), but I will after christmas! I'll set an alarm. Thanks for warning me!

Viper_Scull commented on 2014-12-15 12:23

arduino is now at 1.0.6 version.
Frist time I run arduide it asks for SDK (up to 1.0.5 ) path. Does it work with SDK 1.0.6?

MuPuF commented on 2014-09-21 06:52

@DanielH: Thank you, I updated the package :)

DanielH commented on 2014-09-20 17:36

grantlee is now grantlee-qt4.
Please, update dependencies.
Thanks for your work! DanielH

possum commented on 2014-07-14 05:04

@MuPuF Yeah it works, i thought it don't because there were no progress bar(Counting/Receiving objects...). When you use the link i posted, which is the one that is given in the website, git clone gives its output as expected. Anyway is not very important now.

MuPuF commented on 2014-07-12 19:09

@possum: No idea what you mean, the package works well like that. Are you sure you aren't behind a restrictive firewall?

possum commented on 2014-07-09 05:04

the link seems to have changed, it should be:

MuPuF commented on 2014-04-26 18:39

@Francois_B: Package update to meet the new standards.

If anyone sees anything wrong with the package, please give me a shout!

Francois_B commented on 2014-04-25 02:50

Hi. Please, add a package() function.

MuPuF commented on 2014-01-29 13:58

@ccandiotes: Updated, thanks.

@All: The arduide should now work with the sdk provided by AUR/arduino. Thanks to Artur Olech for his bug report on IRC.

ccandiotes commented on 2013-06-23 06:17

Hi MuPuF,
Upstream URL shown as doesn't work. Change to
Great project!

SMOG commented on 2013-05-01 11:23

Hi everyone,
I think the package needs to be updated because it doesn't support arduino 1.0.4... any idea about it?
I try to use my existing installation of arduino 1.0.4, in /usr/share/arduino, but the arduide keeps saying that is not a correct arduino installation...

MuPuF commented on 2013-03-03 22:09

@yuyichao: That was a short but efficient message. The update is available :)

yuyichao commented on 2013-03-03 21:39


MuPuF commented on 2012-10-15 23:33

The arduide should now support the arduino Leonardo thanks to the work of Jefferson Delfes!

As always, please test and report bugs!

mandos commented on 2012-10-06 18:32

X doesn't crash, it freezes.
As you say it could be something related to catalyst, but last nights version of arduide does work. Strange, very strange :)

MuPuF commented on 2012-10-06 18:14

@mandos: Honestly, this isn't a bug of the Arduide. It shouldn't be even possible to crash the XServer with an application. It is a bug in the graphic driver/X server (I am a dev but I work on Nouveau).

Good luck with finding what is wrong with it!

mandos commented on 2012-10-06 18:00

I'm having an ATI, switched to Catalyst 3 days ago to do some testing on its stability.
Arduide worked just fine as of yesterday, with the new catalyst driver.

MuPuF commented on 2012-10-06 17:37

@mandos: WTF... What driver/graphic card do you have? Does it happen with some other apps?

mandos commented on 2012-10-06 17:34

Well you know bugs, they sneak into code all the time! Speaking of them arduide now freezes my computer when it starts.

I did two tests, both times X froze

MuPuF commented on 2012-10-06 12:36

@mandos: what the fuck is wrong with me... That should be fixed now.

I must have introduced this typo after a first successful install and thus, kde was showing it to me as if nothing was wrong...

mandos commented on 2012-10-06 12:27

I believe it should /usr/share/applications (note the "s" in the end)

MuPuF commented on 2012-10-06 11:36

@mandos: The file you are looking for is installed there: /usr/share/application/arduino-ide.desktop
As for why you cannot find this file in the repo, it is because it is generated by a shell script called (

mandos commented on 2012-10-06 08:41

I do see this line:
-- Installing: /home/bill/AUR/arduide-git/pkg/usr/share/application/arduino-ide.desktop
when compiling the project, but the .desktop file is not copied in the specified folder.
Actually it seems like it is not inside the repository.

MuPuF commented on 2012-10-05 21:47

@mandos: I fixed many things but I may have broken it for you. Tell me if this version satisfies you.

mandos commented on 2012-10-05 13:27

.desktop file is here:
lacking a better icon and considering that Arduino is somewhat of a dependency (although not in this AUR package) I added the default Arduino icon.
Of course this can be changed.

The changes required in the CMakeLists.txt seem to be just this:
install(FILES arduide.desktop DESTINATION "/usr/share/applications/")
at the end of CMakeLists.txt. I suppose it would be better to change the path with a variable, but I do not really know how to accomplish such a task.

MuPuF commented on 2012-10-05 12:48

@mandos: Cool :) If you could modify arduide's CMakeLists.txt to install it too, it would be even better ;)

mandos commented on 2012-10-05 12:45

Never done that! I'll take it as a challenge (an easy one it seems) :)

I'm looking into it

MuPuF commented on 2012-10-05 12:41

@mandos: Sure, could you write the .desktop files for that? I'll include them upstream :)

mandos commented on 2012-10-05 12:32

is it possible to create a menu entry upon installation?
Like arduino and other software do (they add a shortcut under Development in my XFCE)

MuPuF commented on 2012-10-05 12:02

@blubbe: Thanks, updated! Sorry to have taken so much time.

MuPuF commented on 2012-10-05 12:02

@blubbe: Thanks, updated! Sorry to have taken some much time.

blubbe commented on 2012-09-28 21:37

gcc-avr has been renamed to avr-gcc.

MuPuF commented on 2012-07-23 11:46

Support for user-defined boards should have been added. Please test and report any problem :)

Anonymous comment on 2012-05-20 17:16

MuPuF: Thanks, that's all I was looking for.

MuPuF commented on 2012-05-20 16:50

rlp: The arduino sdk doesn't compile with the avr libc 1.8. Hence why I made you downgrade your libc.

I don't know what more I could explain.

Anonymous comment on 2012-05-20 16:37

MuPuf: Thanks! That solved the problem. If you don't mind, could you explain what exactly was going wrong and how that fixed it?

MuPuF commented on 2012-05-20 07:10

rip: This should fix your problems:
$ wget
# pacman -U avr-libc-1.7.1-1-any.pkg.tar.xz

Anonymous comment on 2012-05-20 05:25

It looks like a very nice IDE but I'm having some trouble compiling.

/home/robert/.local/share/data/ IDE/arduino-1.0/hardware/arduino/cores/arduino/Print.cpp:44:9: error: 'prog_char' does not name a type
/home/robert/.local/share/data/ IDE/arduino-1.0/hardware/arduino/cores/arduino/Print.cpp:47:23: error: 'p' was not declared in this scope

Do you have any idea why this might be happening?

mandos commented on 2012-05-02 14:48

Thanks for the tip, it really helped!

Also, thumbs up for the arduino-ide, much much better than the original one!!

MuPuF commented on 2012-05-02 12:09

Great. The name is arduino_ide.

When you don't know the name of the applications you installed, run: pacman -Ql <package_name>

mandos commented on 2012-05-02 09:55

No worries MuPuf! It compiled fine and I installed it. It works just fine from what I can tell. It doesn't add a shortcut to the menu of XFCE though, but this isn't a problem.

Thanks ;)

mandos commented on 2012-05-02 09:48

No worries MuPuf! It compiled fine and I installed it. I haven't found how to run it though (it doesn't appear in my XFCE menus and can't find any arduide command from the terminal).

I'm looking into it, thanks :)

MuPuF commented on 2012-05-01 19:02

mandos: Hey, sorry, I forgot about this issue. I've just commited the fix.

mandos commented on 2012-04-23 19:18

I'm getting this when trying to install:

[ 47%] Building CXX object CMakeFiles/arduino-ide.dir/env/Device.cpp.o
/home/bill/AUR/arduide-git/src/arduide-build/env/Device.cpp: In static member function ‘static DeviceList Device::listDevices(bool)’:
/home/bill/AUR/arduide-git/src/arduide-build/env/Device.cpp:141:33: error: ‘read’ was not declared in this scope
/home/bill/AUR/arduide-git/src/arduide-build/env/Device.cpp:156:21: error: ‘close’ was not declared in this scope
make[2]: *** [CMakeFiles/arduino-ide.dir/env/Device.cpp.o] Error 1
make[1]: *** [CMakeFiles/arduino-ide.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().

Am I missing something?

MuPuF commented on 2012-02-28 09:08

A user sent me a mail concerning avr-libc 1.8 and the arduino SDK incompatibilty.
One commit was made in the git repository of the arduino SDK:

You may choose to apply the patch yourself to the SDK or downgrade to avr-libc 1.7.1 (

If you do find other problems with the avr-libc 1.8, please report the problem.

MuPuF commented on 2012-02-27 01:02

Hey guys, I've just finished adding support for the arduino sdk 0023 and 1.0. Both are suported by the IDE and you can select them in the config dialog.

By default, the 1.0 SDK will be downloaded at first boot.

Please tell me if you find anything wrong in my implementation :)

MuPuF commented on 2012-02-26 19:41

@enteenteente: the problem comes from avr-libc 1.8.0-1. No idea why it is broken with it but I'm getting kind of annoyed by the state of the avr toolchain :o

This should fix your problems:
$ wget
# pacman -U avr-libc-1.7.1-1-any.pkg.tar.xz

enteenteente commented on 2012-02-26 16:51

Here they are:
community/avr-binutils 2.22-2
community/avr-gcc 4.6.2-1
community/avr-libc 1.8.0-1

MuPuF commented on 2012-02-26 16:30

@enteenteente: Saddly, I cannot reproduce this problem. Could you post all the avr-* packages you use (libc, gcc, binutils) please ?

enteenteente commented on 2012-02-26 15:58

Dont' knwo what i'm doing wrong but im always getting the following error:

Compiling for Arduino Uno...
>>>> avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=22 -I/home/ente/.local/share/data/ IDE/arduino-0022/hardware/arduino/cores/arduino -o /tmp/arduino-buildpUy04w/HardwareSerial.cpp.o /home/ente/.local/share/data/ IDE/arduino-0022/hardware/arduino/cores/arduino/HardwareSerial.cpp
In file included from /usr/lib/gcc/avr/4.6.2/../../../../avr/include/util/delay.h:44:0,
from /usr/lib/gcc/avr/4.6.2/../../../../avr/include/avr/delay.h:37,
from /home/ente/.local/share/data/ IDE/arduino-0022/hardware/arduino/cores/arduino/wiring_private.h:30,
from /home/ente/.local/share/data/ IDE/arduino-0022/hardware/arduino/cores/arduino/HardwareSerial.cpp:28:
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/math.h:426:15: error: expected unqualified-id before 'double'
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/math.h:426:15: error: expected ')' before 'double'
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/math.h:426:15: error: expected ')' before 'double'
Compilation failed.

CountMurphy commented on 2012-02-26 02:16

After the lastest build, nothing compiles for any board (even with empty setup and loop). This is the error I am getting:

/usr/share/arduino/hardware/arduino/cores/arduino/Print.cpp: In member function 'size_t Print::print(const __FlashStringHelper*)':
/usr/share/arduino/hardware/arduino/cores/arduino/Print.cpp:44:9: error: 'prog_char' does not name a type
/usr/share/arduino/hardware/arduino/cores/arduino/Print.cpp:47:23: error: 'p' was not declared in this scope

Any ideas?

MuPuF commented on 2012-02-25 12:25

You're welcome, I don't work on it enough but we'll (hopefully) soon support multi-file pde and continuous serial reading.

broken.pipe commented on 2012-02-25 12:23

i have to thank you! awesome software! the arduino java crap drove me nuts!! and this simply works! :)

MuPuF commented on 2012-02-25 11:50

@broken.pipe: Done, thank you

broken.pipe commented on 2012-02-25 10:12

pls add qtwebkit as dep.

MuPuF commented on 2012-02-19 19:46

@jeedo: Sorry for the late answer, could you try installing libwebkit? I don't understand what is wrong since I do what I think should be done and a rapid check to some qt browsers using webkit seems to prove me right.

If it does fail again, could you try reinstalling cmake, qt and libwebkit please?

Anonymous comment on 2012-02-09 03:09

Just attempted to makepkg and ran into the following error during compile:

-- Found Qt4: /usr/bin/qmake (found version "4.8.0")
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
(found version "4.8.0")
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindQt4.cmake:1171 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:108 (find_package)

-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().

And the qt dependency is installed:

[root@compaq arduide-git]# pacman -Qi qt
Name : qt
Version : 4.8.0-4
Licenses : GPL3 LGPL
Groups : None
Provides : None
Depends On : libtiff libpng libmng sqlite3 ca-certificates glib2 dbus
fontconfig libgl libsm libxrandr libxv libxi alsa-lib
xdg-utils hicolor-icon-theme desktop-file-utils
Optional Deps : postgresql-libs: PostgreSQL driver
libmysqlclient: MySQL driver
unixodbc: ODBC driver
libxinerama: Xinerama support
libxcursor: Xcursor support
libxfixes: Xfixes support
Required By : grantlee qscintilla
Conflicts With : None
Replaces : None
Installed Size : 91224.00 KiB
Packager : Andrea Scarpino <>
Architecture : i686
Build Date : Tue 31 Jan 2012 07:46:07 AM EST
Install Date : Thu 09 Feb 2012 01:54:09 PM EST
Install Reason : Installed as a dependency for another package
Install Script : Yes
Description : A cross-platform application and UI framework

Are the dependencies missing something in the PKGBUILD?

Anonymous comment on 2011-12-25 12:06

Thanks MuPuF, and merry xmas and a happy new year also to you.
Your suggestion was the first thing I tried with no luck, I'm afraid. I'm glad it isn't me!
I'll embed the header in the file as a temporary workaround until you fix it!

MuPuF commented on 2011-12-25 11:35

Hi dts142857,

Arduide's support for multifile projects isn't ready yet, it is a work in progress but I don't spend enough time on this project. I haven't abandoned it though and I'm still casually fixing bugs and improving a bit the user experience.

But eeven though the arduide doesn't fully support multiple project files, you should be able to make it work by putting the header file in your project directory. If it doesn't work, then there is a problem and I'll fix it when I'm back from vacation.

Merry xmas and happy new year

Anonymous comment on 2011-12-25 11:09

Hi. Having worked with (and not liked) the Arduino IDE, I'm trying yours. It looks much nicer, but I've run into a noobie problem experimenting with, which I was hoping could help me with a project. My noobie question is: where do I put project header files, or how do I tell the IDE where to find them? I've tried several locations but on building always get the 'no such file or directory' error.

MuPuF commented on 2011-12-11 23:03

bzeghers: Indeed, this situation is not acceptable.
I blame the gcc devs a lot because they are aware of this problem and it has been lasting for a LOOOOOOOOOOONG time.
How the hell can they release a new version with such outstanding issues...

By the meantime, we should bug the gcc-avr Arch maintainer for him to include the patch. I can understand why he wouldn't like to do so though.

bzeghers commented on 2011-12-11 22:55

Yes, I read that page and the workaround works for me but I was hoping for a real solution. Thanks.

MuPuF commented on 2011-12-11 10:19

bzeghers: Hey, solving this problem is still on my TODO list. However, please follow this wiki page and tell me if that helps you:

bzeghers commented on 2011-12-11 05:33

MuPuF: I am having the delay() issue with my Arduino and I'm trying to build your patched packages but I am getting the following error:

==> ERROR: Failure while downloading binutils-2.20.1.tar.gz

I even tried editing the PKGBUILD file to point to the .tar.bz2 file but I end up with even more problems. Could you please look into this so we can have a working compiler for our Arduinos? Or is there a better solution to this problem?

MuPuF commented on 2011-06-26 09:45

maxid: Sorry, I'm stupid.

cd /tmp

tar xf binutils-avr-debian-2.20.1-1.src.tar.gz
cd binutils-avr-debian
sudo pacman -U binutils-avr-debian-2.20.1-1.pkg.tar.xz (check the name)

Do the same for gcc-avr

Anonymous comment on 2011-06-26 06:42

i can't install it

sudo pacman -U binutils-avr-debian-2.20.1-1.src.tar.gz error: faltan los metadatos del paquete en binutils-avr-debian-2.20.1-1.src.tar.gz
error: 'binutils-avr-debian-2.20.1-1.src.tar.gz': paquete inválido o corrupto

MuPuF commented on 2011-06-24 21:21

cd /tmp

sudo pacman -U binutils-avr-debian-2.20.1-1.src.tar.gz
sudo pacman -U gcc-avr-4.3-4.3.5-2.src.tar.gz

Anonymous comment on 2011-06-24 21:03

yes is a crappy, how install it? i'm new in arch an arduino

//maxid: No, the problem is in binutils-avr. I have a package for that but I'm not sure I want to upload it to AUR because I don't want to maintain it.

//The package is here:
//You may also need the gcc-avr package, I need it for the arduino mega.

//The gcc avr toolchain is really crappy...

MuPuF commented on 2011-06-14 18:46

You're welcome, sir ;)

Anonymous comment on 2011-06-14 18:43

works perfectly :) thanks

MuPuF commented on 2011-06-13 21:03

Klump: Woops, it is indeed a bit annoying.

This was a fun issue to trace and fix. It was a false assumption on our side that argc was passed by value to the constructor of QApplication.
However, QApplication's doc states: "Note: argc and argv might be changed as Qt removes command line arguments that it recognizes."

So, passing a reference to IDEApplication should fix the issue :) I've pushed the fix (, please try recompiling.

For your information, I didn't experience this issue because I guess an older version of gcc accidentally produced a "valid" code. I didn't try recompiling with the latest qt/gcc.

Anonymous comment on 2011-06-13 12:45

installed arduide today, seems nice but after i clicked on "open an existing project" it just crashed...
QGtkStyle was unable to detect the current GTK+ theme.
initializePlugins: loading the plugins in /usr/share/arduino-ide/plugins
Loading "" result: true
Initializing "" result: true
Loading "" result: true
Initializing "" result: true
[1] 15154 segmentation fault (core dumped) arduino-ide

and when i tried to restart it it always crashes with the same message,
after removing the config and restarting, i could create a new project but after ca 5 seconds it crashed -.-

any ideas?

MuPuF commented on 2011-04-14 16:17

maxid: No, the problem is in binutils-avr. I have a package for that but I'm not sure I want to upload it to AUR because I don't want to maintain it.

The package is here:
You may also need the gcc-avr package, I need it for the arduino mega.

The gcc avr toolchain is really crappy...

Anonymous comment on 2011-04-14 14:55

mapuf, with the version of arduino I have the problem I can not use delay (), this version is fixed?

mapuf, con la version de arduino tengo el problema de que no puedo usar delay(), en esta version se soluciona?

MuPuF commented on 2011-03-05 01:11

Re-sent the PKGBUILD to inform you of the support of the arduino UNO. It also uses the arduino-0022 sdk instead of the arduino-0018.

Let us know if there are some regressions or if you have some feature requests

MuPuF commented on 2010-12-10 06:42

fphillips: Thanks, sleep deprivation really alters my thinking, thanks a lot.

youarefunyy: I've re-uploaded a new package. Sorry

kevincox commented on 2010-12-10 02:46

Ahaha Yes! We have a winner.

Thank you fphillips. I did not have avr-libc installed and that solved the problem. New dependency maybe?

fphillips commented on 2010-12-10 00:22

It's avr-libc that owns /usr/avr/include/stdio.h

MuPuF commented on 2010-12-09 20:48

Strange, what version of gcc do you use?

kevincox commented on 2010-12-09 20:37

Yes, I have it installed.

MuPuF commented on 2010-12-06 17:19

Youarefunny: This shouldn't happen. Are you sure you installed the package "base-devel"?

kevincox commented on 2010-12-06 12:51

Cool that solved that problem but now I get:

--Output in console window-------------------------
Compiling for Arduino Duemilanove or Nano w/ ATmega328...
>>>> avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=18 -I/root/.local/share/data/ IDE/arduino-0018/hardware/arduino/cores/arduino -o /tmp/arduino-buildlIr2lv/HardwareSerial.cpp.o /root/.local/share/data/ IDE/arduino-0018/hardware/arduino/cores/arduino/HardwareSerial.cpp
/root/.local/share/data/ IDE/arduino-0018/hardware/arduino/cores/arduino/HardwareSerial.cpp:22:19: fatal error: stdio.h: No such file or directory
compilation terminated.
Compilation failed.

Should this file exist? If so where can I get it?

MuPuF commented on 2010-12-06 07:48

WTF, why didn't I add the dependency to gcc-avr :o

Well, I'll update that today Thanks for reporting!

kevincox commented on 2010-12-06 00:55

I get this when I try to compile and/or upload my code
--Output in console window-------------------------
Compiling for Arduino Duemilanove or Nano w/ ATmega328...
>>>> avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=18 -I/root/.local/share/data/ IDE/arduino-0018/hardware/arduino/cores/arduino -o /tmp/arduino-buildQBswhi/HardwareSerial.cpp.o /root/.local/share/data/ IDE/arduino-0018/hardware/arduino/cores/arduino/HardwareSerial.cpp
Cannot start program avr-g++
Compilation failed.

How do you get avr-g++?

kevincox commented on 2010-12-06 00:54

I get this when I try to compile and/or upload my code
Compiling for Arduino Duemilanove or Nano w/ ATmega328...
>>>> avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=18 -I/root/.local/share/data/ IDE/arduino-0018/hardware/arduino/cores/arduino -o /tmp/arduino-buildQBswhi/HardwareSerial.cpp.o /root/.local/share/data/ IDE/arduino-0018/hardware/arduino/cores/arduino/HardwareSerial.cpp
Cannot start program avr-g++
Compilation failed.
How do you get avr-g++?

kevincox commented on 2010-12-06 00:54

I get this when I try to compile and/or upload my code
Compiling for Arduino Duemilanove or Nano w/ ATmega328...
>>>> avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=18 -I/root/.local/share/data/ IDE/arduino-0018/hardware/arduino/cores/arduino -o /tmp/arduino-buildQBswhi/HardwareSerial.cpp.o /root/.local/share/data/ IDE/arduino-0018/hardware/arduino/cores/arduino/HardwareSerial.cpp
Cannot start program avr-g++
Compilation failed.
How do you get avr-g++?

pyropeter commented on 2010-11-12 19:10

That is because the other dependencies indirectly depend on qt and gcc-libs. (so your package would work without listing qt and gcc-libs as dependencies)
I don't know how to handle such cases properly, I would just keep them.

Also, if you don't want to depend on arduino, please add this line to your PKGBUILD:
optdepends=('arduino: needed for building and uploading')

fphillips commented on 2010-11-11 22:21

Yeah, sure, it's a simple build and I've got uploads working now, so I know my hardware is good. I'm not a fan of the java ide anyway (the file selection dialog in particular irks me.)

You may also be interested to see my comment over there (AUR 8388) about using internal avrdude on Uno rather than community.

MuPuF commented on 2010-11-11 20:57

fphillips: We need to add support for the latest sdk first. Then, ttyACM0 isn't a serial connection. So, we need to change some code. We may work on all this this week end, would you be ok to try to changes?

pyropeter: Thanks for your comments, I've updated the package!
Namcap gives me these warnings though:
arduide-git W: Dependency included but already satisfied ('qt')
arduide-git W: Dependency included but already satisfied ('gcc-libs')

pyropeter commented on 2010-11-11 16:10

I would add arduino as a dependency, like mar77i proposed.
It does not make much sense to let the GUI install the SDK on linux, as it does not run as root and thus is unable to install software properly.

If you disagree, you should either add it as an optdepend or add a hint to post_install.

Hints on your PKGBUILD:
1. You should remove the example-PKGBUILD-stuff at the top
2. There is no information about the current maintainer (Maintainer-comment)
3. You can remove all empty variable declarations (e.g. "groups=()")
4. You can remove all occurences of "|| return 1", as the new makepkg detects errors automatically
5. The gcc-libs dependency is missing

fphillips commented on 2010-11-11 04:11

I can't get it to detect my Uno, which I have selected in board. It says "No device found." The Uno uses /dev/ttyACM0 - does your program have the ability to find or configure for this?

This must be the correct device file because I can put it in loopback and it echoes back in the arduino-0021 serial monitor. Although I haven't been able to upload yet, I'm getting the "stk500_getsync(): not in sync: resp=0x30" error.

MuPuF commented on 2010-08-28 11:21

mar77i: No, the right arduino sdk is downloaded by the IDE. If you already have aur/arduino(64)? installed, you can reuse it by telling the arduide where it belongs.

Let me know if you have a better idea on how to deal with this.

Thanks for caring about it.

mar77i commented on 2010-08-28 04:00

isn't arduino a dependency or at least optional dependency?