-
Notifications
You must be signed in to change notification settings - Fork 25
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
Better build instructions on all platforms #398
Comments
I think it should be not be a big problem to build the repo on linux.
This is the flags I used to compile the repo on my local machine: Ubuntu 20.04 / gcc 9.4
|
I feel that this repo is dead. |
No, you did not run, at least that what I guess, since the message box is covering the interesting information about ctp2.exe. I guess the creation is is 12/26/2022 9:09 PM and its size is about 6 MB, which is the release version. The version you compiled this year should be well from this year and its size should be around 4 MB. I guess you did not copy it over. The released version of the executable is in ctp2_program/ctp, while the freshly compiled version is in ctp2_code/ctp. Depending on the configuration you chose, the file will be named differently. Configuration Debug generates CivCTP_dbg.exe, the heavy debug version with logging, assertions, and memory leaks checking. The last thing makes it slow. Then the configuration Release generates ctp2r.exe, so obviously not the version that was actually released. I think it contains some minor stuff for debugging than the final version. And that what you get with the configuration Final, that it's then ctp2.exe. Of course, Visual Studio is an integrated development environment. That means you start the game within Visual Studio. You can just press F5, that should start also the debugger or CTRL+F5 that should start it without the debugger. You can check that in the Debug menu, right now I am on a Linux so I can't check it and that is already quite some unconscious routine for me. If you want to use your save games, then copy the folder ctp2_program/ctp/save/ including its subfolders to ctp2_code/ctp/save/. |
@myocytebd What makes you feel that? |
A clear warning is needed in the instructions. "configure: error: unsafe absolute working directory name" is too vague, not everyone will realize that no spaces in the path is assumed. |
Nothing to do with feelings just his bad way of stating it. Most files have no recent edits, lots of open issues, latest edits are a year old, lots of open issues directly related to people being unable to build. |
Contributions for improvement are very welcome! |
I merged in the updated build instructions into the readme. So if you still have an issue please open a new one. |
Please, also let us know if things work out for you now and what caused the problems. |
I will definitely try building it again in a few weeks when my new computer comes in. Thank you! |
Checking out both #379 and #348, as well as my own issue #384, it seems apparent that very few people can actually build this repo. The makefile goes a long way as well as the Autogen and Configure files, but overall the documentation on how to build the games is sparse and ancient. This is leading to a lot of people being unable to contribute to the development of the Apolyton Edition who would otherwise be happy to - myself and several of the people on the Discord server have no idea how to build this edition, and there isn't even any releases to download. Can we please get revised instructions on how to build the Apolyton Edition of the game for multiple platforms (Windows and Linux at least) that are specific, clear and easy to follow? Specifically, I think the instructions should mention:
Basically, just a from-scratch list of instructions that list everything done to get the Apolyton Edition working to a point where one can start contributing.
Thank you.
The text was updated successfully, but these errors were encountered: