Re: Compilation failure on FreeBSD amd64 (eclipse swt packages not installed?)
Posted by
Wade Walker on
May 25, 2011; 12:53am
URL: https://forum.jogamp.org/Compilation-failure-on-FreeBSD-amd64-eclipse-swt-packages-not-installed-tp2981841p2982481.html
Hi Jerron,
The SWT library is required only for some of the unit tests. Since JOGL can be displayed in an SWT app, we have unit tests for those cases. The SWT libraries are in jogl/make/lib/swt. SWT doesn't appear to support FreeBSD directly, but the Linux/GTK version should work on FreeBSD if you have the Linux GTK port installed (see
http://forums.freebsd.org/archive/index.php/t-7279.html for info).
But if you just want to compile JOGL and you don't care if the SWT unit test runs, all you need to do is modify the jogl/make/build-common.xml to select the Linux version of SWT if it detects a FreeBSD build. Search for "isFreeBSD" in the XML files and you'll see how other parts of the build sense FreeBSD.