Been a while but getting back to this now. Just tried compiling with the latest version and getting this error:
import.cpp:450:69: error: invalid use of incomplete type ‘struct xlnt::date’
auto dt = row[i].get_value<xlnt::date>();
^
In file included from /usr/include/xlnt/xlnt.hpp:26:0,
from import.hpp:9,
from import.cpp:7:
/usr/include/xlnt/cell/cell.hpp:49:8: note: forward declaration of ‘struct xlnt::date’
struct date;
^
This is fixed by adding an #include for utils/date.hpp into xlnt.hpp. Hopefully you can add this!
Thanks for identifying this problem. It always surprises me which platforms have trouble finding headers. I do need to tidy up that main header here at some point.
Hi again,
Been a while but getting back to this now. Just tried compiling with the latest version and getting this error:
This is fixed by adding an
#include
forutils/date.hpp
intoxlnt.hpp
. Hopefully you can add this!