mirror of
https://github.com/monero-project/monero.git
synced 2025-12-27 17:31:31 +09:00
Trezor
Messages rebuild
Install protoc for your distribution.
protobuf-compilerlibprotobuf-devlibprotoc-devpython-protobuf
Python 3 is required. If you don't have python 3 quite an easy way is to use pyenv.
It is also advised to create own python virtual environment so dependencies are installed in this project-related virtual environment.
python -m venv /
Make sure your python has protobuf package installed
pip install protobuf
Regenerate messages:
./venv/bin/python3 src/device_trezor/trezor/tools/build_protob.py
The messages regeneration is done also automatically via cmake.