-
Notifications
You must be signed in to change notification settings - Fork 143
Devel GTK Missing so file errors
Simeon Andreev edited this page Feb 23, 2023
·
1 revision
This article assumes you have built the SWT JNI bindings using this script. Even when using this script, launching a child Eclipse might give an error where the parent Eclipse complains about missing .so files, and then stops the launch.
Usually this means that you have forgotten to import the SWT binaries projects into your workspace/run configuration. To remedy this, clone the eclipse.platform.swt.binaries project into your gitroot. Import the projects into your Eclipse workspace.
You then need to ensure that Eclipse is launching a child Eclipse with those workspace binaries enabled at launch. These are the binaries that will be replaced by the ones generated with the SWT JNI script.
To enable this, execute the following steps:
- Go to Run Configurations
- Select your child Eclipse Run Configuration
- Click the Plug-ins tab and select "launch with plug-ins selected below only"
- From the list of workspace plug-ins, choose the Gtk binary that matches your OS and architecture (for example: org.eclipse.swt.gtk.linux.x86_64). Enabling this will allow your child Eclipse to run properly