0

The application is working for VM but failing when we are deploying using docker file.We have installed json cpp package, still it throws the error mentioned in the title.

Tried :In docker file:

RUN apt-get -y install libcairomm-1.0* libjpeg-dev libgif-dev libjsoncpp-dev libprotobuf-dev protobuf-compiler

where libjsoncpp would have sorted the problem, but it is throwing error No such file or directory.

talonmies
  • 70,661
  • 34
  • 192
  • 269
Nancy
  • 55
  • 2
  • 13
  • I think this is most suitable : https://stackoverflow.com/questions/36861355/fatal-error-with-jsoncpp-while-compiling – Nancy Feb 18 '19 at 12:10
  • This is an incomplete question. It is true [`libjsoncpp-dev` installs `/usr/include/jsoncpp/json/json.h`](https://packages.debian.org/sid/i386/libjsoncpp-dev/filelist), but do you compile with `-I/usr/include/jsoncpp`? Please provide a [mcve] or at least a complete and minimal buildchain. – YSC Feb 18 '19 at 12:11

0 Answers0