-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hello,
I've installed VEINS through opp_env, but when starting it with omnetpp I got :
An error has occurred. See the log file
/home/comev/x/net/project/omnetpp-5.7.1/ide/configuration/1736606902224.log.
In which we can read :
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-pi4-gtk-4958r2 in java.library.path: /nix/store/c26i7fk96p0h496y7qmhrx7vi27mwsl4-mesa-24.3.2-drivers/lib:/nix/store/qw8xdx53jf0pxc7$
no swt-pi4-gtk in java.library.path: /nix/store/c26i7fk96p0h496y7qmhrx7vi27mwsl4-mesa-24.3.2-drivers/lib:/nix/store/qw8xdx53jf0pxc73zydqgs$
no swt-pi4 in java.library.path: /nix/store/c26i7fk96p0h496y7qmhrx7vi27mwsl4-mesa-24.3.2-drivers/lib:/nix/store/qw8xdx53jf0pxc73zydqgsknc1$
Can't load library: /home/comev/.swt/lib/linux/x86_64/libswt-pi4-gtk-4958r2.so
Can't load library: /home/comev/.swt/lib/linux/x86_64/libswt-pi4-gtk.so
Can't load library: /home/comev/.swt/lib/linux/x86_64/libswt-pi4.so
I tried solving it by adding swt to my home-manager config, did not work because I end up with liswt-pi3.so. Then I downloaded swt-4.35M1-gtk-linux-x86_64.zip which had a .jar that I unpacked and found a libswt-pi4.so inside. So I put that one in my ~/.swt/lib/linux/x86_64/. But then omnetpp would still not launch because apparently I'm missing the right version of glibc.
Did I miss something during the installation ? All of that tinkering does not seem like it should happen had the nix installation gone through properly...
Thanks for the help.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working