I need some help on a Dockerfile project based on the app I made. I got an error saying that there's no such file or directory as nlohmann/json.hpp. I got similar errors for Jinja2Cpp, but I'll ask that on their GitHub rather than here (though if someone here can help me with that, then that's even better for me).
The command I'm using in the Dockerfile to compile my executable is:
RUN g++ -std=c++17 -Wall -pedantic -I /usr/local/jinja2cpp/install/include -I /usr/local/boost_1_68_0/ -I /usr/local/json/single_include/ -L /usr/local/jinja2cpp/build/ -llibjinja2cpp.* -L /usr/local/boost_1_68_0/stage/lib/ -llibboost_system.* currency_converter.cpp -o currency_converter
The error from g++ during the Dockerfile build process is:
currency_converter.cpp:29:10: fatal error: nlohmann/json.hpp: No such file or directory
#include <nlohmann/json.hpp>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
This is my code (I posted it on GitHub as well): https://github.com/DragonOsman/currency_converter/blob/master/currency_converter.cpp .
Any help is appreciated. Thanks.
I need some help on a Dockerfile project based on the app I made. I got an error saying that there's no such file or directory as
nlohmann/json.hpp. I got similar errors for Jinja2Cpp, but I'll ask that on their GitHub rather than here (though if someone here can help me with that, then that's even better for me).The command I'm using in the Dockerfile to compile my executable is:
The error from g++ during the Dockerfile build process is:
This is my code (I posted it on GitHub as well): https://github.com/DragonOsman/currency_converter/blob/master/currency_converter.cpp .
Any help is appreciated. Thanks.