STL与VC6的STLPORT/

auly403 2006-03-28 07:21:07
在VC6下用STL.已经安装了STLPort.但是编译时还是有一堆的.h文件没有.

:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\stl\_config.h(284): Could not find the file features.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\stl\_config.h(850): Could not find the file isynonym.hpp.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stlcomp.h(108): Could not find the file config/stl_is.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_confix.h(38): Could not find the file mcompile.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_kai.h(56): Could not find the file standards.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_sgi.h(44): Could not find the file standards.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_como.h(141): Could not find the file sys/cdefs.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_como.h(147): Could not find the file sys/cdefs.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_como.h(187): Could not find the file stdexcept.stdh.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_apple.h(15): Could not find the file CoreSwitches_AC.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_apple.h(16): Could not find the file ConditionalMacros_AC.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_apple.h(17): Could not find the file Types_AC.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_apple.h(21): Could not find the file ConditionalMacros.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_apple.h(25): Could not find the file ConditionalMacros.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_mwerks.h(5): Could not find the file mslGlobals.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_mwerks.h(6): Could not find the file ansi_parms.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_solaris.h(3): Could not find the file sys/feature_tests.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\stl\_threads.h(61): Could not find the file mutex.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\stl\_threads.h(219): Could not find the file machine/builtins.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\stl\_threads.h(233): Could not find the file synch.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\stl\_threads.h(237): Could not find the file OS.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\stl\_threads.h(244): Could not find the file os2.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\pthread.h(24): Could not find the file /usr/include/pthread.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\stl\_threads.c(42): Could not find the file sys/time.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\stl\_config.h(284): Could not find the file features.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\stl\_config.h(850): Could not find the file isynonym.hpp.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stlcomp.h(108): Could not find the file config/stl_is.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_confix.h(38): Could not find the file mcompile.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_kai.h(56): Could not find the file standards.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_sgi.h(44): Could not find the file standards.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_como.h(141): Could not find the file sys/cdefs.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_como.h(147): Could not find the file sys/cdefs.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_como.h(187): Could not find the file stdexcept.stdh.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_apple.h(15): Could not find the file CoreSwitches_AC.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_apple.h(16): Could not find the file ConditionalMacros_AC.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_apple.h(17): Could not find the file Types_AC.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_apple.h(21): Could not find the file ConditionalMacros.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_apple.h(25): Could not find the file ConditionalMacros.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_mwerks.h(5): Could not find the file mslGlobals.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_mwerks.h(6): Could not find the file ansi_parms.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\config\stl_solaris.h(3): Could not find the file sys/feature_tests.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\stl\_threads.h(61): Could not find the file mutex.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\stl\_threads.h(219): Could not find the file machine/builtins.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\stl\_threads.h(233): Could not find the file synch.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\stl\_threads.h(237): Could not find the file OS.h.
D:\Program Files\Microsoft Visual Studio\VC98\Include\stlport\stl\_threads.h(244): Could not find the file os2.h.

请问是怎么回事?
...全文
193 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
auly403 2006-03-31
  • 打赏
  • 举报
回复
nmake install 在下载包有..
但是头文件把整个硬盘搜了一遍也没有
zylthinking 2006-03-31
  • 打赏
  • 举报
回复
文件在硬盘上没有怎么nmake install 的?
假如有的话,在IDE的包含文件路径中看看,把标准的包含路径向下移,STL的放在前面,使用多线程库看看。
auly403 2006-03-30
  • 打赏
  • 举报
回复
up
auly403 2006-03-28
  • 打赏
  • 举报
回复
也参照了帮助文档.
也用了nmake install.
其实就用到一个hash_map

请求楼上的指教.auly403@163.com
zylthinking 2006-03-28
  • 打赏
  • 举报
回复
你下载的dll?似乎是有一堆头文件的,我当时也就 make 了一把,什么都搞好了,都是自动进行的,只不过后来发现不能使用单线程库。我下的源代码
auly403 2006-03-28
  • 打赏
  • 举报
回复
在我的电脑根本就找不到这个.h文件.是不是把这么下载回来就行了.?

16,471

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • Web++
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

试试用AI创作助手写篇文章吧