[Insight-users] Bug making ITK 2.0 and JAVA ???

Luis Ibanez luis.ibanez at kitware.com
Wed Mar 2 20:09:28 EST 2005


Hi Marcelo,


The easiest way of building the wrapping for ITK
is to put CableSwig in the directory:


              Insight/Utilities


In this way, CMake will configure CableSwig at
the same time that ITK is configures. That makes
easy to find all the tools for wrapping.



Note that we have exercised the Java wrapping using
Java 1.4.2.



We are not aware of how this will work with Java 1.5,...



    Regards,



       Luis



----------------------------
Oliveira Marcelo wrote:

> Hi user´s !!!
> 
> Is good see a new version of ITK !!!!
> 
> 
> The ITK 2.0 compiled OK, but i got errors when i try
> to enable JAVA. 
> 
> 
> Im using:
> Win XP
> Visual Studio .net 2003
> Cmake 2.0
> CableSwig 2.0
> ITK 2.0
> Java 1.5 
> 
> tanx a lot for you help !!!
> 
> the erros are below: 
> 
> Output Window
> 
> Building Java Class
> C:/Insight2_bin2/Wrapping/CSwig/Java/InsightToolkit/VXLNumericsJava.class
> C:\Insight2_bin2\Wrapping\CSwig\Java\.\Debug\InsightToolkit\itkbase.java:61:
> cannot find symbol
> symbol  : variable JavaCWD
> location: class InsightToolkit.itkbase
>     String old = JavaCWD.GetCWD();
>                  ^
> C:\Insight2_bin2\Wrapping\CSwig\Java\.\Debug\InsightToolkit\itkbase.java:62:
> cannot find symbol
> symbol  : variable JavaCWD
> location: class InsightToolkit.itkbase
>     JavaCWD.SetCWD(libDir);
>     ^
> C:\Insight2_bin2\Wrapping\CSwig\Java\.\Debug\InsightToolkit\itkbase.java:65:
> cannot find symbol
> symbol  : variable JavaCWD
> location: class InsightToolkit.itkbase
>     JavaCWD.Load(libDir + sep + lib);
>     ^
> C:\Insight2_bin2\Wrapping\CSwig\Java\.\Debug\InsightToolkit\itkbase.java:67:
> cannot find symbol
> symbol  : variable JavaCWD
> location: class InsightToolkit.itkbase
>     JavaCWD.SetCWD(old);
>     ^
> 4 errors
> Project : error PRJ0019: A tool returned an error code
> from "Building Java Class
> C:/Insight2_bin2/Wrapping/CSwig/Java/InsightToolkit/VXLNumericsJava.class"
> 
> Results
> Build log was saved at
> "file://c:\Insight2_bin2\Wrapping\CSwig\Java\Debug\BuildLog.htm"
> ITKJavaJar - 1 error(s), 0 warning(s)
> 
> 
> 	
> 	
> 		
> _______________________________________________________ 
> Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 





More information about the Insight-users mailing list