请各位大虾帮帮忙,一个STL的问题?
我把stlport移植到vc6.0时遇到这样一个问题:
首先执行:nmake clean all 后得到如下结果:
..\\stlport\ctime(25):ffatal error c1083:Connot open include file '../include/ctime':No Such file or directory'
nmake:fatal error u1077:'c:\program\micros~1\vc98\bin\c1.exe:return code:'0x2'stop.
而后修改了,包含的头文后,又出现另外下种提示:如下
cl.exe /nologo /c /Zi /W3 /GR /GX /D "WIN32" /D "_WINDOWS" /I "..\\stlport" /Zm800 /FI "vc_warning_disable.h" /D "_MBCS" /FD /D "_STLP_NO_FORCE_INSTANTIATE" /MT /O2 /DNDEBUG /Fo"..\\lib\\obj\\VC6\\Release\\" /Fd"..\\lib\\obj\\VC6\\Release\\" /YXstlport_prefix.h /Fp..\\lib\\obj\\VC6\\Release\stlport.pch .\dll_main.cpp
dll_main.cpp
..\\stlport\ctime(33) : error C2039: 'clock_t' : is not a member of '`global namespace''
..\\stlport\ctime(33) : error C2873: 'clock_t' : symbol cannot be used in a using-declaration
..\\stlport\ctime(34) : error C2039: 'time_t' : is not a member of '`global namespace''
..\\stlport\ctime(34) : error C2873: 'time_t' : symbol cannot be used in a using-declaration
..\\stlport\ctime(35) : error C2039: 'tm' : is not a member of '`global namespace''
..\\stlport\ctime(35) : error C2873: 'tm' : symbol cannot be used in a using-declaration
..\\stlport\cstdlib(42) : error C2039: 'div_t' : is not a member of '`global namespace''
..\\stlport\cstdlib(42) : error C2873: 'div_t' : symbol cannot be used in a using-declaration
..\\stlport\cstdlib(43) : error C2039: 'ldiv_t' : is not a member of '`global namespace''
..\\stlport\cstdlib(43) : error C2873: 'ldiv_t' : symbol cannot be used in a using-declaration
..\\stlport\cstddef(42) : error C2039: 'ptrdiff_t' : is not a member of '`global namespace''
..\\stlport\cstddef(42) : error C2873: 'ptrdiff_t' : symbol cannot be used in a using-declaration
..\\stlport\new(50) : fatal error C1083: Cannot open include file: '../include/new': No such file or directory
不知如何解决,请各位大侠多指教。