

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
3 messages in org.vtk.vtkusers[vtkusers] Problems with __int64 on c...| From | Sent On | Attachments |
|---|---|---|
| Some Developer | May 3, 2006 3:32 am | |
| Dominik Szczerba | May 3, 2006 6:34 am | |
| Mathieu Malaterre | May 3, 2006 6:10 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [vtkusers] Problems with __int64 on cygwin. | Actions... |
|---|---|---|
| From: | Dominik Szczerba (do...@vision.ee.ethz.ch) | |
| Date: | May 3, 2006 6:34:23 am | |
| List: | org.vtk.vtkusers | |
Hi Sam,
This is something specific to MS Visual C++:
Add somewhere:
-D__int8=char -D__int16=short -D__int32=int "-D__int64=long long"
Dominik
Some Developer wrote:
Hello,
Platform details: Cygwin version: 1.5.19-cr-0x5ef Java version: 1.5.0 Update 6 VTK version: 5.0.0 CC path: cygwin default CXX path: cygwin default
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!
Your quick response would be greatly appreciated. Some Developer
-------------------------------------------- someone@somewhere [~/VTK-build] $ make Building CXX object Common/CMakeFiles/vtkCommonJava.dir/vtkAbstractArrayJava.o In file included from /cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:27, from /home/someone/VTK/Common/vtkJavaUtil.h:20, from /home/someone/VTK-build/Common/vtkAbstractArrayJava.cxx:7: /cygdrive/c/Program Files/Java/jdk1.5.0_06/include/win32/jni_md.h:16: error: `__int64' does not name a type In file included from /home/someone/VTK/Common/vtkJavaUtil.h:20, from /home/someone/VTK-build/Common/vtkAbstractArrayJava.cxx:7: /cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:108: error: `jlong' does not name a type /cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:307: error: expected identifier before '*' token /cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:308: error: ISO C++ forbids declaration of `jlong' with no type /cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:308: error: `jlong' declared as function returning a function /cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:308: error: ISO C++ forbids declaration of `CallLongMethod' with no type /cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:308: warning: `__stdcall__' attribute only applies to function types /cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:309: error: expected identifier before '*' token /cygdrive/c/Program Files/Java/jdk1.5.0_06/include/jni.h:310: error: ISO C++ forbids declaration of `jlong' with no type ...
------------------------------------------------------------------------
_______________________________________________ This is the private VTK discussion list. Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusers
-- Dominik Szczerba, Dr. Computer Vision Lab CH-8092 Zurich http://www.vision.ee.ethz.ch/~domi







