Login  Register

Re: Compilation failure on FreeBSD amd64 (eclipse swt packages not installed?)

Posted by jerron on May 25, 2011; 3:54pm
URL: https://forum.jogamp.org/Compilation-failure-on-FreeBSD-amd64-eclipse-swt-packages-not-installed-tp2981841p2984812.html

This tiny patch allows the source from sgothel's repos to build:

index aac3849..5e514bf 100644
--- a/make/build-common.xml
+++ b/make/build-common.xml
@@ -120,6 +120,9 @@
           <istrue value="${isWindowsX86}" />
         </condition>
         <condition property="swt.jar" value="${project.root}/make/lib/swt/gtk-linux-x86_64/swt-debug.jar">
+          <istrue value="${isFreeBSDAMD64}" />
+        </condition>
+        <condition property="swt.jar" value="${project.root}/make/lib/swt/gtk-linux-x86_64/swt-debug.jar">
           <istrue value="${isLinuxAMD64}" />
         </condition>
         <condition property="swt.jar" value="${project.root}/make/lib/swt/gtk-linux-x86/swt-debug.jar">

Of course, I've not tried running the unit tests yet.