Crystal Space
Welcome, Guest. Please login or register.
October 24, 2017, 02:59:32 am

Login with username, password and session length
Search:     Advanced search
9063 Posts in 2051 Topics by 77929 Members
Latest Member: Joankaarduin782
* Home Help Search Login Register
  Show Posts
Pages: [1]
1  Crystal Space Development / Support / Re: csjava.dll wanted | linker problem (?) on: December 28, 2010, 12:23:46 am
(No i'm not flooding !)

Update : in fact the default linker does recognize the --kill-at option, but :
Quote from: man ld
           If  given, the stdcall suffixes (@nn) will be stripped from symbols
           before they are exported.  [This option is specific to the i386  PE
           targeted port of the linker]


uname -m

could be a problem there, isn't it ?
2  Crystal Space Development / Support / Re: csjava.dll wanted | linker problem (?) on: December 26, 2010, 05:47:11 am
I probably found a part of the solution by myself. (my problem is still to obtain csjava.dll file)

when I run the configure script, it gives me
checking if --kill-at is accepted... no

But configure file says
Check if linker recognizes --kill-at which is needed to make csjava.dll

after investigations in config.log, we can read
configure:18376: checking if --kill-at is accepted
configure:18477: g++ -o conftest     -Wl,--kill-at   conftest.cpp   -lnsl -lc  >&5
/usr/bin/ld: unrecognized option '--kill-at'
/usr/bin/ld: use the --help option for usage information

in fact, the /usr/bin/ld command does not actualy recognize the --kill-at, but the /usr/i586-mingw32msvc/bin/ld does.
But how tell the g++ to check the "correct" linker here ?
3  Crystal Space Development / Support / Re: csjava.dll wanted / Eclipse configuration on Windows on: December 26, 2010, 02:07:17 am
am I the only one to use cystalspace on windows with java ... ? Sad
4  Crystal Space Development / Support / Re: csjava.dll wanted on: December 20, 2010, 02:13:36 pm
I didn't really generated many code for now, it doesn't work at the beginning with this :
( is unchanged code from CS)

public class Main {
public static void main(String[] args) {
new SimpleRoom();

I think the problem is from Eclipse configuration for CS. Again, I don't have any csjava.dll ...
5  Crystal Space Development / Support / csjava.dll wanted | linker problem (?) on: December 20, 2010, 01:32:47 am

I tried to generate csjava.dll (I would use CS in java on windows).
I built CS on linux with configure/jam, everything is now ok (0 error) and I get the crystalspace.jar
I built CS on windows with VS Express C++ 2008 with msvc9 solution, everything build (0 error)
but still no trace of csjava.dll ...

Project (SimpleRoom) run on Eclipse (with .jar linked) gives :

Loading CrystalSpace library
Fatal Error: unresolved symbol in 'csjava'.
java.lang.UnsatisfiedLinkError: no csjava in java.library.path

- Version of CS : 1.4.0
- Version of winlibs package : cs-win32libs-1.4_002
- Operating system : Win7
- Compiler : VS Express 2008

Any idea ?
6  Miscellaneous / Article/Tutorial Requests / Re: Making .jar file on: December 18, 2010, 05:05:03 am
Found and resolved.
7  Miscellaneous / Article/Tutorial Requests / Re: Making .jar file on: December 16, 2010, 08:36:35 pm
At least, someone may send me the jar file ? it will be very helpful !
8  Miscellaneous / Article/Tutorial Requests / Making .jar file on: December 15, 2010, 02:08:58 pm
Hi all,

I've read the CS manual about java Bindings and searched through the forum, but didn't find an answer .. so here is my question :

I'm actually using Java with Eclipse on Windows, which is requiring the CS jar library.
I read that it's supposed to be generated from the jam command, but it's of course not so trivial on windows ... so, does it exists another way to generate the jar file ?

Note (if necessary) that i've installed VS2008 C++ Express and successfully compiled CS.

Thanks in advance,
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 2.144 seconds with 17 queries.