Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
Includes the fact that winmm.lib is also linked on windows and that you can now build with MINGW-64 provided you link both libws2_32.a and libwinmm.a
  • Loading branch information
Redhacker1 committed Jul 12, 2023
1 parent b1e70d9 commit d5ce25d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ Compiling
---------

* Windows (MSVC) - add lib/Remotery.c and lib/Remotery.h to your program. Set include
directories to add Remotery/lib path. The required library ws2_32.lib should be picked
up through the use of the #pragma comment(lib, "ws2_32.lib") directive in Remotery.c.
directories to add Remotery/lib path. The required libraries (ws2_32.lib and winmm.lib) should be picked
up through the use of the `#pragma comment` directives in Remotery.c.

* Windows (MINGW-64) - add lib/Remotery.c and lib/Remotery.h to your program. Set include
directories to add Remotery/lib path. You will need to link libws2_32.a and libwinmm.a yourself through your build system, as GCC (and therefore MINGW-64) do not support `#pragma comment` directives

* Mac OS X (XCode) - simply add lib/Remotery.c, lib/Remotery.h and lib/Remotery.mm to your program.

Expand Down

0 comments on commit d5ce25d

Please sign in to comment.