Closed tielur closed 7 years ago
I guess OSX doesn't include:
open_memstream(char **bufp, size_t *sizep)
or
fmemopen(void *buf, size_t size, const char *mode)
So I guess this would have to be ported for it to work.
Yes, it seems that OS X is not fully POSIX and does not have open_memstream
. I will look into this.
With recent master you can now build and test under OS X. Travis OS X build image at least has no issues doing that. Would you mind testing it again to see if and how well it works for you under OS X?
I just tested it and it builds now, which is awesome! The only error I got was during installation:
∴ sudo make install
Password:
[ 54%] Built target rcon
[100%] Built target srcrcontest
Install the project...
-- Install configuration: ""
-- Installing: /usr/bin/rcon
CMake Error at cmake_install.cmake:31 (file):
file INSTALL cannot copy file "/Users/tielur/sites/rcon/build/rcon" to
"/usr/bin/rcon".
This may or may not be related, and I can open a different issue if you want. But after trying to use the command with status
. I see the connection on the server and the server outputs the results but the results never show via rcon.
I just tested it and it builds now, which is awesome! The only error I got was during installation:
If you don't have /usr/bin
you can set path to your installation like this:
cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/somewhere
It will then install the binary to /path/to/somewhere/bin
.
This may or may not be related, and I can open a different issue if you want. But after trying to use the command with status. I see the connection on the server and the server outputs the results but the results never show via rcon.
Against what kind of game server are you using it?
I'm running it against a Rust game server
I'm running I against a Rust game server
I haven't not been able to test it yet against a Rust server. I will do some tests and see if can be fixed.
Awesome! Thanks for all your work @n0la!
I have made a new issue for RUST compatibility: #4
I'm getting the following errors when trying to run
make
:Info: