Re: Compilation failure on FreeBSD amd64 (eclipse swt packages not installed?)
Posted by
Wade Walker on
May 25, 2011; 3:54pm
URL: https://forum.jogamp.org/Compilation-failure-on-FreeBSD-amd64-eclipse-swt-packages-not-installed-tp2981841p2984808.html
Whichever version of Eclipse you installed, that's the version of the SWT libraries you need. So if you installed Eclipse from
http://www.eclipse.org/downloads/, then there should be a version of SWT at
http://www.eclipse.org/swt/ that matches it.
If it's an SWT version that we don't already have in jogl/make/lib/swt, just download it from
http://www.eclipse.org/swt/ and put it in there. If we already have the version, you just need to change jogl/make/build-common.xml as I mentioned before.
It's slightly more difficult to try to take the SWT from inside an Eclipse installation, because an installation will only contain the SWT libraries for that specific platform. For example, my Windows installation contains:
org.eclipse.swt_3.6.1.v3655c.jar
org.eclipse.swt.win32.win32.x86_64_3.6.1.v3655c.jar
You could copy these into jogl/make/lib/swt, but then you'd still be missing 32-bit Windows. But you can do this if there's no other option (like if your version of Eclipse is some sort of custom build for FreeBSD).