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++ makeFetch the source code
$ [sudo] apt install libgtest-dev cmakeInstallation
$ cd /usr/src/gtest
$ [sudo] cmake CMakeLists.txt
$ [sudo] make
$ [sudo] cp *.a /usr/libInstallation
$ [sudo] apt-get install freeglut3 freeglut3-dev cmake libglew-dev mesa-common-dev build-essential libglew-dev libglm-devDependency
$ [sudo] apt install build-essential autoconf libtool pkg-configClone 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 --initMake and install gRPC
$ make
$ [sudo] make installProtoc
$ cd ~/grpc/third_party/protobuf
$ [sudo] make install$ git submodule update --init --recursive$ makeThe binary executable file will be named main under the directory environment.
$ make agent_serverThe binary executable will be named agent_server under the directory agent_server.
$ make all_test$ make agent_server_testAll test binary will be built under the tests directory.
$ make all_test_run$ make agent_server_test_run