[vtkusers] Problems in VTK Java & Linux
Denis Barbier
bouzim at gmail.com
Mon Jun 1 16:11:31 EDT 2009
On 2009/5/29 Dhanesh Ramachandram, PhD wrote:
> Hi again Denis,
>
> Actually I solved this issue by explicitly setting the environment
> variable LD_LIBRARY within the Eclipse IDE.
> However, I had earlier deleted by VTKBuild folder and re-configured
> CMake. Somehow at 100% I get this following error:
>
> [100%] Built target VTKJava
> Linking CXX executable ../../bin/VTKJavaExecutable
> ../../bin/libvtkRenderingJava.so.5.5.0: undefined reference to `JAWT_GetAWT'
> collect2: ld returned 1 exit status
> make[2]: *** [bin/VTKJavaExecutable] Error 1
> make[1]: *** [Wrapping/Java/CMakeFiles/VTKJavaExecutable.dir/all] Error 2
> make: *** [all] Error 2
You can add /usr/lib/jvm/java-6-sun/jre/lib/i386/xawt to your
LD_LIBRARY_PATH before running make, IMHO that should fix your build failure.
Denis
More information about the vtkusers
mailing list