Skip to content

Modify jsoncpp installation for phaarmonster

Jolie Roiseux requested to merge refactor/jsoncpp-installation into develop

Context

The code should compile and run on phaarmonster without the use of Docker. There were issues with jsoncpp preventing it from compiling.

Summary

I modified the Dockerfile to install the jsoncpp library instead of cloning the jsoncpp repository. This allows jsoncpp to be used the same way for the Docker container and phaarmonster. The include paths were updated to reflect this.

I also added a new config file that has the correct path for the phaarmonster data.

How was this tested?

It compiles and runs in the Docker container and on phaarmonster.

Phaarmonster has an older version of g++, but a newer version was installed using this: How to Install GCC Compiler on CentOS 7. In order to compile and run the develop branch on phaarmonster, you need to use the newer version of g++.

Start a new shell with: scl enable devtoolset-7 bash. Then make/run as you would in the Docker container.

Edited by Jolie Roiseux

Merge request reports

Loading