chipKIT® Development Platform

Inspired by Arduino™

Linux Install Issue (rxtx library)

Created Tue, 16 Oct 2012 16:49:13 +0000 by guymc


guymc

Tue, 16 Oct 2012 16:49:13 +0000

There is a common problem affecting MPIDE installation under Linux. Some manual setup may be required (at least until packages with dependency information become available.) Details are available on the wiki:

[url]http://chipkit.org/wiki/index.php?title=MPIDE_Installation#Linux[/url]

Here are step by step instructions that should work for most users:

  1. Download the MPIDE tarball

[url]https://github.com/chipKIT32/chipKIT32-MAX/downloads[/url]

  1. Untar the MPIDE tarball in a directory of your choice
tar xvzfp mpide-0023-linux-20120903.tgz
  1. Install the librxtx package
sudo apt-get install librxtx-java
  1. Add the library path to your .bashrc file
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jni
  1. Close the terminal window and open a new one (so the new library path setting takes effect)

  2. Start the MPIDE

./mpide
  1. Select a directory to store sketches (pick any directory or create a new one)

  2. Observe the MPIDE GUI appears

At this point your MPIDE install should be good to go. Try a few sample sketches, and have fun! If you run into any problems, post them here and we'll try to help.

Cheers


bperrybap

Thu, 01 Nov 2012 22:21:09 +0000

I also found that I had to install the binutils-avr package as the IDE incorrectly attempts to use the avr-size program to get the pic32 image size after linking.

The library path stuff was not needed. Seem to me if messing with paths is necessary, that something is broken.

--- bill