Crystal Space
Welcome, Guest. Please login or register.
August 01, 2014, 05:28:30 am

Login with username, password and session length
Search:     Advanced search
9005 Posts in 2043 Topics by 8265 Members
Latest Member: Cindyroome
* 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
   --kill-at
           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]

and

Code:
uname -m
gives
Quote
i686

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
Code:
...
checking if --kill-at is accepted... no
...

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


after investigations in config.log, we can read
Code:
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 :
(SimpleRoom.java is unchanged code from CS)

Code:
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
Hi,

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 :

Code:
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.
See http://bugs.gentoo.org/show_bug.cgi?id=335921#c14
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 !
Thanks
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,
Brice
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.298 seconds with 17 queries.