-
Notifications
You must be signed in to change notification settings - Fork 142
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
Building from sources #430
Comments
That's because all these support libraries are alien to Windows. They are standard to Linux and are supported out of the box by CMake. But there is no working common framework for building or finding it on Windows, because every development environment there is unique and incompatible with each other. There was some effort to make cross-platform builds easier in the old master. But its' complexity and fragility were some of the main reasons why the old branch was finally abandoned. I'm not a Windows developer, but as others suggested in the past you'd need to compile all of the required libraries and either edit Code::Blocks project accordingly or use CMake graphical tool to build Code::Blocks project from scratch. Hope this helps. |
Hi, |
There already is such a build box on https://semaphoreci.com/vobject/opentomb. Unfortunately, it isn't maintained for a while. If someone wants to set-up a build machine, then it doesn't need a special approval by admins here. |
Ok, I'll try to cross-compile the game for Windows on a Semaphore CI build machine. Thanks for the URL ! |
Hi, I set up a build machine here : https://semaphoreci.com/ricciardi-adrien/opentomb |
There are many deployment platforms exist. Look here for example: https://github.com/integrations/feature/deployment |
Thank you for your quick reply. In the meanwhile I tested your Semaphore CI machine build script on a Semaphore SSH machine, and it is working fine (the only thing I did not test is obviously the Sourceforge deployment). Your generated binary works great on an old Windows XP PC. Why did the OpenTomb team stopped the builds ? |
Why do you think that it was a community initiative? Actually, it was a private project, just like yours. Seems that the owner lost interest and there was not many people using both Windows and Linux to have the incentive and possibility to revive it. |
I thought that because the build system was working, it was not supposed to be a reproach (sorry if you took it for). I asked because I was thinking that the Sourceforge deployment had problem. Ok, I will continue my own build machine, if I get a useful result I will tell you. |
I have easily built it for Windows (64bit build) using MSYS2 and CodeBlocks. If anybody needs help, please ask. |
I tried compiling the last version using the CodeBlocks project, but there were missing dependencies (#include directives, it was whining because the files couldn't be found). So I added these files, which seemed to work:
But then there were still other files, the next one was al.h and as I didn't know where to put it I just gave up.
It's probably just me who's a noob at compiling, I've never managed to do it in the past (I mean, with OpenTomb).
I tried using CMake too, but it's even newer than CodeBlocks to me, and I have no idea where to start. I tried using the MinGW compiler, Visual Studio 2017 compiler too, but no way.
Oh, I'm on Windows by the way, I haven't tried yet on Linux (though I bet it's much simpler with CMake, according to the readme file).
May I get any help? Thanks!
The text was updated successfully, but these errors were encountered: