I am compiling in VS 2010 with boost 1_53. I also use boost streams.
during compilation i get a bunch of errors like this
c: \ program files (x86) \ microsoft visual studio 10.0 \ vc \ include \ ctime (18): error C2039: 'clock_t': not a member of the `` global namespace ''
all errors are approximately ctime and c_time.hpp .
I was looking for a solution, but to no avail.
can someone please help?
here is some piece of code.
#define BOOST_THREAD_USE_DLL #include <boost/optional.hpp> #include <boost/thread.hpp> #include <boost/thread/thread.hpp> #include <boost/thread/mutex.hpp> #include <boost/date_time/posix_time/posix_time.hpp>
c ++ boost compiler-errors ctime
Nem
source share