Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Problem running itch.io version on Ubuntu 22.04 #841

Closed
pwiecz opened this issue Feb 20, 2024 · 1 comment
Closed

Problem running itch.io version on Ubuntu 22.04 #841

pwiecz opened this issue Feb 20, 2024 · 1 comment

Comments

@pwiecz
Copy link

pwiecz commented Feb 20, 2024

I wanted badly to play the good old Cyberdogs on CDogs engine, but running the itch version did not work for me.
I'm not sure if it's the correct place to report an issue with the itch.io version, but it seems to have been built with a perhaps a newer version of libsdl2_mixer than the one provide in the current LTS release of Ubuntu (which is 2.0.4)
When I try running it it complains with error:
./cdogs-sdl: undefined symbol: Mix_PlayChannel
I've managed to build it from sources on my machine, though.
Btw, I've had to create custom FindSDL2_image.cmake and FindSDL2_mixer.cmake files, as they did not seem to be provided with SDL2.

Thanks for all the fun!

@cxong
Copy link
Owner

cxong commented Feb 21, 2024

Thanks for the info, I think the linux binary is not the best way to play on linux due to all the different distros and packaging systems. C-Dogs SDL is available on debian and a few other places so installing it from a package manager would be the way to go instead of itch.

FYI the build system uses homebrew to get the latest SDL libraries - the ones available in LTS releases are often old and sometimes we want to take advantage of new SDL features: https://github.com/cxong/cdogs-sdl/blob/master/.github/workflows/cmake.yml#L66

@cxong cxong closed this as completed Feb 21, 2024
Repository owner locked and limited conversation to collaborators Feb 21, 2024
@cxong cxong converted this issue into discussion #844 Feb 21, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants