Open macintoshplus opened 8 months ago
I found the solution. The destination folder does not exist before CL try create file.
I solve this issue by creating directory frere before build.
I close this issue.
I have same issue for all x86 build for PHP 8.0 to 8.3. Any idea ?
I have already try:
/MP
option./FS
option.I am able to compile grpc extension for PHP 8.0 to 8.3 on Windows using this patch https://gist.github.com/tienvx/1ee366b4a2c64aea48f90db3ca3b8df4
Thanks @tienvx, you can build for x86 architecture?
No I didn't try. I only tried on x64 systems.
What version of gRPC and what language are you using?
PHP 8.2 x64 gRPC 1.60.0
What operating system (Linux, Windows,...) and version?
Windows 10 x64
What runtime / compiler are you using (e.g. python version or version of gcc)
Visual studio 2019 (vs16)
What did you do?
Please provide either 1) A unit test for reproducing the bug or 2) Specific steps for us to follow to reproduce the bug. If there’s not enough information to debug the problem, gRPC team may close the issue at their discretion. You’re welcome to re-open the issue once you have a reproduction. I want build the extension for Windows.
phpsdk-vs16-x64.bat
phpize
configure --with-grpc --with-prefix=d:\actions-runner\_work\builder\builder\php-bin
nmake
What did you expect to see?
I expect the correct building PHP extension DLL.
What did you see instead?
When this command is exectuted:
I have this error:
To solve the
fatal error C1041
, I have try to add the/FS
option without change.Anything else we should know about your project / environment?
nope