| View Issue Details [ Jump to Notes ] | [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010375 | ITK | | public | 2010-03-05 11:22 | 2010-11-04 15:03 |
|
| Reporter | Fabian Wenzel | |
| Assigned To | Brad King | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | won't fix | |
| Platform | | OS | | OS Version | |
| Product Version | ITK-3-16 | |
| Target Version | | Fixed in Version | | |
|
| Summary | 0010375: Cannot use WrapITK for wrapping Java with default settings in ITK 3.14/3.16 and MSVC 9.0 and mingw gcc 4.4 |
| Description | In the last days, I tried to get ITK 3.16 (and, as I have not been successful, 3.14) compiled with WrapITK Java support on 32 Bit Windows. Unfortunately, I don't see how this is possible as I have not found a toolchain without errors.
I tried the default settings that CMake suggests for ITK and only selected (USE_WRAPITK, BUILD_SHARED and ITK_USE_REVIEW).
I have provided additional information on the errors, including log file extract as an attachment.
|
| Additional Information | For MSVC90, the error messages can be found as attachment. I guess that the 2nd and 3rd error are due to the 1st one.
For mingw gcc 4.4, I noticed that the compilation error was caused by missing default gcc (or g++) include paths in gcc_inc.xml so that std-headers (e.g. "complex") could not be found. In CableSwig-ITK-3.14.0\GCC_XML\Support\GCC I noticed that there is no 4.4 subfolder, so I guess that g++ 4.4 is not supported yet. Is it easy to add support?
|
| Tags | No tags attached. |
|
| Resolution Date | |
| Sprint | |
| Sprint Status | backlog |
|
| Attached Files | logmessage_extract.txt [^] (5,172 bytes) 2010-03-05 11:22 [Show Content] [Hide Content]****************************************
1st error
2>------ Build started: Project: RegistrationJava, Configuration: Release Win32 ------
2>Generating wrap_itkExponentialDeformationFieldImageFilterJava.cxx
2>Generating wrap_itkEigenAnalysis2DImageFilterJava.cxx
2>Generating wrap_itkDifferenceOfGaussiansGradientImageFilterJava.cxx
2>Generating wrap_itkDiffeomorphicDemonsRegistrationFilterJava.cxx
2>Unable to open [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit\SWIGTYPE_p_itk__ESMDemonsRegistrationFunctionTitk__ImageTunsigned_short_3u_t_itk__ImageTunsigned_short_3u_t_itk__ImageTitk__VectorTfloat_3u_t_3u_t_t__GradientType.java
2>Project : error PRJ0019: A tool returned an error code from "Generating wrap_itkDiffeomorphicDemonsRegistrationFilterJava.cxx"
****************************************
2nd error
3>------ Build started: Project: ITKJavaJar, Configuration: Release Win32 ------
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/VXLNumericsJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/BaseJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/BaseNumericsJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/BaseTransformsJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/BaseSpatialObjectJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/BinaryMorphologyJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/CalculatorsJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/ComposeJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/DeformableTransformsJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/DenoisingJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/DistanceMapJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/EdgesAndContoursJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/FFTJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/FilteringJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/IntensityFiltersJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/InterpolatorsJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/IOJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/LevelSetJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/MorphologyJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/PixelMathJava.class
3>Building [...]/InsightToolkit-3.14.0/Wrapping/WrapITK/Java/InsightToolkit/RegistrationJava.class
3>javac: file not found: [...]\InsightToolkit-3.14.0\Wrapping\WrapITK\Java\InsightToolkit\RegistrationJava.java
3>Usage: javac <options> <source files>
3>use -help for a list of possible options
3>Project : error PRJ0019: A tool returned an error code from "Building D:/Pr
****************************************
3nd error
4>------ Build started: Project: JavaTests, Configuration: Release Win32 ------
4>Generating simplePipelineUC3.class
4>[...]\InsightToolkit-3.14.0\Wrapping\WrapITK\Java\Tests\simplePipelineUC3.java:1: package InsightToolkit does not exist
4>import InsightToolkit.*;
4>^
4>[...]\InsightToolkit-3.14.0\Wrapping\WrapITK\Java\Tests\simplePipelineUC3.java:9: cannot find symbol
4>symbol : class itkImageFileReaderIUC3_Pointer
4>location: class simplePipelineUC3
4> itkImageFileReaderIUC3_Pointer reader = itkImageFileReaderIUC3.itkImageFileReaderIUC3_New();
4> ^
4>[...]\InsightToolkit-3.14.0\Wrapping\WrapITK\Java\Tests\simplePipelineUC3.java:9: cannot find symbol
4>symbol : variable itkImageFileReaderIUC3
4>location: class simplePipelineUC3
4> itkImageFileReaderIUC3_Pointer reader = itkImageFileReaderIUC3.itkImageFileReaderIUC3_New();
4> ^
4>[...]\InsightToolkit-3.14.0\Wrapping\WrapITK\Java\Tests\simplePipelineUC3.java:12: cannot find symbol
4>symbol : class itkImageFileWriterIUC3_Pointer
4>location: class simplePipelineUC3
4> itkImageFileWriterIUC3_Pointer writer = itkImageFileWriterIUC3.itkImageFileWriterIUC3_New();
4> ^
4>[...]\InsightToolkit-3.14.0\Wrapping\WrapITK\Java\Tests\simplePipelineUC3.java:12: cannot find symbol
4>symbol : variable itkImageFileWriterIUC3
4>location: class simplePipelineUC3
4> itkImageFileWriterIUC3_Pointer writer = itkImageFileWriterIUC3.itkImageFileWriterIUC3_New();
4> ^
4>5 errors
4>Project : error PRJ0019: A tool returned an error code from "Generating simplePipelineUC3.class"
4>Build log was saved at "file://[...]\InsightToolkit-3.14.0\Wrapping\WrapITK\Java\Tests\JavaTests.dir\Release\BuildLog.htm"
4>JavaTests - 1 error(s), 0 warning(s)
|
|