To verify, run $PROTOBUF_ROOT_DIR/bin/protoc -version.Įxport PROTOBUF_ROOT_DIR=/usr/local # or your custom Homebrew dir一直有问题 bash_profile: export PROTOBUF_ROOT_DIR=/usr/local # or your custom Homebrew dir Normally, that’s the Homebrew default /usr/local. You need to set PROTOBUF_ROOT_DIR to the root where protobuf is installed. To install the protobuf binary package, use Homebrew: brew install You need to have protobuf C++ installed before you can build J2ObjC. Then clone into a local directory: git clone (Command-V) # Paste the copied URL First, click the, then click the Copy to Clipboard button: Clone Next, clone a copy of your fork to your local system for development. Select your GitHub account name, and the fork will be created in a few seconds. To fork the J2ObjC project, open its main page and click the Fork button: bash_profile: export JAVA_HOME=`/usr/libexec/java_home -v 1.8`Įxport JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home Install Xcode command line tools by running: sudo xcode-select -installĪdd to your. Here is a well-written installation guide by Pankaj Kumar. Note: Maven is no longer distributed with Xcode’s command-line tools. (Recommended but not required) Google Protocol Buffer source
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |