[Kde-java] kdebindings compile problem
KJ P
kde-java@kde.org
Mon, 18 Feb 2002 19:28:21 +0000
Hello Richard
>Most fixes are just commenting out things which don't compile. When too
>much
>of a class no longer builds, then it needs to be regenerated again from the
>current header. So any help with maintaining the bindings by doing that
>sort
>of thing is welcome..
Did that about 2 hours ago and it worked. Was then getting errors on
KStdAction but a whole lot so decided to update again. I was thinking maybe
I just did not do things right so decided to update from Beta-2 tag.
>current header. So any help with maintaining the bindings by doing that
>sort
>of thing is welcome..
I was thinking about this as well so started looking at how your are
generating these bindings with kalyptus. I am still reading and looking at
the code for the generation and how to actually use it. How would I go
about compiling from kdevelop? Load them up from a directory or create a
project? These were questions I was asking myself so I will hava a look.
KDevelop was crashing on me all over so recompiled and it at least came up
this time. Did that this morning before work so have not had a lot of time
to look at it.
When creating a java project it says I do not have the Java Plugin loaded.
Is that the JVM plugin or is it a part from kdevelop that needs to be
loaded. Should I be directing these java types of questions to kdevelop
list?
Thanks
Kenneth
>From: Richard Dale <Richard_Dale@tipitina.demon.co.uk>
>Reply-To: kde-java@kde.org
>To: kde-java@kde.org
>Subject: Re: [Kde-java] kdebindings compile problem
>Date: Mon, 18 Feb 2002 18:31:17 +0000
>
>On Sunday 17 February 2002 9:31 pm, KJ P wrote:
> > Hello Richard
> >
> > Well finally got my computer built, installed and running KDE CVS Main
> > 2002/02/16. One small little problem with compiling kdebindings. The
> > other bindings compiled OK. qtjava.jar exists.
> >
> > KKey.cpp: In function `jint Java_org_kde_koala_KKey_key(JNIEnv *,
>_jobject
> > *)':
> > KKey.cpp:172: no matching function for call to `KKey::key ()'
> >
> > Sorry did not have time to look at it. Still trying to figure all this
>new
> > stuff out. Hope to be able to fix these and send patches (when I learn
> > how) in the future.
>Most fixes are just commenting out things which don't compile. When too
>much
>of a class no longer builds, then it needs to be regenerated again from the
>current header. So any help with maintaining the bindings by doing that
>sort
>of thing is welcome..
>
>It looks like the KKey header has changed. I'll try and get my version of
>kdelibs current this week, fix this and make sure they bindings compile ok.
>
> > Question, if I wanted to fix this would I still have to build all of
> > kdebindings just to see if it compiled or not or could I build
> > incrementally the module to see if it worked? Sorry still new at this.
> > Second time I ever used CVS and first time compiling KDE.
>But just comment out any methods, like 'KKey.key()', which don't compile.
>As
>long as they aren't essential (eg QApplication.exec() ) the bindings will
>still work ok.
>
> > Below is the output from the build. KDE3 really looks good. I am
>still
> > having a few problems with kdevelop crashing when trying to build a
>project
> > on running make and friends. Still looking at that, maybe a recompile
>will
> > do it.
> >
> > ----------------------- output from kdebindings build
> > --------------------------------------
> >
> > make[1]: *** No rule to make target `distclean'. Stop.
> > make: *** [distclean-recursive] Error 1
> > index.docbook:1: error: SystemLiteral " or ' expected
> > <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook V3.1-Based Variant V1.0//EN"
>[
> >
>^
> > index.docbook:1: error: xmlParseExternalID: PUBLIC, no URI
> > <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook V3.1-Based Variant V1.0//EN"
>[
> >
>^
> > index.docbook:4: error: xmlParseInternalSubset: error detected in Markup
> > declaration
> > <![ %addindex; [ <!ENTITY kdedocindex SYSTEM "docindex.docbook"> ]]>
> > ^
> > index.docbook:4: error: DOCTYPE improperly terminated
> > <![ %addindex; [ <!ENTITY kdedocindex SYSTEM "docindex.docbook"> ]]>
> > ^
> > index.docbook:4: error: Start tag expected, '<' not found
> > <![ %addindex; [ <!ENTITY kdedocindex SYSTEM "docindex.docbook"> ]]>
> > ^
> > make[3]: [index.cache.bz2] Error 1 (ignored)
> > libtool: link: warning: `-version-info' is ignored for programs
> > KKey.cpp: In function `jint Java_org_kde_koala_KKey_key(JNIEnv *,
>_jobject
> > *)':
> > KKey.cpp:172: no matching function for call to `KKey::key ()'
> > make[4]: *** [KKey.lo] Error 1
> > make[4]: *** Waiting for unfinished jobs....
> > make[4]: *** Waiting for unfinished jobs....
> > make[3]: *** [all-recursive] Error 1
> > make[2]: *** [all-recursive] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all-recursive-am] Error 2
> > index.docbook:1: error: SystemLiteral " or ' expected
> > <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook V3.1-Based Variant V1.0//EN"
>[
> >
>^
> > index.docbook:1: error: xmlParseExternalID: PUBLIC, no URI
> > <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook V3.1-Based Variant V1.0//EN"
>[
> >
>^
> > index.docbook:4: error: xmlParseInternalSubset: error detected in Markup
> > declaration
> > <![ %addindex; [ <!ENTITY kdedocindex SYSTEM "docindex.docbook"> ]]>
> > ^
> > index.docbook:4: error: DOCTYPE improperly terminated
> > <![ %addindex; [ <!ENTITY kdedocindex SYSTEM "docindex.docbook"> ]]>
> > ^
> > index.docbook:4: error: Start tag expected, '<' not found
> > <![ %addindex; [ <!ENTITY kdedocindex SYSTEM "docindex.docbook"> ]]>
> > ^
> > make[3]: [index.cache.bz2] Error 1 (ignored)
> > libtool: install: warning: remember to run `libtool --finish
> > /home/kde3/kde3/lib'
> > KKey.cpp: In function `jint Java_org_kde_koala_KKey_key(JNIEnv *,
>_jobject
> > *)':
> > KKey.cpp:172: no matching function for call to `KKey::key ()'
> > make[3]: *** [KKey.lo] Error 1
> > make[2]: *** [install-recursive] Error 1
> > make[1]: *** [install-recursive] Error 1
> > make: *** [install-recursive] Error 1
> >
> > ------------------------ end of kdebindings build errors
> > ------------------------------
> >
> > Regards and thanks
> >
> >
> > Kenneth
> >
> > _________________________________________________________________
> > Join the worlds largest e-mail service with MSN Hotmail.
> > http://www.hotmail.com
> >
> > _______________________________________________
> > Kde-java mailing list
> > Kde-java@mail.kde.org
> > http://mail.kde.org/mailman/listinfo/kde-java
>
>_______________________________________________
>Kde-java mailing list
>Kde-java@mail.kde.org
>http://mail.kde.org/mailman/listinfo/kde-java
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com