This repo is for the computational agroecology project.
The following instructions are mainly for Ubuntu 18.04 LTS.
$ [sudo] apt update
$ [sudo] apt install gcc g++ make
Fetch the source code
$ [sudo] apt install libgtest-dev cmake
Installation
$ cd /usr/src/gtest
$ [sudo] cmake CMakeLists.txt
$ [sudo] make
$ [sudo] cp *.a /usr/lib
Installation
$ [sudo] apt-get install freeglut3 freeglut3-dev cmake libglew-dev mesa-common-dev build-essential libglew-dev libglm-dev
Dependency
$ [sudo] apt install build-essential autoconf libtool pkg-config
Clone the gRPC repository (including submodules)
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc ~/grpc
$ cd ~/grpc
$ git submodule update --init
Make and install gRPC
$ make
$ [sudo] make install
Protoc
$ cd ~/grpc/third_party/protobuf
$ [sudo] make install
$ git submodule update --init --recursive
$ make
The binary executable file will be named main
under the directory environment
.
$ make agent_server
The binary executable will be named agent_server
under the directory agent_server
.
$ make all_test
$ make agent_server_test
All test binary will be built under the tests
directory.
$ make all_test_run
$ make agent_server_test_run