Hi,
I try to add a console using the
http://www.crystalspace3d.org/main/Cimstep1 tutorial with crystalspace
1.2.1 on an ubuntu 64. I'm using the csjava binding (so the code is in
java).
I register the plugin with:
plugins.add(new csPluginRequest(
"crystalspace.console.output.standard",
"iConsoleOutput"));
plugins.add(new csPluginRequest(
"crystalspace.console.input.standard",
"iConsoleInput"));
But when in the program I do:
this.conout = (iConsoleOutput)cspace.CS_QUERY_REGISTRY(cspace
.getTheObjectRegistry(), iConsoleOutput.class);
I got the following in the console:
WARNING! Suspicious: object with tag 'iConsoleOutput' does not
implement interface 'iConsoleOutput'!
and the program crash with:
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f980b75b96b, pid=29215, tid=1082800464
#
# Java VM: OpenJDK 64-Bit Server VM (1.6.0_0-b11 mixed mode linux-amd64)
# Problematic frame:
# C [lib26687.so+0x1bd96b]
Java_org_crystalspace3d_cspaceJNI_CS_1QUERY_1REGISTRY+0x225
#
# An error report file with more information is saved as:
#
/home/qan/crystalspace/workspace/crystalspace-tutorial-map/run/bin/hs_err_pid29215.log
#
# If you would like to submit a bug report, please visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted
Same thing if trying to get ConsoleInput first.
I did have to modify cspace.i to add ivaria/conin.h to get
ConsoleInput and also added an iConsoleExecCallback implementation in
java-post.i. But it crash well before adding the callback, it crash at
the query registry.
Do you have an idea why it crash and or what means : Suspicious:
object with tag 'iConsoleOutput' does not implement interface
'iConsoleOutput'!
Thank you,
Quentin Anciaux
--
All those moments will be lost in time, like tears in rain.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]