lewisclark / glua-steal

Retrieves client-sided Lua files from Garry's Mod game servers
GNU General Public License v3.0
151 stars 15 forks source link

Not able to compile on Linux #27

Closed AroPix closed 2 years ago

AroPix commented 2 years ago

Describe the bug When trying to compile glua-steal for Linux, it fails with several erros. One being that is not imported and other ones i can't seem to fix myself as i don't understand what these lines of code do. Even tried using older GCC versions.

Expected behavior Compiling would work without problems.

Screenshots Screenshot_20220709_030606

Additional details (please complete the following information):

x4fx77x4f commented 2 years ago

Looking up "MINSIGSTKSZ" gets me to this Stack Overflow post from someone also on Manjaro; apparently it has to do with this change in glibc. The issue is coming from Catch2, which this repository includes as a submodule. Catch2 fixed this issue in 2.13.5, but glua-steal uses 2.13.0. It ought to be updated.

lewisclark commented 2 years ago

Thank you, both. I've updated Catch2 to v2.13.9 and plan to update to v3 when I have time to resolve the breaking changes.

AroPix commented 2 years ago

I was able to copile it without erros, but i can't seem to find the compiled .so file. Is there any way i could contact you through discord as example? And also thanks for the quick response, didn't think that a 2 year old project would still get support by the creator :)

AroPix commented 2 years ago

Okay nvm i got it working. The only thing i had to fix was adding #include <vector> to sanitization.cpp.