Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - hash

Pages: [1]
1
DF General Discussion / Re: FotF: Dwarf Fortress 40d14
« on: August 19, 2009, 05:10:28 pm »
DF itself is compiled as 32-bit. libgraphics is, well, a library.

It would probably be possible to compile DF in 64-bit mode, with only minor issues. It worked for BC. However, Toady does not have a 64-bit machine.

He could still compile it for 64bit and let us test the binary.  :)
Probably more bother than it's worth though.

I could, but you'd still need a 64bit machine to run it, obviously.  At which point you could compile it yourself anyway. :)

Anyway, where would I start to compile?  If I'm not mistaken there's only 14848 lines of source code in this release, and I daresay the entire game is a bit bigger than that...

2
DF General Discussion / Re: FotF: Dwarf Fortress 40d14
« on: August 19, 2009, 10:05:51 am »
Andir, thank you for the response with a magic package name... but I already have ia32-libs installed.  Should I be symlinking to a different .so in order to use it, or something like that?

Baughn: yeah, that's what I meant by complex/sinister.  But is there any reason that I shouldn't take a crack at compiling it as 64 bit?  Or is there wicked pointer math that would immediately obstruct this?

3
DF General Discussion / Re: FotF: Dwarf Fortress 40d14
« on: August 19, 2009, 01:35:03 am »
I have a fail to start.  Message:

./dwarfort.exe: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory

System:

Kubuntu (hardy heron) Linux  2.6.24-24-generic x86_64
df_28_181_40d14_linux.tar.bz2 + df-40d14-head.tar.bz2

Attempted fix:
1. Update and install all the libSDL stuff I my package manager could get its grubby little hands on.
2. In the [df]/libs/ dir, symlink to  /usr/lib/libSDL_image-1.2.so.0.
3. Cry, because I got a new error message:

./dwarfort.exe: error while loading shared libraries: libSDL_image-1.2.so.0: wrong ELF class: ELFCLASS64

So, I'm guessing somewhere where the library loading is done, you're doing so much sanity checking that "sanity" is restricted to 32bit? :)  (Or maybe there's a deeper and more complex/sinister reason that 32 bit libraries are expected?  I hope not...)

Pages: [1]