Windows build fails

Description

Windows build fails for following 3 reason:
1. No pbs_version.h found while compiling liblog
Reason: Missing dependency on liblog project for include as include is the one who generates pbs_version.h from pbs_version.h.in in it's Pre-build event using gen_pbs_version.bat script

2. Change in pbs_statsched IFL API
Reason: in pbs_ifl.h we have mentioned all IFL API at two place, one is under ifdef _USRDLL and another one is in else part of ifdef. And newly changed pbs_statsched API is not updated under ifdef _USRDLL which leads to fail to compile Libpbsaif saying argument mismatch

3. Use of msbuild command instead vcbuild (main culprit)
Reason:

  • As per our current windows project configuration, using msbuild if any of dependency of project is built once will not be build again, due to this AppVeyor is not able to catch 2 problem mentioned above

  • As per our current windows project configuration, and the order in which all projects are builds, somehow include projects gets build first and then liblog so liblog gets pbs_version.h in right place, due to this AppVeyor is not able to catch 1 problem mentioned above

To reproduce above 1 and 2 problem, use 'vcbuild win_configure\pbs_windows_VS2008.sln "Release|Win32"' command instead msbuild command mentioned in .appveyor.yml file.

Acceptance Criteria

None

Status

Assignee

Hiren Vadalia

Reporter

Hiren Vadalia

Severity

4-Critical

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Components

Fix versions

Affects versions

18.1.0

Priority

High
Configure