I found problem about build pgagent please see error attachment
Q1. The version of pgAdmin you are running. If it is a development snapshot, please include the build date from the Help -> About screen, and GIT repository version if known.
A1. pgadmin version 1.22.1 (feb 9 2016, rev: rel-1_22_1) and pgagent version 3.4.0 and cmake version cmake-3.4.3-win32-x86
Q2. The configure options used (if compiled from source)
A2. Install from postgresql-9.5.1-1-windows-x64.exe
Q3. The operating system and version details - e.g. Windows XP Pro, SP2, or Slackware Linux 10, kernel 2.4.21
A3. windows server 2008 r2 enterprise version 6.1 (build 7601: service pack 1)
Q4. The wxWidgets version and configure options used (if compiled from source)
A4. wxWidgets-3.0.2 and install on d:\wxWidgets-3.0.2
Q5. The PostgreSQL version and configure options used (if compiled from source)
A5. postgresql-9.5.1-1-windows-x64 and install on M:\Program Files\PostgreSQL\9.5
Q6. Steps required to reproduce the problem. Please include a simple scheme with optional data if required. This may be sent privately upon request from a developer if you are concerned about posting sample code or data to a public mailing list.
A6. 6.1 we extract source of pgagent into C:\Temp\pgAgent
6.2 install wxWidgets into d:\wxWidgets-3.0.2
6.3 add path windows variable for %WXWIN% point to d:\wxWidgets-3.0.2
6.4 open visual studio command promt
6.5 change directory to %WXWIN%\build\msw
6.6 and run command
Nmake /a makefile.vc TARGET_CPU=X64
6.7 open cmake and success for configure and generate
6.8 we build project from 6.7 and error below in setup.h
Error C1083: cannot open include file: ‘../../../lib/vc_x64_lib/mswd/wx/setup.h’: no such file or directory