Closed mattthias closed 2 years ago
You are trying to compile and run a 64-bit version. Openparsec doesn't support 64-bits yet. See #7 it's.... not an easy task to fix.
Realistically, and with the disclaimer that it's been years since I have looked at the code, there are entire portions that should probably get rewritten. Object handling, for example, is very old and archaic. It could use to be modernized. I am no 3D modeling programmer, so it's over my head, under my feet, and out of my reach.
I'm not going to lie, you are re-kinndling my interest slightly. But beware, here there be dragons. And they are old, cranky, and you are crunchy and taste good with ketchup (of the dragon variety...)
Ok, I had this in my head but because the "debug64" / "release64" configs in the Makefile I was under the impression that 64 bit OS is supported. I'll grab an old laptop and install an i386 Debian and try again. But not today it's nearly 2.am. here :-D.
There was some preliminary work done waaaaay back in the day. It's not clear how far the person in question got. I would love to see it run on 64-bit... Perhaps I'll give myself a refresher on what was going on there. It might be that types have to be changed to be more in line with the 64-bit modern compilers.... there was also some mention of alignment issues in structs. I think it goes pretty deep.
Does premake have options/targets for building 32 bit in a 64 bit environment?
I tried to compile it in a 32bit Debian chroot and bämm all works.
The server starts in the chroot and even the client starts and plays music -> but no video.
I also wrote down the steps to build in a fresh chroot:
Yea it needs a 64bit overhaul, maybe that can be the 20 year goal (1 year 4 months from now)
Might try this soon on my Ubuntu box and see if it works. Might be something as simple as updating the GL calls .... I thought it used SDL to wrap most of that.... but... it's been so long...
Anyone got an issue if I close this as a dup of #7 ?
Duplicate of #7
Hi,
i compiled the parsec client and server from master ( 449965c520444b1e523f3c685a714a44952476c2 ) on Debian 11 (bullseye). I had to apply a small patch before i was able to compile, see #57 for more information on this.
I'm using this commands:
The result looks good from the outside:
I copied all files from
openparsec-assets/
toparsec_root/client/
and run the client -> Segmentation fault.The logfile parsec.log.
Running parsec client through gdb shows this: