[vtkusers] VTK 5.5.0 Java wrapping build problem on Ubuntu 9.04

Francois Bertel francois.bertel at kitware.com
Wed May 27 08:49:38 EDT 2009


Hello Dhanesh,

Try this:

JAVA_AWT_LIBRARY:FILEPATH=/usr/lib/jvm/java-6-sun/jre/lib/i386/libjawt.so;/usr/lib/jvm/java-6-sun/jre/lib/i386/xawt/libmawt.so

The following dashboard machine (arkadia) run on Ubuntu 9.04 x86 and
builds with java wrapping on:

http://www.cdash.org/CDash/viewNotes.php?buildid=341695

Regards.

On Wed, May 27, 2009 at 6:23 AM, Dhanesh Ramachandram, PhD
<dhaneshr at gmail.com> wrote:
> Hi all,
>
> I'm experiencing some problem at 98%  when building VTK that I checked out
> through CVS. Here are the errors..appreciate some help pls...:
>
> [ 98%] Built target VTKJava
> Linking CXX executable ../../bin/VTKJavaExecutable
> ../../bin/libvtkRendering.so.5.5.0: undefined reference to `XtRemoveTimeOut'
> ../../bin/libvtkRendering.so.5.5.0: undefined reference to
> `XtVaAppCreateShell'
> ../../bin/libvtkRendering.so.5.5.0: undefined reference to `XtRealizeWidget'
> ../../bin/libvtkRendering.so.5.5.0: undefined reference to `XtDestroyWidget'
> ../../bin/libvtkRendering.so.5.5.0: undefined reference to
> `XtSetKeyboardFocus'
> ../../bin/libvtkRendering.so.5.5.0: undefined reference to `XtWindow'
> ../../bin/libvtkRendering.so.5.5.0: undefined reference to `XtAppNextEvent'
> ../../bin/libvtkRendering.so.5.5.0: undefined reference to
> `XtToolkitInitialize'
> ../../bin/libvtkRenderingJava.so.5.5.0: undefined reference to `JAWT_GetAWT'
> ../../bin/libvtkRendering.so.5.5.0: undefined reference to
> `applicationShellWidgetClass'
> ../../bin/libvtkRendering.so.5.5.0: undefined reference to `XtOpenDisplay'
> ../../bin/libvtkRendering.so.5.5.0: undefined reference to
> `XtDestroyApplicationContext'
> ../../bin/libvtkRendering.so.5.5.0: undefined reference to `XtDispatchEvent'
> ../../bin/libvtkRendering.so.5.5.0: undefined reference to
> `XtCreateApplicationContext'
> ../../bin/libvtkRendering.so.5.5.0: undefined reference to
> `XtRemoveEventHandler'
> ../../bin/libvtkRendering.so.5.5.0: undefined reference to
> `XtAddEventHandler'
> ../../bin/libvtkRendering.so.5.5.0: undefined reference to `XtAppAddTimeOut'
> ../../bin/libvtkRendering.so.5.5.0: undefined reference to
> `XtDisplayInitialize'
> 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
>
>
>
>
> --
> Dhanesh Ramachandram
> Visit my Photostream :
> http://flickr.com/photos/dhaneshr
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
                      | Clifton Park NY 12065, USA



More information about the vtkusers mailing list