-
Notifications
You must be signed in to change notification settings - Fork 32
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
opengl won't allow it to start #36
Comments
You can try to build the game yourself. Otherwise, I don't know how to help you unfortunately. It probably have to be linked to different OpenGL library on your system. That's a disadvantage of Linux where you can't usually create universal binary that will work on all distros and versions. |
I tried installing libglvnd from archlinux, seems to fix the issue but I do have one other separate issue regarding glibc now. Apparently my version is too old for this to work with. I have the version 2.3.0 not 2.3.2. I am not sure if this is deliberate or not, but older versions are blocked. |
Which older versions? If you build it yourself, it should link to your local glibc version. |
How do I download the legacy version? nvm When I tried to build it from source, I got these errors: [ 0%] Building CXX object CMakeFiles/jazz2.dir/Sources/Shared/Environment.cpp.o
[ 33%] Building CXX object CMakeFiles/jazz2.dir/Sources/Jazz2/LevelHandler.cpp.o |
Click on the link - https://github.com/deathkiller/jazz2-native/actions/workflows/linux_legacy.yml, then click on the latest workflow and download artifact at the bottom of the page. |
I saw thank you, my bad for asking. But I edited my reply to show compiling error. Not sure what happened. Btw, cant make either start. Do you know what might be the cause and how to turn off requirements for newer opengl or etc...? brb in maybe an hour. I'll see your response on my email more than probably. |
Interesting, you probably have some older version of compiler, because all builds are passing on GitHub. Unfortunately, OpenGL 3.0 is required which is already 15 years old, it's not any new. And it usually works, I've never heard of such problems. |
My compilter is gcc 8.4.0 Is this an issue? I have tried libgl and libglvnd each on their own. libglvnd requires glibc 3.4 alas... as far as I can see anyhow. So i cant use that. However, I might be able to make it work if and this is a big if: If I can compile it with the gcc version I have. mesa-libgl is what I meant by libgl btw. I have glibc 2.30 btw too. I am not sure if this is a problem as well. |
GitHub builds are using GCC 9.4.0 (the legacy one) and GCC 11.4.0 (the newest one). And CMake should find the best suitable OpenGL library on your system during build. But I don't use Linux myself, so hard to tell. |
Ahhh I see... that explains a lot. Hmm... alright. Well now I know then. ;) |
Quick thought, do you think appimages would be able to bypass this issue and make it usable regardless? Just curious, if not then perhaps close this thread. |
I have no idea, I don't know how appimages work nor how to create them. |
Alrighty then. Nevermind, I'll lock it since, for the time being its not a huge thing. Maybe I will use jazz2 in a vm or my other drive for now. ;) |
I lowered compiler requirements from C++20 to C++17, so it could be buildable on older GCC versions now. |
jazzer.txt Its playable! Only one small issue exists still, one of the key buttons doesn't work when I start it. its usually either down or up. Weird right? I am not sure what causes this though. I uploaded a text of the errors I saw. Sorry to bug you again. |
SynPS/2 Synaptics TouchPad was detected as gamepad (it's happening for some mice on Linux, I don't know why), so I added it to blacklist now. It may have solved your problems. |
The ironic part is, I disabled my touchpad... I have a trackpoint that I use for movement instead. ;) Have a Thinkpad X230... and I use a disable touchpad python script. Which is why this puzzles me. But yeah, your recent change fixed my problem. Thank you very much! |
Great, you're welcome! I had the same problem with Razer mouse and keyboard already. SDL2 detects them as joysticks on Linux, so it's assigned to the first slot and it just causes problems. |
Its nice not to need dosbox-x + windows 95, because this game was always a mess to play on windows 95 even on dosbox-x. But yeah, it does cause problems and a lot it seems. Still kind of bizarre though. |
Btw, you nicer than some devs on here, regarding gcc, etc... I wish I knew how to push back the dependency of gcc on other stuff with unneeded requirements. That being said, unrelated, but do you know when multiplayer support will return? I am curious to see what that will look like. |
Thanks! You may have noticed that 2 commits with multiplayer support are already there, players can run around the map, but everything else is still missing, so it's disabled during compilation for now. It's a lot of work, so I can't tell when it will be complete, but some progress is there. |
Hmm... I see, well fair point. Tell me when its ready, I have interest. |
Jazz² Resurrection version
2.1 possibly others. 1.91 and 2.0 also
System information
Hyperbola Intel HD Graphics 4000
Issue description
I get this issue when I try to type in ./jazz2 after chmod +x has been applied to your linux version.
/home/localuser/.local/share/Jazz² Resurrection/Update/jazz2: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory
Ironic thing is, I have opengl unless your thinking of a specific opengl version that I don't have.
I haven't yet added the files needed to start the game yet, but I am fully aware if that the above shared library issue would come up now rather than later.
Btw, Hyperbola is based on Arch and is focused on stability and security so it uses debian patches currently.
Steps to reproduce
1: downloaded the linux binary,
2: extracted it,
3: went into the folder its in,
4: chmod +x jazz2
5: Then I typed in terminal ./jazz2 and viola that bug came up.
The text was updated successfully, but these errors were encountered: