[Kde-bindings] [Bug 273361] New: kdebindings-4.6.2 fails make when Kross Java is enabled
Dennis veatch
dennisveatch at bellsouth.net
Sun May 15 18:00:20 UTC 2011
https://bugs.kde.org/show_bug.cgi?id=273361
Summary: kdebindings-4.6.2 fails make when Kross Java is
enabled
Product: bindings
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kde-bindings at kde.org
ReportedBy: dennisveatch at bellsouth.net
Created an attachment (id=60040)
--> (http://bugs.kde.org/attachment.cgi?id=60040)
compile log of kdebindings with kross java enabled
Version: unspecified (using KDE 4.6.2)
OS: Linux
When setting these to on:-DBUILD_java=ON -DENABLE_KROSSJAVA=on the make fails
starting with;
Scanning dependencies of target libkrossjava
[ 79%] Building CXX object
java/krossjava/krossjava/CMakeFiles/libkrossjava.dir/libkrossjava_automoc.o
[ 79%] Building CXX object
java/krossjava/krossjava/CMakeFiles/libkrossjava.dir/jvmvariant.o
In file included from
/usr/src/kdebindings-4.6.3/java/krossjava/krossjava/jvmvariant.cpp:22:0:
/usr/src/kdebindings-4.6.3/java/krossjava/krossjava/jvmvariant.h: In static
member function 'static _jobject* Kross::JavaType<QSize>::toJObject(const
QSize&, JNIEnv*)':/java/krossjava/krossjava/jvmvariant.h:241:33: error: invalid
use of incomplete type 'const struct QSize'
/usr/include/qt4/QtCore/qmetatype.h:303:7: error: forward declaration of 'const
struct QSize'
/usr/src/kdebindings-4.6.3/java/krossjava/krossjava/jvmvariant.h:241:44: error:
invalid use of incomplete type 'const struct QSize'
/usr/include/qt4/QtCore/qmetatype.h:303:7: error: forward declaration of 'const
struct QSize'
/usr/src/kdebindings-4.6.3/java/krossjava/krossjava/jvmvariant.h: In static
member function 'static QSize Kross::JavaType<QSize>::toVariant(_jobject*,
JNIEnv*)':s-4.6.3/java/krossjava/krossjava/jvmvariant.h:245:67: error: return
type 'struct QSize' is incomplete
/usr/src/kdebindings-4.6.3/java/krossjava/krossjava/jvmvariant.h:249:29: error:
invalid use of incomplete type 'struct QSize'
/usr/include/qt4/QtCore/qmetatype.h:303:7: error: forward declaration of
'struct QSize'
and ending with;
/usr/include/kross/core/metatype.h:97:75: error: using invalid field
'Kross::MetaTypeVariant<VARIANTTYPE>::m_value'
/usr/include/kross/core/metatype.h: In member function 'void*
Kross::MetaTypeVariant<VARIANTTYPE>::toVoidStar() [with VARIANTTYPE = QSizeF]':
/usr/src/kdebindings-4.6.3/java/krossjava/krossjava/jvmvariant.cpp:268:1:
instantiated from here
/usr/include/kross/core/metatype.h:99:58: error: using invalid field
'Kross::MetaTypeVariant<VARIANTTYPE>::m_value'
/usr/include/kross/core/metatype.h: In member function 'int
Kross::MetaTypeVariant<VARIANTTYPE>::typeId() [with VARIANTTYPE = QSize]':
/usr/src/kdebindings-4.6.3/java/krossjava/krossjava/jvmvariant.cpp:268:1:
instantiated from here
/usr/include/kross/core/metatype.h:97:75: error: using invalid field
'Kross::MetaTypeVariant<VARIANTTYPE>::m_value'
/usr/include/kross/core/metatype.h: In member function 'void*
Kross::MetaTypeVariant<VARIANTTYPE>::toVoidStar() [with VARIANTTYPE = QSize]':
/usr/src/kdebindings-4.6.3/java/krossjava/krossjava/jvmvariant.cpp:268:1:
instantiated from here
/usr/include/kross/core/metatype.h:99:58: error: using invalid field
'Kross::MetaTypeVariant<VARIANTTYPE>::m_value'
make[2]: ***
[java/krossjava/krossjava/CMakeFiles/libkrossjava.dir/jvmvariant.o] Error 1
make[1]: *** [java/krossjava/krossjava/CMakeFiles/libkrossjava.dir/all] Error 2
When both options are enabled, cmake shows;
-- PYTHON_SITE_PACKAGES_INSTALL_DIR: /usr/lib/python2.7/site-packages
-- Build PyKDE4... yes
-- Found JNI: /usr/java/latest/jre/lib/amd64/libjawt.so
-- using FindJNI.cmake
-- JAVA_HOME: /usr/java/latest
-- JAVA_AWT_LIB_PATH:
-- JAVA_JVM_LIB_PATH:
-- JAVA_INCLUDE_PATH: /usr/java/latest/include
-- JAVA_INCLUDE_PATH2: /usr/java/latest/include/linux
-- JAVA_AWT_INCLUDE_PATH: /usr/java/latest/include
-- JAVA_JVM_LIBRARY: /usr/lib64/libjvm.so
-- Build Kross Java... yes
Reproducible: Always
Steps to Reproduce:
Have http://download.java.net/dlj/binaries/jdk-6u25-dlj-linux-amd64.bin
installed, untar kdebindings, cd, ccmake, enable kross java, etc, etc, then
make.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kde-bindings
mailing list