Skip to content

PHP: v1.28.0RC1 Windows build failed #22273

@stanley-cheung

Description

@stanley-cheung
	"cl.exe" /D COMPILE_DL_GRPC /D GRPC_EXPORTS=1 /DOPENSSL_NO_ASM /D_GNU_SOURCE /DWIN32_LEAN_AND_MEAN /D_HAS_EXCEPTIONS=0 /DNOMINMAX /DGRPC_ARES=0 /D_WIN32_WINNT=0x600 /Iext\grpc /Iext\grpc\include /Iext\grpc\src\core\ext\upb-generated /Iext\grpc\src\php\ext\grpc /Iext\grpc\third_party\abseil-cpp /Iext\grpc\third_party\address_sorting\include /Iext\grpc\third_party\boringssl\include /Iext\grpc\third_party\upb /Iext\grpc\third_party\zlib /nologo /I . /I main /I Zend /I TSRM /I ext /D _WINDOWS /D WINDOWS=1 /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS /W3 /D _USE_MATH_DEFINES /FD /wd4996 /Qspectre /guard:cf /Zc:inline /Gw /Zc:__cplusplus /MP /Zi /LD /MD /W3 /Ox /D NDebug /D NDEBUG /D ZEND_WIN32_FORCE_INLINE /GF /D ZEND_DEBUG=0 /I "C:\php-snap-build\php-src\php73\x64\deps\include" /D FD_SETSIZE=256 /DHAVE_ARGON2ID_HASH_RAW=1 /FoC:\php-snap-build\obj\7.3-nts-windows-vc15-x64\Release\ext\grpc\third_party\boringssl-with-bazel\ /FpC:\php-snap-build\obj\7.3-nts-windows-vc15-x64\Release\ext\grpc\third_party\boringssl-with-bazel\ /FRC:\php-snap-build\obj\7.3-nts-windows-vc15-x64\Release\ext\grpc\third_party\boringssl-with-bazel\ /FdC:\php-snap-build\obj\7.3-nts-windows-vc15-x64\Release\ext\grpc\third_party\boringssl-with-bazel\ /c ext\grpc\third_party\boringssl-with-bazel\err_data.c
err_data.c
ext\grpc\third_party\boringssl-with-bazel\err_data.c(17): fatal error C1083: Cannot open include file: 'openssl/base.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\cl.exe"' : return code '0x2'
Stop.

This flag: /Iext\grpc\third_party\boringssl\include should be the problem.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions