lionkor / commandline

A C++ commandline for use in servers and chat software. Provides very simple asynchronous input/output.
MIT License
85 stars 13 forks source link

Compile error on MacOS #44

Closed lionkor closed 5 months ago

lionkor commented 10 months ago

Related to https://github.com/BeamMP/BeamMP-Server/issues/206

Does not build on MacOS.

max5800 commented 5 months ago

Heyho, I want to fix this issue myself but I don't have deep C++ knowledge. Can you give me some troubleshooting pointers to start from? Best regards. Max

lionkor commented 5 months ago

Hi @max5800 , thanks! You can try following the build steps from the readme: https://github.com/lionkor/commandline?tab=readme-ov-file#building-from-source

and seeing what fails and what the errors are.

max5800 commented 5 months ago

@lionkor got it to compile on macos without an issue. So I investigated my root problem further and found two Issues in the beammp server Project which fixed the compiling on my macos machine. I also tested the changes inside a Debian linux container, there it also compiled. Next thing I will update the issue on the beammp server repo with details and open a pull request for you to look at the changes there.

max5800 commented 5 months ago

Could be marked as closed, at least for me.