Skip to content
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

Struggled to build on Linux #40

Open
gjstreicher opened this issue Apr 26, 2021 · 10 comments
Open

Struggled to build on Linux #40

gjstreicher opened this issue Apr 26, 2021 · 10 comments

Comments

@gjstreicher
Copy link

gjstreicher commented Apr 26, 2021

I managed to install and run this game on Linux, but I had to do the following before running make:

sudo apt install cmake libxss-dev libxxf86vm-dev libxkbfile-dev libxv-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev -y

@ghost
Copy link

ghost commented Apr 28, 2021

And? Do you want to uninstall it? Those packages are necessary for building, you can uninstall it.

You can do so with sudo apt uninstall cmake libxss-dev libxxf86vm-dev libxkbfile-dev libxv-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev, notice there is an absence of -y? That is to make sure you do not uninstall it accidentally.

If you already ran the first command, and want to remove the dependencies (apt shows you that there are dependencies that are not automatically removed when uninstalling), you can do that with sudo apt autoremove.

@ghost

This comment has been minimized.

@gjstreicher
Copy link
Author

gjstreicher commented Apr 28, 2021

Oh, I actually mean that the instructions for Unix-like systems didn't include these steps. So, I thought I'd raise it. I guess I could have communicated that better.

@ghost
Copy link

ghost commented Apr 28, 2021

I guess I misunderstood.

@SomethingGeneric
Copy link

SomethingGeneric commented May 1, 2021

Seems like an easy PR to me :)

Edit: just saw one is pending

@ryu-ketsueki
Copy link

Needs clang as well. I happen to not have it installed on Tumbleweed

@ghost
Copy link

ghost commented May 12, 2021

Should installing build-essentials work? I have not really tested it myself.

@SomethingGeneric
Copy link

Yeah it did for me

@ryu-ketsueki
Copy link

I recommend specify which packages the build require and the user most likely may not have instead of only target Ubuntu-based distros and tell to install a metapackage for Ubuntu, as other users may be using Fedora, Archlinux or, in my case, openSUSE. There is no build-essentials metapackage on Tumbleweed. But regardless of that, I managed to build it after installing clang.

@CrezyDud
Copy link

this would be ubuntu specific
e w u b u n t u

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants