delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/09/03:24:49

X-Spam-Check-By: sourceware.org
Message-ID: <ba65bfc70605090024r652909feodb37be5116b32c8e@mail.gmail.com>
Date: Tue, 9 May 2006 12:54:31 +0530
From: "Some Developer" <somedeveloper AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: __int64 errors when building Java wrapper for C++ based VTK.
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k497OjrW011098

Hello,

I'm checking with you guys per Mathieu's suggestion.

Regards,
Some Developer.

On 5/4/06, Mathieu Malaterre (mathieu DOT malaterre AT kitware DOT com) wrote:

    Hello Some Developer,

            I believe your are sending your question to the wrong ML. Could you
    please check with the cygwin guys if you can use SunJDK from cygwin or
    not. I would think there is a Java package for cygwin. Use this one instead.

	<snip>

    HTH,
    Some Other Developer


    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 AT 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

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019