chipKIT® Development Platform

Inspired by Arduino™

Problem of using linux64 version MPIDE in Virtualbox

Created Thu, 19 Sep 2013 14:26:30 +0000 by workstation008


workstation008

Thu, 19 Sep 2013 14:26:30 +0000

I tried to use the linux version MPIDE in a virtualbox linux environment. My windows is 64-bit windows 8, and I install the virtual box on it and then install a 64-bit Ubuntu 12.04 into the virtualbox. Then, I install the linux64 version MPIDE based on the instruction of Chipkit. The MPIDE can be successfully opened. However, I can not compile any example project. The error is Cannot run program "home/bruce/bin/mpide-0023-linux64-20130715/hardware/pic32/compiler/pic32-tools/bin/pic32-g++": error=2, No such file or directory"

However, the pic32-g++ is in the above folder.

Does anyone have the same experience? Thanks for giving me any hint.


majenko

Thu, 19 Sep 2013 14:37:20 +0000

Can you compile with the 32-bit version? The only difference between the two is the rxtx version (copy librxtxSerial.so from the 64-bit version).


workstation008

Thu, 19 Sep 2013 15:35:10 +0000

I switched the guest OS to Ubuntu 12.04 32-bit version. I installed Java and librxtx-java also. I then installed the MPIDE 32-bit version. But, I can not even open the MPIDE. Using the run in terminal, I can see the exception is

no rxtxSerial in java library.path thrown while loading gnu.io.RXTXCommDriver

Can you compile with the 32-bit version? The only difference between the two is the rxtx version (copy librxtxSerial.so from the 64-bit version).


workstation008

Thu, 19 Sep 2013 18:31:00 +0000

I installed the Arduino based on the procedures on their website. It works to compile code. However, the MPIDE still does not.


workstation008

Mon, 23 Sep 2013 19:52:15 +0000

I installed the Arduino based on the procedures on their website. It works to compile code. However, the MPIDE still does not.

Finally, I copied two files librxtxSerial.so and librxtxSerial-2.2pre1.so from /usr/lib/jni/ to the mpide-0023-linux32-20130817-test/lib/

Then, it can display the IDE and be able to run the compilation. By the way, I have not tried the flashing.