ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Denis Klimov <klimov.d.e@gmail.com>
To: trash4@yandex.ru,
	 ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] avr-gcc и arduino
Date: Tue, 18 May 2010 15:15:38 +0600
Message-ID: <4BF25ABA.3030409@altlinux.org> (raw)
In-Reply-To: <201005181126.10456.trash4@yandex.ru>

On 18.05.2010 13:26, trash4 wrote:
> Приветствую!
>
> Заказал, получил, скачал, что нужно, доустановил, чего не было. Компилирую пример. Всё. Затык.
>
> /home/guest007/tmp/arduino-0018/hardware/arduino/cores/arduino/wiring_private.h:28:20: error: avr/io.h: No such file or
> directory
> /home/guest007/tmp/arduino-0018/hardware/arduino/cores/arduino/wiring_private.h:29:27: error: avr/interrupt.h: No such
> file or directory
> /home/guest007/tmp/arduino-0018/hardware/arduino/cores/arduino/wiring_private.h:30:23: error: avr/delay.h: No such file
> or directory
> /home/guest007/tmp/arduino-0018/hardware/arduino/cores/arduino/wiring_private.h:31:19: error: stdio.h: No such file or
> directory
>                   from /home/guest007/tmp/arduino-0018/hardware/arduino/cores/arduino/wiring.c:25:
>
> И так далее.
> Дай, думаю, почитаю документацию. Там прозрачно намекают, что хорошо бы avr-gcc версии 4,3,4. Но не настаивают,
> поскольку это критично лишь для ATmega328, у меня же 168.
>
> Попробовал на кубунте - там всё заработало. Странно. Заголовочные лежат на месте, пакеты все стоят, а поезд не едет :-(
>
> Кто-нибудь сталкивался с таким?
>
> Будет ли avr-gcc обновляться до свежего или это и правда в данном случае не критично, а собака в другом месте рылась?
>
> Заранее благодарен.

Создайте ссылку на директорию с необходимыми заголовочными файлами там 
где у вас установлен arduino:

ln -s /usr/lib/avr/include/avr avr

-- 
Климов Денис
zver


  reply	other threads:[~2010-05-18  9:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-18  7:26 trash4
2010-05-18  9:15 ` Denis Klimov [this message]
2010-05-18 19:42   ` Grigory Milev
2010-05-19  5:29     ` trash4

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BF25ABA.3030409@altlinux.org \
    --to=klimov.d.e@gmail.com \
    --cc=sisyphus@lists.altlinux.org \
    --cc=trash4@yandex.ru \
    --cc=zver@altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git