You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Payton Turnage edited this page Dec 29, 2013
·
5 revisions
Miknet can be installed on POSIX compliant Unix-like operating systems and
Windows. For Windows, compile in Cygwin or Msys.
Run these
git clone https://github.com/PaytonTurnage/Miknet.git && cd Miknet
mkdir build
cd build
cmake ..
cmake --build .
This should get you libmiknet.a, which you can link against in your programs.
To install (reccomended for new users), run the following as root
make install
For users unfamiliar with linking against libraries, perform the above command
to install, and append the flag
-lmiknet
to your compiler invocation (and of course, include <miknet/miknet.h> in your source file(s)).
Note: There are helpful debugging messages available. If you want to see these while programming with miknet, replace cmake .. above with this command: cmake .. -DMIK_DEBUG=on. You will probably not want this version when you release your program, however.