Original Post
Hey. I'm trying to use Boost.Filesystem: But I get these errors (incidentally, the same as these): I'm using Visual Studio and my additional include directories are set up properly... is there something I'm missing? Cheers.
#include "boost/filesystem.hpp"
int main()
{
return 0;
}
Error 1 error C2039: 'clock_t' : is not a member of '`global namespace'' c:\program files\microsoft visual studio 8\vc\include\ctime 18
Error 2 error C2873: 'clock_t' : symbol cannot be used in a using-declaration c:\program files\microsoft visual studio 8\vc\include\ctime 18
Error 3 error C2039: 'asctime' : is not a member of '`global namespace'' c:\program files\microsoft visual studio 8\vc\include\ctime 20
Error 4 error C2873: 'asctime' : symbol cannot be used in a using-declaration c:\program files\microsoft visual studio 8\vc\include\ctime 20
Error 5 error C2039: 'clock' : is not a member of '`global namespace'' c:\program files\microsoft visual studio 8\vc\include\ctime 20
Error 6 error C2873: 'clock' : symbol cannot be used in a using-declaration c:\program files\microsoft visual studio 8\vc\include\ctime 20
Error 7 error C2039: 'ctime' : is not a member of '`global namespace'' c:\program files\microsoft visual studio 8\vc\include\ctime 20
Error 8 error C2873: 'ctime' : symbol cannot be used in a using-declaration c:\program files\microsoft visual studio 8\vc\include\ctime 20
Error 9 error C2039: 'difftime' : is not a member of '`global namespace'' c:\program files\microsoft visual studio 8\vc\include\ctime 21
Error 10 error C2873: 'difftime' : symbol cannot be used in a using-declaration c:\program files\microsoft visual studio 8\vc\include\ctime 21
Error 11 error C2039: 'gmtime' : is not a member of '`global namespace'' c:\program files\microsoft visual studio 8\vc\include\ctime 21
Error 12 error C2873: 'gmtime' : symbol cannot be used in a using-declaration c:\program files\microsoft visual studio 8\vc\include\ctime 21
Error 13 error C2039: 'localtime' : is not a member of '`global namespace'' c:\program files\microsoft visual studio 8\vc\include\ctime 21
Error 14 error C2873: 'localtime' : symbol cannot be used in a using-declaration c:\program files\microsoft visual studio 8\vc\include\ctime 21
Error 15 error C2039: 'mktime' : is not a member of '`global namespace'' c:\program files\microsoft visual studio 8\vc\include\ctime 22
Error 16 error C2873: 'mktime' : symbol cannot be used in a using-declaration c:\program files\microsoft visual studio 8\vc\include\ctime 22
Error 17 error C2039: 'strftime' : is not a member of '`global namespace'' c:\program files\microsoft visual studio 8\vc\include\ctime 22
Error 18 error C2873: 'strftime' : symbol cannot be used in a using-declaration c:\program files\microsoft visual studio 8\vc\include\ctime 22
Error 19 error C2039: 'time' : is not a member of '`global namespace'' c:\program files\microsoft visual studio 8\vc\include\ctime 22
Error 20 error C2873: 'time' : symbol cannot be used in a using-declaration c:\program files\microsoft visual studio 8\vc\include\ctime 22


