Windows

psinnott edited this page Mar 14, 2012 · 5 revisions
Clone this wiki locally

Building

MinGW

MinGW is basically gcc for Windows.

make is required to build using MinGW.

To build the gntp-send.exe executable and libraries required for integration run

make -f Makefile.w32

Visual Studio

Building Library

nmake is required to build using Visual Studio.

To build the gntp-send.exe executable and libraries required for integration run

nmake -f Makefile.msc

Using static library from IDE

Properties → Configuration → Properties → VC++ Directories

Add directory of unzipped sdk to include and library directories

Properties → Configuration → Properties → C/C++ → Preprocessor

Add GROWL_STATIC and GROWL_CPP_STATIC to preprocessor definitions

Properties → Configuration → Properties → C/C++ → Code generation

Change runtime library to multi threaded ( /MT or /MTd )

Properties → Configuration → Properties → Linker → Input

Add ws2_32.lib , libgrowl-static.lib and libgrowl-static++.lib to additional dependencies

Prebuilt

Prebuilt copies of the dlls, libs and headers required for integration are available
here

Prebuild copies of the gntp-send executable are available here

Both were built with Visual Studio Express 10.