-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux Build instructions #5
Comments
@zerocool1992 Further, there's includes that refer to files ignoring case sensitivity and there's no Linux compatible build system included with the engine such as CMake, so currently the engine can't be compiled on a Linux machine as far as I can tell. There is at least various Unix supporting code segments laying around, which I found to be a little odd without any sort of Linux build support that I can see. Edit Right now I have a repository with some of the necessary changes (and shouldn't break regular Win32 builds with Visual Studio) sitting here: https://github.com/Ragora/Serious-Engine Though note it still needs more work and the components I listed above aren't a trivial porting task unless there's some other method of doing so I'm unaware of. With the little platform bits out of the way at this point, the more hard-errors are cropping up as various syntactical errors under GCC 4.8.4, so its going to be rather interesting to work those out. All that aside, maybe the developers @SLAwww have some comment on Linux portability. |
Iculus once started porting it and was almost done iirc. He has asked Croteam on twitter whether he can also push his changes (also it seems that part of them are already merged). |
@leonardkoenig |
Existing Linux ports of the game can be found here: http://files.seriouszone.com/catdisplay.php?catid=78 |
It looks like the Serious Zone files are corrupt, sadly. @Ragora CMake for the engine would be a huge win. It can generate Makefiles as well as Visual Studio files. |
The current cmake system on my repo might work for visual studio, though I don't do much of my work on Windows to test. Perhaps some virtual machines are in order. |
They are working for me quite well on VS and Makefiles. I try to make my
|
There are free CI platforms that support windows for FOSS projects: https://www.appveyor.com/pricing |
As an update, my branch builds and runs on Linux and Mac OS X, using the datafiles from Steam. It still needs a little work to get in-game, but it'll fly through the demo levels correctly. That's over here at the moment: https://github.com/rcgordon/Serious-Engine |
Thanks Ryan. Has this been tested on 64-bit Linux? |
There are several things that aren't 64-bit clean (not the least of it: all the 32-bit inline asm), so that's going to take some time. |
Just managed to compile this on 64-bit Linux, and got it up and running :) The console is spewing forth warnings like there's no tomorrow, but hey, it works. I need to change my key setup though. The game crashes immediately when I open key configuration. Regards |
Just posting it here for anyone interested, I created a PKGBUILD to install the engine on Arch-Linux using this fork by ptitSeb. Possibly check his fork out for ideas on getting Linux to work, as I tried rcgordon's fork but it wouldn't launch. Here's the PKGBUILD. I didn't really need to do anything crazy to get it working, although it doesn't work as well as I'd like. It's basically just a menu, as games refuse to work, and even clicking some settings crashes it. |
As far as i know there were a Linux ports of the game.
how can i build this engine in Linux.
The text was updated successfully, but these errors were encountered: