[vtkusers] VTK with 64-bit java

David Cole david.cole at kitware.com
Fri Jun 26 10:08:40 EDT 2009


"Can't find dependent libraries" probably means that you do not have the
Java dlls in your PATH.

 26, 2009 at 10:05 AM, pkudrle <paul.kudrle at gmail.com> wrote:
>
>
> I have been able to get the 64-bit.  Turns out I had installed the VS C++
> Express edition which was causing me issues.  Once I uninstalled it the
> Visual Studio 9 64-bit had all the correct options.
>
> Though now I am still having the same issue with vtkRenderingJava.dll
>
> java.lang.UnsatisfiedLinkError:
> C:\Users\pkudrle\SRC\VTK\vtk542build\bin\Release\vtkRenderingJava.dll:
> Can't
> find dependent libraries
>        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
>        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
>        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
>        at java.lang.System.loadLibrary(System.java:1028)
>         at vtkjavacone.Cone.<clinit>(Cone.java:27)
> Could not find the main class: vtkjavacone.Cone.  Program will exit.
> Exception in thread "main"
> Exception in thread "main" Java Result: 1
> BUILD SUCCESSFUL (total time: 11 seconds)
>
>
>
>
> Dave Partyka wrote:
> >
> > I build nightly 64 bit cvs versions of VTK using 64 bit Java every night
> > on
> > Visual Studio 2009. Everything should work as long as you select the
> > "Visual
> > Studio 9 2008 Win64" generator and download the 64bit package of java.
> >
> > On Thu, Jun 25, 2009 at 9:32 AM, Gerrick Bivins
> > <gbivins at objectreservoir.com
> >> wrote:
> >
> >> Yes. I'm using release tags VTK 5.2  and VTK 5.4. Haven't tried cvs
> trunk
> >> in
> >> a while.
> >> Gerrick
> >>
> >>
> >> On 6/25/09 8:27 AM, "pkudrle" <paul.kudrle at gmail.com> wrote:
> >>
> >> >
> >> > Great thanks.  I will try both if need be.
> >> >
> >> > Did you download the source from the CVS repository?
> >> >
> >> >
> >> > Gerrick Bivins wrote:
> >> >>
> >> >> I'm using VS 2005 with AMD and VTK runs just fine with  Java on 64
> >> bit.
> >> >> Not sure about Visual Studio 9 but the dashboard looks like its
> >> working
> >> >> ok:
> >> >> http://www.cdash.org/CDash/buildSummary.php?buildid=363932
> >> >> Something else with your cmake configuration is incorrect.
> >> >> Gerrick
> >> >>
> >> >>
> >> >> On 6/24/09 12:14 PM, "pkudrle" <paul.kudrle at gmail.com> wrote:
> >> >>
> >> >>>
> >> >>> I am new too VTK and I am looking at replacing our current 3D engine
> >> with
> >> >>> VTK.  We are dependent on using Java and 64-bit.
> >> >>>
> >> >>> I tried using cmake with the Visual Studio 9 64-bit but the cmake
> >> tool
> >> >>> did
> >> >>> not display the Java options.
> >> >>>
> >> >>> I can do the build with the Visual Studio 9 32-bit but then the .dll
> >> that
> >> >>> are created are for 32-bit systems and I get this error (Can't load
> >> IA
> >> >>> 32-bit .dll on a AMD 64-bit platform).
> >> >>>
> >> >>> Is the 64-bit platform an option for me?
> >> >>>
> >> >>> Are there work arounds?  How reliable is 64-bit for VTK?
> >> >>>
> >> >>> Thanks,
> >> >>> Paul
> >> >>
> >> >> _______________________________________________
> >> >> 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
> >> >>
> >> >>
> >>
> >> _______________________________________________
> >> 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
> >>
> >
> > _______________________________________________
> > 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
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/VTK-with-64-bit-java-tp24188376p24220918.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090626/4cbda6aa/attachment.htm>


More information about the vtkusers mailing list