Skip to content

Raylib Linux support for Terri-Fried.#28

Open
VoxelTek wants to merge 1 commit intoPolyMarsDev:masterfrom
VoxelTek:master
Open

Raylib Linux support for Terri-Fried.#28
VoxelTek wants to merge 1 commit intoPolyMarsDev:masterfrom
VoxelTek:master

Conversation

@VoxelTek
Copy link

@VoxelTek VoxelTek commented May 6, 2023

The Raylib version of the game should've been able to compile with no issues on Linux, however, a number of issues were encountered that seem like they would also occur on Windows and other platforms.

Nonetheless, I remedied them for a Linux port, and now it should be able to be compiled on Linux. I also relocated the files in the Linux/ directory, due to now having both an SDL2 version (which I can't seem to get working for some reason) and a Raylib version.

I should note - I am not a C++ programmer by any means. I know the basic syntax, and I'm decent enough at programming, but this language is by no means a strong suit of mine. I just looked at errors and figured things out, and hey, it works now, so I'm calling that a success.

Relocated files and folders, so that the Linux directory more closely matches that of the Windows directory.

Additionally modified the source code for the Raylib version to allow it to compile on Linux, which it fails to in a way that I'd also expect to happen on Windows, but I can't test that.

At the very least, the code has now been fixed to compile and function on Linux.
@VoxelTek
Copy link
Author

New issue, will need to investigate. It seems the executable may not run on systems without Raylib installed. Huh. Will see if I can fix this

@xzcollapse
Copy link

It might be because you are compiling with the dynamic library? Try compiling with static

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

Successfully merging this pull request may close these issues.

2 participants