Compile Source Code for Mac - larsen161/Lindacoin GitHub Wiki
These steps are still returning an error when compiling. Anyone that can improve this section please let me kmnow.
First head to the App Store and install Xcode. After it finished installing open up Terminal and run these commands.
user@mac:~$ xcode-select --install
user@mac:~$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
user@mac:~$ brew install automake berkeley-db bitcoin glibtool boost miniupnpc pkg-config protobuf python qt libevent qrencode opencv openssl
user@mac:~$ env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include"
user@mac:~$ pip install --upgrade pip
user@mac:~$ pip install cryptography --global-option=build_ext --global-option="-L/usr/local/opt/openssl/lib" --global-option="-I/usr/local/opt/openssl/include"
user@mac:~$ git clone https://github.com/Lindacoin/Linda
user@mac:~$ cd Linda/src
user@mac:~/Linda/src$ vi net.cpp
Goto line 1019
Edit so that you see the following instead
devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, 2, &error);
Try to compile
user@mac:~/Linda/src$ make -f makefile.osx