[vtkusers] Building VTK + Java on WinXP

John O'Hara jjo135 at psu.edu
Tue Mar 14 10:17:09 EST 2006


All -

I've been having trouble building VTK + Java on Windows using MinGW.  After some fiddling with CMake,
I was able to get everything building.

If I turn WRAP_JAVA and SHARED_LIB off, everything builds correctly.

If I turn them on, the system fails to compile on vtkJavaUtil.cxx because it can't find mapiform.h

After a bit of googling, the only reference I could find to this file was in Visual Studio.  Can I get this header and 
its associated code from somewhere else?

Has anyone successfully built VTK + Java under MinGW?

Regards,
John O'Hara
Penn State University



Building CXX object Common/CMakeFiles/vtkCommonJava.dir/vtkJavaUtil.obj
D:/Projects/VTK/src/Common/vtkJavaUtil.cxx:34:22: mapiform.h: No such file or directory
make[2]: *** [Common/CMakeFiles/vtkCommonJava.dir/vtkJavaUtil.obj] Error 1
make[1]: *** [Common/CMakeFiles/vtkCommonJava.dir/all] Error 2
make: *** [all] Error 2




More information about the vtkusers mailing list