I've tried to experiment with LANG values but it doesn't help.
Do you have debug version of the binaries? It would be interesting to see the stack trace
This is still a plan B for me, and my next goal is to have a native Windows binary compiled with MSVC 12 (VS 2013), which is much trickier. But that is not a topic for this thread.
[ 71%] Building CXX object src/CMakeFiles/libledger.dir/stream.cc.o
[ 73%] Building CXX object src/CMakeFiles/libledger.dir/mask.cc.o
[ 75%] Building CXX object src/CMakeFiles/libledger.dir/times.cc.o
/home/0wner/ledger-3.1.1/src/times.cc: In member function ‘T
ledger::{anonymous}::temporal_io_t<T, InputFacetType,
OutputFacetType>::parse(const char*) [with T =
boost::posix_time::ptime; InputFacetType =
boost::date_time::time_input_facet<boost::posix_time::ptime,
char>; OutputFacetType =
boost::date_time::time_facet<boost::posix_time::ptime, char>]’:
/home/0wner/ledger-3.1.1/src/times.cc:145:45: error: ‘strptime’ was not declared in this scope
if (strptime(str, fmt_str.c_str(), &data))
^
/home/0wner/ledger-3.1.1/src/times.cc: In member function ‘T
ledger::{anonymous}::temporal_io_t<T, InputFacetType,
OutputFacetType>::parse(const char*) [with T =
boost::gregorian::date; InputFacetType =
boost::date_time::date_input_facet<boost::gregorian::date, char>;
OutputFacetType =
boost::date_time::date_facet<boost::gregorian::date, char>]’:
/home/0wner/ledger-3.1.1/src/times.cc:182:45: error: ‘strptime’ was not declared in this scope
if (strptime(str, fmt_str.c_str(), &data))
^
/home/0wner/ledger-3.1.1/src/times.cc: In member function ‘T
ledger::{anonymous}::temporal_io_t<T, InputFacetType,
OutputFacetType>::parse(const char*) [with T =
boost::posix_time::ptime; InputFacetType =
boost::date_time::time_input_facet<boost::posix_time::ptime,
char>; OutputFacetType =
boost::date_time::time_facet<boost::posix_time::ptime, char>]’:
/home/0wner/ledger-3.1.1/src/times.cc:150:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/0wner/ledger-3.1.1/src/times.cc: In member function ‘T
ledger::{anonymous}::temporal_io_t<T, InputFacetType,
OutputFacetType>::parse(const char*) [with T =
boost::gregorian::date; InputFacetType =
boost::date_time::date_input_facet<boost::gregorian::date, char>;
OutputFacetType =
boost::date_time::date_facet<boost::gregorian::date, char>]’:
/home/0wner/ledger-3.1.1/src/times.cc:187:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[2]: *** [src/CMakeFiles/libledger.dir/build.make:1172: src/CMakeFiles/libledger.dir/times.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:125: src/CMakeFiles/libledger.dir/all] Error 2
make: *** [Makefile:161: all] Error 2
acprep: ERROR: Execution failed: make
What I'm doing wrong? Help me please!!