HowardHinnant / date

A date and time library based on the C++11/14/17 <chrono> header
Other
3.14k stars 677 forks source link

No such file or directory #723

Open sametyazici opened 2 years ago

sametyazici commented 2 years ago

It says no file but there is. Am i doing something wrong?

samet@root:~/date$ g++ src/tz.cpp -o tz src/tz.cpp:86:10: fatal error: date/tz_private.h: No such file or directory 86 | #include "date/tz_private.h" | ^~~~~~~~~~~~~~~~~~~ compilation terminated.

HowardHinnant commented 2 years ago

You should set up an include search path to date/include. Here are the build instructions that I recommend: https://howardhinnant.github.io/date/tz.html#Installation