slarson / wholebrain

Automatically exported from code.google.com/p/wholebrain
0 stars 0 forks source link

Volume Rendering require GLUT on Linux #487

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to enable volume rendering in Eclipse
2. Get error message when running SimpleVolume.java
3.

What is the expected output? What do you see instead?

/home/caprea/workspace/wbc-volume-client/target/natives
 Exception in thread "main" java.lang.UnsatisfiedLinkError:
 /home/caprea/workspace/wbc-volume-
client/target/natives/libJMEVolumeNode.so:
 libglut.so.3: cannot open shared object file: No such file or
 directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1028)
        at
org.wholebrainproject.volume.DataLoadingThread.<clinit>(DataLoadingThread.
java:74)
        at
org.wholebrainproject.volume.SimpleVolume.readyDataStream(SimpleVolume.jav
a:76)
        at
org.wholebrainproject.volume.SimpleVolume.main(SimpleVolume.java:65)

Please use labels and text to provide additional information.
In order for Volume rendering to run on a Linux machine, there must be
GLUT installed to provide libglut.so

I solved this by installing package 'freeglut3'

We will need to include these libraries in the Linux natives version so
that users do not need to install anything.

Original issue reported on code.google.com by caprea on 6 May 2010 at 6:51

GoogleCodeExporter commented 9 years ago
Han mentioned that this is no longer a requirement but remains untested because 
I'd need a fresh Linux box to test this.

Original comment by caprea on 10 Jun 2010 at 8:17

GoogleCodeExporter commented 9 years ago
I recommend you to test but I double checked that libglut.so is not on the 
shared library dependency list from 'ldd'

Original comment by hanseok....@gmail.com on 10 Jun 2010 at 8:28

GoogleCodeExporter commented 9 years ago

Original comment by stephen....@gmail.com on 12 Jul 2010 at 12:09

GoogleCodeExporter commented 9 years ago

Original comment by stephen....@gmail.com on 12 Jul 2010 at 12:39

GoogleCodeExporter commented 9 years ago
Should not be required anymore

Original comment by caprea on 15 Jul 2010 at 12:00