在VS2005中搭建Live555媒体服务器的问题
对于任何长期 C++、Visual Studio 或 live555 用户来说,这可能是一个非常愚蠢的问题,但我在使用 Visual Studio 2005 构建 live555 源代码时遇到问题。我找到了一个很好的手动创建项目的逐步指南,因为 .mak 文件较新版本的 Visual Studio 不再支持,但仍然遇到问题。看来 Visual Studio 无法打开包含文件夹中的 .hh 文件,我已将其添加到每个单独项目的标头文件夹中。
是否需要对编译器或 IDE 插件进行一些特殊操作才能允许 VS2005 打开 .hh 头文件?
这是我收到的错误:
致命错误 C1083:无法打开包含文件 “BasicUsageEnvironment.hh”:没有这样的文件或目录。
This could be a very silly question to any long time C++, visual studio or live555 users but I am having problems building the live555 source code with visual studio 2005. I have found a good walk through guide for creating the projects manually because .mak files are no longer supported by newer versions of visual studio but am still having problems. It seems that visual studio cannot open the .hh files that come in the include folders and I have added to the header folders of each seperate project.
Is there something special you have to do to the compilier or a plugin for the IDE to allow VS2005 to open .hh header files?
This is the error I am getting:
fatal error C1083: Cannot open include file
'BasicUsageEnvironment.hh': No such file or directory.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在我看来,Visual Studio 无法找到该文件,而不是无法打开该文件类型。如果右键单击您的项目并转到
“属性”->“C/C++”->“常规”->“其他包含目录”,
现在浏览到 .hh 文件的位置并将其添加到路径中。 Visual Studio 现在应该能够找到有问题的文件。您可能还需要将库路径添加到您的解决方案中。如果还有其他错误,请告诉我。
It seems to me that Visual studios cannot find the file, rather than it not being able to open that file type. If you right click on your project and go to
Properties->C/C++->General->Additional Include Directories
Now browse to the location of the .hh file and add it to the path. Visual studios should now be able to find the file in question. You may also have to add library paths to your solution. Please let me know if there are additional errors.