submicro 0 Posted August 29, 2012 Share Posted August 29, 2012 Hello all I'm new to energia but not arduino. When I launch energia all seems well a pop up asks where to put sketches. I enter a folder location and hit ok. Then nothing! a short search through system monitor under running processes, turns up energia! but no gui is visable on the desktop. Can anyone help me out here? My arduino gui works fine. P.S. I'm using Xubuntu 12.04 64bit P.S I'm using energia 0008 Thanks Submicro Quote Link to post Share on other sites
submicro 0 Posted August 29, 2012 Author Share Posted August 29, 2012 Well I decided to boot up an old version of regular old Ubuntu 10.04 lucid. Now I get the gui but I get this error "/home/submicro/energia-0101E0008/hardware/tools/msp430/bin/../libexec/gcc/msp430/4.6.3/cc1plus: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory" I don't care which Ubuntu I boot to just want energia! Quote Link to post Share on other sites
Rickta59 589 Posted August 29, 2012 Share Posted August 29, 2012 I compiled that stuff with Ubuntu 11.04. If you use that version it should work. Quote Link to post Share on other sites
submicro 0 Posted August 30, 2012 Author Share Posted August 30, 2012 Thanks for the tip I think I found the problem here is the error I get. "java.lang.UnsatisfiedLinkError: /home/submicro/energia-0101E0008/lib/librxtxSerial.so: /home/submicro/energia-0101E0008/lib/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/submicro/energia-0101E0008/lib/librxtxSerial.so: /home/submicro/energia-0101E0008/lib/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)" However I have no idea how to correct it! Submicro I may just have to install Ubuntu 11.04 Quote Link to post Share on other sites
energia 485 Posted August 30, 2012 Share Posted August 30, 2012 You can try to replace the librxtxSerial.so with the 64 bit version. You can get the binaries from here: http://rxtx.qbang.org/wiki/index.php/Download Quote Link to post Share on other sites
submicro 0 Posted August 30, 2012 Author Share Posted August 30, 2012 Thank you very much that got the GUI working. However there is still an error when I try to compile code. here is the error. "/home/submicro/Downloads/energia-0101E0008/hardware/tools/msp430/bin/../libexec/gcc/msp430/4.6.3/cc1plus: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory" This is really frustrating, makes me wonder if it's ever going to work right! Quote Link to post Share on other sites
submicro 0 Posted August 31, 2012 Author Share Posted August 31, 2012 Anybody got any ideas? Quote Link to post Share on other sites
energia 485 Posted September 1, 2012 Share Posted September 1, 2012 you can try to fix it with installing libmpc2 libgmp3c2 libmpfr4 Open a terminal window and execute: sudo apt-get install libmpc2 libgmp3c2 libmpfr4 Quote Link to post Share on other sites
energia 485 Posted September 1, 2012 Share Posted September 1, 2012 Ignore previoius post. Below instructions should get it to work for you. Verified in a virtual machine with 10.04 installation: 1: in a terminal do: sudo apt-get install libmpc2 libgmp3c2 libmpfr1ldbl 2: sudo ln -s /usr/lib/libmpfr.so.1.2.2 /usr/lib/libmpfr.so.4 Robert Quote Link to post Share on other sites
submicro 0 Posted September 2, 2012 Author Share Posted September 2, 2012 ok I think I figured it out, sort of! I need to use the "export LD_LIBRARY_PATH=" command to point to the location of libmpc.so.2 which is /usr/lib/x86_64-linux-gnu/libmpc.so.2 My problem is how to implement the command? would I just type export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/libmpc.so.2 ??? P.S. I tried the previous post's suggestion, it didn't work. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.