Every time I run nios2-eclipse I see it generates a folder called ".altera.sbt4e" and it generates a log under this folder. There are some errors in this log that I coyp them here:
....
!ENTRY org.eclipse.osgi 4 0 2013-10-16 17:20:52.967
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
<project folder>/.altera.sbt4e/configuration/org.eclipse.osgi/bundles/271/1/.cp/
libswt-pi-gtk-3740.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
no swt-pi-gtk in java.library.path
<project folder>/.swt/lib/linux/x86/
libswt-pi-gtk-3740.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Can't load library: /home/amir.alavi/.swt/lib/linux/x86/
libswt-pi-gtk.so Is searched this issue and I found many answer for it but none of them worked! For instance this link:
http://blog.e-bluesoft.com/install-lpcxpresso-on-fedora-17/