Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Nios ii sbt gui

I have installed Quartus 13.1 SP1 on a Fedora machine. I run Quartus GUI, QSYS and all the GUIs withought any problem. When I try to run "NIOS II Software Tools for Eclipse" nothing happens! I also try to run its comamnd from shell but I will see teh same problem. I guess it should be a 64bits or 32bits issue. Any idea?

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    funky things happen when you try to use an unsupported OS

    there are flags you can start nios2-eclipse with that will output some debug information to the terminal upon launch. unfortunately i can't remember what they are, so you'll have to do some searching
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    13.1sp1? That's a nifty trick considering that 13.1 is yet to be released. :-)

    In any case, I have this working on Ubuntu (Xubuntu actually) 12.04LTS and 13.04 as well as Fedora 18. Make sure you're starting it from within a nios2_command_shell.sh.

    As far as I'm concerned, it's standard operating procedure to start _every_ Linux application from within a properly configured shell.

    Go ahead and delete any .altera and/or .eclipse sub-directories. Read your eclipse log output as well.

    Best of luck!

    slacker
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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/