Hello,<br><br>Platform details:<br> Cygwin version: 1.5.19-cr-0x5ef<br> Java version: 1.5.0 Update 6<br> VTK version: 5.0.0<br> CC path: cygwin default<br> CXX path: cygwin default<br><br>I'm
getting the following errors when trying to build VTK for Java and
other wrappers. Is there any chance that the build system / makefile is
broken...? From where do I (correctly) provide __int64 definition? I don't know
much about cmake but I thought it would take care of finding the
relevant includes/libs at compile/link time!
<br><br>Your quick response would be greatly appreciated.<br>Some Developer<br><br><div id="mb_0">--------------------------------------------<br>someone@somewhere [~/VTK-build]<br>$ make <br>Building CXX object Common/CMakeFiles/vtkCommonJava.dir/vtkAbstractArrayJava.o
<br>In file included from /cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:27,<br> from /home/someone/VTK/Common/vtkJavaUtil.h:20,<br> from /home/someone/VTK-build/Common/vtkAbstractArrayJava.cxx:7:
<br>/cygdrive/c/Program Files/Java/jdk1.5.0_06/include/win32/jni_md.h:16: error: `__int64' does not name a type<br>In file included from /home/someone/VTK/Common/vtkJavaUtil.h:20,<br> from /home/someone/VTK-build/Common/vtkAbstractArrayJava.cxx:7:
<br>/cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:108: error: `jlong' does not name a type<br>/cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:307: error: expected identifier before '*' token<br>/cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:308: error: ISO C++ forbids declaration of `jlong' with no type
<br>/cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:308: error: `jlong' declared as function returning a function<br>/cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:308: error: ISO C++ forbids declaration of `CallLongMethod' with no type
<br>/cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:308: warning: `__stdcall__' attribute only applies to function types<br>/cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:309: error: expected identifier before '*' token
<br>/cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:310: error: ISO C++ forbids declaration of `jlong' with no type<br> ...<br><br></div>