View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014114VTK(No Category)public2013-06-05 06:542013-07-22 20:09
Reporteregk865 
Assigned ToDave DeMarle 
PriorityhighSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.0.rc 
Target VersionFixed in Version6.0.0 
Summary0014114: building VTK6.0.0.rc2 fails with VTK_WRAP_JAVA set to ON and BUILD_TESTING set to OFF
DescriptionWhen building VTK6.0.0.rc2 with VTK_WRAP_JAVA set to ON and BUILD_TESTING set to OFF, build fails at the very end with error below. Build only succeeds when building Java wrappers with testing turned on. This was never a problem with problem with VTK 5.X. I noticed the problem on both Mac and Linux systems.

...
[100%] Built target VTKJavaCommonDataModel
Scanning dependencies of target VTKJavaCommonTransforms
[100%] Built target VTKJavaCommonTransforms
Scanning dependencies of target VTKJavaRenderingVolumeAMR
[100%] Built target VTKJavaRenderingVolumeAMR
Scanning dependencies of target VTKJavaRenderingVolumeOpenGL
[100%] Built target VTKJavaRenderingVolumeOpenGL
Scanning dependencies of target VTKJavaViewsContext2D
[100%] Built target VTKJavaViewsContext2D
Scanning dependencies of target VTKJavaViewsInfovis
[100%] Built target VTKJavaViewsInfovis
Scanning dependencies of target VTKJavaViewsGeovis
[100%] Built target VTKJavaViewsGeovis
Scanning dependencies of target VTKJavaClasses
[100%] Compiling Java Classes
/home/eli/software/vtk/vtk-6.0.0.rc2/build/java/vtk/vtkJavaTesting.java:11: cannot find symbol
symbol : class vtkTesting
location: package vtk
import vtk.vtkTesting;
          ^
/home/eli/software/vtk/vtk-6.0.0.rc2/build/java/vtk/vtkJavaTesting.java:131: cannot find symbol
symbol : class vtkTesting
location: class vtk.vtkJavaTesting
    private static vtkTesting Tester = null;
                   ^
/home/eli/software/vtk/vtk-6.0.0.rc2/build/java/vtk/vtkJavaTesting.java:78: cannot find symbol
symbol : class vtkTesting
location: package vtk
        vtkJavaTesting.Tester = new vtk.vtkTesting();
                                       ^
Note: /home/eli/software/vtk/vtk-6.0.0.rc2/build/java/vtk/vtkJavaMemoryManagerImpl.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
make[2]: *** [java/javac_stamp.txt] Error 1
make[1]: *** [Wrapping/Java/CMakeFiles/VTKJavaClasses.dir/all] Error 2
make: *** [all] Error 2
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0030893)
Dave DeMarle (administrator)
2013-06-05 12:08

Confirmed.
I saw this specific error when I tried...
ninja: error: 'java/javac_tests_stamp.txt', needed by 'Wrapping/Java/CMakeFiles/VTKJavaTestClasses', missing and no known rule to make it

Investigating...
(0030894)
Dave DeMarle (administrator)
2013-06-05 13:07

http://review.source.kitware.com/#/c/11526/ [^]

 Issue History
Date Modified Username Field Change
2013-06-05 06:54 egk865 New Issue
2013-06-05 10:57 Dave DeMarle Assigned To => Dave DeMarle
2013-06-05 10:57 Dave DeMarle Status backlog => todo
2013-06-05 10:57 Dave DeMarle Product Version => 6.0.rc
2013-06-05 12:08 Dave DeMarle Note Added: 0030893
2013-06-05 13:07 Dave DeMarle Note Added: 0030894
2013-06-05 13:07 Dave DeMarle Status todo => active development
2013-06-05 13:07 Dave DeMarle Resolution open => fixed
2013-07-22 20:09 Dave DeMarle Status active development => closed
2013-07-22 20:09 Dave DeMarle Fixed in Version => 6.0.0


Copyright © 2000 - 2018 MantisBT Team