-
Notifications
You must be signed in to change notification settings - Fork 16.1k
error: option --cpp_implementation not recognized #12390
Copy link
Copy link
Closed
Description
What version of protobuf and what language are you using?
Version: 4.22.1
Language: Python
What operating system (Linux, Windows, ...) and version?
OS: macOS (arm64)
Version: 13.3
What runtime / compiler are you using (e.g., python version or gcc version)
Python: 3.10.10
Compiler: Apple Clang 14.0.3
What did you do?
Steps to reproduce the behavior:
$ wget https://files.pythonhosted.org/packages/source/p/protobuf/protobuf-4.22.1.tar.gz
$ tar xzf protobuf-4.22.1.tar.gz
$ cd protobuf-4.22.1/
$ python setup.py build --cpp_implementationWhat did you expect to see
I expected to build the C++ implementation, as documented in the README. This used to work fine in protobuf 4.21.
What did you see instead?
The --cpp_implementation flag seems to no longer be valid:
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option --cpp_implementation not recognized
Anything else we should know about your project / environment
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels