This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package problems.DataStructuresImpl; | |
| import java.util.Objects; | |
| class HashCodeExample { | |
| private String string; | |
| private int id; | |
| public HashCodeExample(String string, int id) { | |
| this.string = string; |
- To cross compile gRPC
- Clone gRPC repo from here
- git submodule update --init
- make
- cd third_party/protobuf && make install
- cd ../..
- make install
- ldconfig
by Angel Leon. March 17, 2015.
On the compilation phase, you will usually need to specify the different include paths so that the interfaces (.h, .hpp) which define structs, classes, constans, and functions can be found.
With gcc and llvm include paths are passed with -I/path/to/includes, you can pass as many -I as you need.
In Windows, cl.exe takes include paths with the following syntax:
/I"c:\path\to\includes\ you can also pass as many as you need.
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream