Jorrit Tyberghein schrieb:
In a few weeks we would like to release a new pseudo-stable of Crystal
Space. So if you have any urgent issues with Crystal Space that you'd
like to see fixed then please tell us (or post on the bug tracker).


- MingW GCC 3.4.x

I am currently unable to build "cystalspace.jar" ;
thus java support is broken (at least for me),
Error messages are below.

Is there anybody who sucessfully build java bindings lately?
I have this prob for some weeks now, but since I'm not currently using
Java now it was very low priority for me.
Has anybody built csjava sucessfully in the last couple of weeks?

-- Joerg Fischer


Error Messages:
jam csjava
...patience...
...found 1219 target(s)...
...updating 8 target(s)...
MkDir1 ./out/msysx86/debug/plugins/cscript/csjava/src/org/crystalspace3d
RunSwig ./out/msysx86/debug/plugins/cscript/csjava/csjava.cpp
LibDir: java
   .\
   ./include\
   ./include\
   d:\Proggin\SWIG\swigwin-1.3.28\Lib\java\
   .\swig_lib\java\
   d:\Proggin\SWIG\swigwin-1.3.28\Lib\config\
   .\swig_lib\config\
   d:\Proggin\SWIG\swigwin-1.3.28\Lib\
   .\swig_lib\
Preprocessing...
Starting language-specific parse...
Processing types...
C++ analysis...
Generating wrappers...
./include\csgeom\cspoint.h(33): Warning(204): CPP #warning, csgeom/cspoint.h is deprecated; use csgeom/vector2.h instead
./include\ivaria\javapre.i(56): Error: Syntax error in input(1).
./include\csutil\eventnames.h(42): Warning(317): Specialization of non-template 'csHashComputer'. ./include\csgeom\math3d.h(674): Warning(401): Nothing known about base class 'scfImplementation1<csGeomDebugHelper,iDebugHelper >'. Ignored. ./include\csgeom\math3d.h(674): Warning(401): Maybe you forgot to instantiate 'scfImplementation1<csGeomDebugHelper,iDebugHelper >' using %template. ./include\csgeom\path.h(46): Warning(401): Nothing known about base class 'scfImplementation1<csPath,iPath >'. Ignored. ./include\csgeom\path.h(46): Warning(401): Maybe you forgot to instantiate 'scfImplementation1<csPath,iPath >' using %template. ./include\csgeom\polymesh.h(49): Warning(401): Nothing known about base class 'scfImplementation1<csPolygonMesh,iPolygonMesh >'. Ignored. ./include\csgeom\polymesh.h(49): Warning(401): Maybe you forgot to instantiate 'scfImplementation1<csPolygonMesh,iPolygonMesh >' using %template. ./include\csgeom\polymesh.h(214): Warning(401): Nothing known about base class 'scfImplementation1<csPolygonMeshBox,iPolygonMesh >'. Ignored. ./include\csgeom\polymesh.h(214): Warning(401): Maybe you forgot to instantiate 'scfImplementation1<csPolygonMeshBox,iPolygonMesh >' using %template. ./include\csutil\eventnames.h(65): Warning(401): Nothing known about base class 'scfImplementation1<csEventNameRegistry,iEventNameRegistry >'. Ignored. ./include\csutil\eventnames.h(65): Warning(401): Maybe you forgot to instantiate 'scfImplementation1<csEventNameRegistry,iEventNameRegistry >' using %template. ./include\csutil\xmltiny.h(35): Warning(401): Nothing known about base class 'scfImplementation1<csTinyDocumentSystem,iDocumentSystem >'. Ignored. ./include\csutil\xmltiny.h(35): Warning(401): Maybe you forgot to instantiate 'scfImplementation1<csTinyDocumentSystem,iDocumentSystem >' using %template. ./include\csutil\csobject.h(44): Warning(401): Nothing known about base class 'scfImplementation1<csObject,iObject >'. Ignored. ./include\csutil\csobject.h(44): Warning(401): Maybe you forgot to instantiate 'scfImplementation1<csObject,iObject >' using %template. ./include\cstool\collider.h(71): Warning(401): Nothing known about base class 'scfImplementationExt1<csColliderWrapper,csObject,scfFakeInterface<csColliderWrapper > >'. Ignored. ./include\cstool\collider.h(71): Warning(401): Maybe you forgot to instantiate 'scfImplementationExt1<csColliderWrapper,csObject,scfFakeInterface<csColliderWrapper > >' using %template. ./include\cstool\csview.h(42): Warning(401): Nothing known about base class 'scfImplementation1<csView,iView >'. Ignored. ./include\cstool\csview.h(42): Warning(401): Maybe you forgot to instantiate 'scfImplementation1<csView,iView >' using %template. Unable to open file ./out/msysx86/debug/plugins/cscript/csjava/src/org/crystalspace3d\SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_csArrayMemoryAllocatorTcsImageIOFileFormatDescription_const_p_t_t.java: No such file or directory
C++ ./out/msysx86/debug/plugins/cscript/csjava/csjava.o
./out/msysx86/debug/plugins/cscript/csjava/csjava.cpp:149: warning: 'void SWIG_JavaThrowException(JNIEnv*, SWIG_JavaExceptionCodes, const char*)' defined but not used
LinkPlugin csjava.dll
Copy ./out/msysx86/debug/plugins/cscript/csjava/src/org/crystalspace3d/CS.java Copy ./out/msysx86/debug/plugins/cscript/csjava/src/org/crystalspace3d/csJEventHandler.java
Ant ./out/msysx86/debug/plugins/cscript/csjava/crystalspace.jar
D:\MingW32\Crystal\CS\out\msysx86\debug\plugins\cscript\csjava\src\org\crystalspace3d\cspace.java:20: cannot find symbol
symbol  : class SWIGTYPE_p_f_p_iBase__p_iBase
location: class org.crystalspace3d.cspace
public static void scfRegisterStaticClass(SWIGTYPE_p_f_p_iBase__p_iBase arg0, String iClassID, String Description, String Dependencies) {
                                            ^
D:\MingW32\Crystal\CS\out\msysx86\debug\plugins\cscript\csjava\src\org\crystalspace3d\cspace.java:24: cannot find symbol
symbol  : class SWIGTYPE_p_f_p_iBase__p_iBase
location: class org.crystalspace3d.cspace
public static void scfRegisterStaticClass(SWIGTYPE_p_f_p_iBase__p_iBase arg0, String iClassID, String Description) {
                                            ^
D:\MingW32\Crystal\CS\out\msysx86\debug\plugins\cscript\csjava\src\org\crystalspace3d\cspace.java:32: cannot find symbol
symbol  : class SWIGTYPE_p_f_p_iBase__p_iBase
location: class org.crystalspace3d.cspace
public static void scfRegisterStaticFactoryFunc(SWIGTYPE_p_f_p_iBase__p_iBase arg0, String FactClass) {
                                                  ^
D:\MingW32\Crystal\CS\out\msysx86\debug\plugins\cscript\csjava\src\org\crystalspace3d\cspace.java:36: cannot find symbol
symbol  : class SWIGTYPE_p_csStringBase
location: class org.crystalspace3d.cspace
public static SWIGTYPE_p_csStringBase add(String iStr1, SWIGTYPE_p_csStringBase iStr2) {
                                                          ^
D:\MingW32\Crystal\CS\out\msysx86\debug\plugins\cscript\csjava\src\org\crystalspace3d\cspace.java:36: cannot find symbol
symbol  : class SWIGTYPE_p_csStringBase
location: class org.crystalspace3d.cspace
public static SWIGTYPE_p_csStringBase add(String iStr1, SWIGTYPE_p_csStringBase iStr2) {
                ^
D:\MingW32\Crystal\CS\out\msysx86\debug\plugins\cscript\csjava\src\org\crystalspace3d\cspace.java:40: cannot find symbol
symbol  : class SWIGTYPE_p_csStringBase
location: class org.crystalspace3d.cspace
public static SWIGTYPE_p_csStringBase add(SWIGTYPE_p_csStringBase iStr1, String iStr2) {
                                            ^
D:\MingW32\Crystal\CS\out\msysx86\debug\plugins\cscript\csjava\src\org\crystalspace3d\cspace.java:40: cannot find symbol
symbol  : class SWIGTYPE_p_csStringBase
location: class org.crystalspace3d.cspace
public static SWIGTYPE_p_csStringBase add(SWIGTYPE_p_csStringBase iStr1, String iStr2) {
                ^

[it goes on like this  a _lot_]

D:\MingW32\Crystal\CS\out\msysx86\debug\plugins\cscript\csjava\src\org\crystalspace3d\csSpline.java:52: cannot find symbol
symbol  : class SWIGTYPE_p_float
location: class org.crystalspace3d.csSpline
  public void SetTimeValues(SWIGTYPE_p_float t) {
                            ^
100 errors

BUILD FAILED
D:\MingW32\Crystal\CS\out\msysx86\debug\plugins\cscript\csjava\build.xml:28: Compile failed; see the compiler error output for details.

Total time: 4 seconds




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to