You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have installed all dependencies and packages as described (i can call php and protoc from commandline; installed all scripts via composer, ...)
But when i call php .\vendor\bin\protobuf.bat --include-descriptors -i . -o ./src/ ./addressbook.proto
i only get the content of the bat-file in the console:
@ECHO OFF
SET BIN_TARGET=%~dp0/../protobuf-php/protobuf-plugin/bin/protobuf
php "%BIN_TARGET%" %*
What iam doing wrong?
The text was updated successfully, but these errors were encountered:
Hi, I also tried (see kebabtent/pogoprotos-php#8) getting this to work on Windows.
The problem you describe is not the worst, you can call the script directly, without using the bat-file in vendor/bin, but then it just hangs doing nothing.
I attached a debugger to find it fails (hangs) here. I did some research, but didn't find anything concrete. I guess reading from stdin like that just doesn't work in a Windows environment (found something about missing readline-ext, don't know if it's relevant). It works fine on UNIX anyways, so compiling the protos there is an acceptable solution.
Hi,
i have installed all dependencies and packages as described (i can call php and protoc from commandline; installed all scripts via composer, ...)
But when i call
php .\vendor\bin\protobuf.bat --include-descriptors -i . -o ./src/ ./addressbook.proto
i only get the content of the bat-file in the console:
What iam doing wrong?
The text was updated successfully, but these errors were encountered: