ipxnet icon indicating copy to clipboard operation
ipxnet copied to clipboard

Failure to build on OpenBSD, and a fix

Open thirdwheel opened this issue 5 years ago • 0 comments

Hi

Just a quick rundown of how to build this in OpenBSD - the libraries and headers go into /usr/local which the compilers don't look into by default. So a workaround is to tell the compiler to look there with environment variables.

So to build on OpenBSD is as follows:

doas pkg_add sdl sdl-net
sed -i.orig 's,/home/intangir/log/,/path/to/log/,' config.h
make CXXFLAGS="-I/usr/local/include -L/usr/local/lib"
strip --strip-all ipxnet

thirdwheel avatar Mar 17 '20 00:03 thirdwheel