简体   繁体   English

尝试在Visual Studio 9.0中编译live555视频流平台代码时看到错误

[英]Error seen while trying to compile live555 video streaming platform code in Visual Studio 9.0

I am trying to compile the video streaming live555 platform code on my system using Microsoft Visual Studio 9.0. 我正在尝试使用Microsoft Visual Studio 9.0在我的系统上编译视频流live555平台代码。 The code is available in this link: http://www.live555.com/liveMedia/public/ 该代码可在以下链接中找到: http : //www.live555.com/liveMedia/public/

I have generated the makefiles for this code using the provided genWindowsMakefiles script provided here. 我已经使用此处提供的genWindowsMakefiles脚本为该代码生成了makefile。 The problem I encountered was while running the batch file I created (run.bat). 我遇到的问题是在运行我创建的批处理文件(run.bat)时。 At this stage, I get the following error: 在此阶段,我得到以下错误:

NMAKE : fatal error U1073: don't know how to make '../groupsock/libgroupsock.lib' NMAKE:致命错误U1073:不知道如何制作'../groupsock/libgroupsock.lib'

indicating that libgroupsock.lib object file library is not present in this directory. 指示此目录中不存在libgroupsock.lib对象文件库。 This object file library is not present in the source code either. 该目标文件库也不在源代码中。 How do I work around this situation? 如何解决这种情况?

The libgroupsock.lib file will be generated by the rule libgroupsock.lib文件将由规则生成

libgroupsock.$(LIB_SUFFIX): $(GROUPSOCK_LIB_OBJS) \
    $(PLATFORM_SPECIFIC_LIB_OBJS)
        $(LIBRARY_LINK)$@ $(LIBRARY_LINK_OPTS) \
                $(GROUPSOCK_LIB_OBJS)

from the file groupsock/Makefile.tail which genWindowsMakefiles.cmd uses to create the final groupsock/groupsock.mak makefile. genWindowsMakefiles.cmd用于创建最终groupsock / groupsock.mak生成文件的文件groupsock / Makefile.tail中。 I do not know what your run.bat contains, but I assume that you should do a 我不知道您的run.bat包含什么,但是我认为您应该做一个

cd groupsock
nmake -f groupsock.mak
cd ..

first to create the libgroupsock.lib file. 首先创建libgroupsock.lib文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM