MovingBlocks / Terasology

Terasology - open source voxel world
http://terasology.org
Apache License 2.0
3.67k stars 1.34k forks source link

FreeBSD support - no LWJGL binaries? #1559

Open Cervator opened 9 years ago

Cervator commented 9 years ago

So to my surprise we don't appear able to run out of the box on FreeBSD, which it sounds like LWJGL does not include compiled natives for. Or maybe it relates to FreeBSD's ports thing only being at LWJGL 2.9.1 with us recently updating to the final ever LWJGL 2 release 2.9.2 (incidentally 2.9.3 came out three weeks later, heh).

FreeBSD seems different somehow, as noticed in this 2.9.0 release of LWJGL:

http://forum.lwjgl.org/index.php?topic=4974.0

FreeBSD: Add: Support for compiling - no official binaries.

@fireglow reported this on IRC and did some testing, but we couldn't conclusively pin it on the version - even the prior stable release (46) when we were on 2.9.1 failed.

Possible resolutions:

Marking as a known issue for now since this one could be tricky :-)

Cervator commented 8 years ago

LWJGL 2.9.3 has been released on FreeBSD just recently (Dec 28th). So users should in theory be able to run Terasology on FreeBSD if they install the LWJGL natives themselves and point the game to it right if needed.

https://www.freshports.org/games/lwjgl

It may be something we could help encourage in the launch script or in a help system somewhere. Like if the game crashes from failing to find natives and knows how to retrieve them on the user's OS suggest some instructions or offer to attempt an automated install.

(thanks to greaser|q for the find!)

graemeg commented 7 years ago

I know my reply is not directly related to Terasology, but I can comment that Minecraft also uses lwjgl, and I have Minecraft 1.11.2 (latest version to date) running natively on my 64-bit FreeBSD 10.3 system with OpenJDK8 and NVidia video drivers. I compiled and installed lwjgl from FreeBSD's ports system. I followed the tip supplied by a user named amracks in the following post. https://forums.freebsd.org/threads/42932/#post-243944 After that Minecraft worked perfectly (video and sound).