Tested with Zabbix 1.8.6 on Windows 2008 R2 Datacenter 64bits
Requirements
* Windows SDK for Windows 7
* Visual C++ 2010 Express
* Zabbix Source
* 7-Zip or similar
Compiling for 32bits (x86)
1 2 3 4 |
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat" cd "C:\Users\Administrator\Downloads\zabbix-1.8.6\build\win32\project" copy ..\include\config.h ..\..\..\include\ nmake Makefile_agent |
edit resource.rc file and replace “afxres.h” with “windows.h”
run it again:
1 |
nmake Makefile_agent |
All binaries should be in “C:\Users\Administrator\Downloads\zabbix-1.8.6\bin\win32”
Compiling for 64bits (x64)
1 2 3 4 |
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat" cd "C:\Users\Administrator\Downloads\zabbix-1.8.6\build\win32\project" copy ..\include\config.h ..\..\..\include\ nmake Makefile_agent_x64 |
edit resource.rc file and replace “afxres.h” with “windows.h”
run it again:
1 |
nmake Makefile_agent |
All binaries should be in “C:\Users\Administrator\Downloads\zabbix-1.8.6\bin\win64”
Thank you so much Ricardo !
Hi,
When would I need that ?