On 12/29/2010 8:32 PM, Sp4M wrote:
> Nice IRC people has suggested me to come there and ask for eric, hehe.
It has been several years since I looked at the Java bindings, and even
then my involvement primarily was fixing a number of reported problems
and writing some needed documentation for the manual.
> Basically, i'm searching for the csjava.dll file, but cannot find it
> anywhere. It is the last barrier for me
Re-reading the instructions in the manual, I see that the csjava.dll
should end up in the top-level build directory or within
${prefix}/share/crystalspace/bindings/java if you installed the built CS.
> Before coding since i successed generating the crystalspace.jar file.
> (After fixing some issues .. which I can share with anyone interrested)
Best is to submit each problem as a distinct bug report at the issue
tracker <http://trac.crystalspace3d.org/trac/CS> so that they can be
discussed and handled on a one-by-one basis. If it is not clear how to
separate the issues into distinct reports, present the necessary
information here so that it can be discussed first.
> - Tried to compile with VS Express C++ 2008 with the mk/wktypical.sln
> solution : Everything is building fine, no error, but no java binding at
> all.
As far as I recall, we never found anyone to do the actual work of
figuring out exactly what would be needed by Visual Studio to create
suitable projects. Consequently, building Java bindings is supported
only by the CS jam/make build system.
> - Since i saw that it is possible to generate dll files on linux (as
> mentioned on the configure file, thanks to the '--kill-at' option of
> ld), I also tried to compile it under linux (but I don't know if CS is
> really supposed to use this feature or not ?). Anyway, the script don't
> recognize the option (since it is supposed to work only with i386 archi
> accordind to the man page of ld).
It is possible to cross-compile for Windows from Linux, but you would
need to follow specific instructions to do so. At any rate, if I recall
correctly, building of Java bindings under MSYS/MinGW on Windows did
work correctly (at the time). If Windows is your primary platform, then
best would be to use MSYS/MinGW and attempt to resolve any current build
issues.
> If someone is interrested about the question, there is more technical
> details about my problem on the forum :
> http://www.crystalspace3d.org/forum/index.php/topic,2047.0.html
If the documentation at
<http://crystalspace3d.org/docs/online/manual/Java-Bindings.html> is
still valid, try following its instructions and report your results. Be
sure that you have MSYS/MinGW, Java SDK, Swig, and Ant installed.
-- ES
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe:
mailto:[email protected]?subject=unsubscribe