RTC API SDK 1.3附带的构建RTC示例的问题 [英] Problem buiding RTC example that comes with RTC API SDK 1.3
问题描述
以下是我系统的环境"设置.
Following is the Environment setting for my system..
Microsoft Windows XP Professional版本2002 Service Pack 2
Microsoft .NET Framework版本2.0.50727
Microsoft Visual Studio 2005版本8.0.50727.42
我已经通过下载并运行RtcApiSdk.msi安装了RTC客户端API v1.3 SDK(C:\ Program Files \ RTC客户端API v1.3 SDK).
I have installed RTC Client API v1.3 SDK (C:\Program Files\RTC Client API v1.3 SDK) by downloading and running RtcApiSdk.msi.
此安装还提供了一些示例代码,可用于(C:\ Program Files \ RTC Client API v1.3 SDK \ SDK \ Samples).
This installation also provides some sample code to work on (C:\Program Files\RTC Client API v1.3 SDK\SDK\Samples).
我正在尝试按照READEME.txt中的步骤来编译示例代码(C:\ Program Files \ RTC客户端API v1.3 SDK \ SDK \ Samples \ RTCSAMPLE)
I am trying to compile the sample code (C:\Program Files\RTC Client API v1.3 SDK\SDK\Samples\RTCSAMPLE) by following the steps in the READEME.txt
该示例无法按照此处给出的步骤进行编译(C:\ Program Files \ RTC Client API v1.3 SDK \ HELP \ RTCCLNT.CHM)
The sample fails to compile with the steps given here (C:\Program Files\RTC Client API v1.3 SDK\HELP\RTCCLNT.CHM)
错误
C:\ Program Files \ RTC客户端API v1.3 SDK \ SDK \ Samples \ RTCSAMPLE> nmake
C:\Program Files\RTC Client API v1.3 SDK\SDK\Samples\RTCSAMPLE>nmake
rtcdialogs.cpp(1242):错误C2065:'IRTCPresenceDevice2':未声明的标识符
rtcdialogs.cpp(1242):错误C2065:'pDevice2' :未声明的标识符
rtcdialogs.cpp(1281):错误C2227:'-> get_DeviceID'的左侧必须指向类
/struct/union/generic type
类型是``未知类型''
rtcdialogs.cpp(1312):错误C2227:'->发布'的左侧必须指向class/struct/union/generic类型
类型是``unknown-type''
NMAKE:致命的错误U1077:"cl":返回代码"0x2"
停止.
rtcdialogs.cpp(1242) : error C2065: 'IRTCPresenceDevice2' : undeclared identifier
rtcdialogs.cpp(1242) : error C2065: 'pDevice2' : undeclared identifier
rtcdialogs.cpp(1281) : error C2227: left of '->get_DeviceID' must point to class
/struct/union/generic type
type is ''unknown-type''
rtcdialogs.cpp(1312) : error C2227: left of '->Release' must point to class/struct/union/generic type
type is ''unknown-type''
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
我也尝试过使用Visual Studio 2005构建应用程序,但出现以下错误
I have also tried building the application using Visual Studio 2005 but I get the following error
错误16错误C2065:"IRTCPresenceDevice2":未声明的标识符c:\ program files \ rtc客户端api v1.3 sdk \ sdk \ samples \ rtcsample \ rtcdialogs.cpp
Error 16 error C2065: 'IRTCPresenceDevice2' : undeclared identifier c:\program files\rtc client api v1.3 sdk\sdk\samples\rtcsample\rtcdialogs.cpp
1242
1242
错误17错误C2065:'pDevice2':未声明的标识符c:\ program files \ rtc client api v1.3 sdk \ sdk \ samples \ rtcsample \ rtcdialogs.cpp 1242
Error 17 error C2065: 'pDevice2' : undeclared identifier c:\program files\rtc client api v1.3 sdk\sdk\samples\rtcsample\rtcdialogs.cpp 1242
错误18错误C2227:-> get_DeviceID"的左侧必须指向类/结构/联合/通用类型c:\程序文件\ rtc客户端api v1. 3
Error 18 error C2227: left of '->get_DeviceID' must point to class/struct/union/generic type c:\program files\rtc client api v1.3
sdk \ sdk \ samples \ rtcsample \ rtcdialogs.cpp1281
sdk\sdk\samples\rtcsample\rtcdialogs.cpp 1281
错误19错误C2227:->版本"左侧必须指向类/结构/联合/通用类型c:\程序文件\ rtc客户端api v1. 3
Error 19 error C2227: left of '->Release' must point to class/struct/union/generic type c:\program files\rtc client api v1.3
sdk \ sdk \ samples \ rtcsample \ rtcdialogs.cpp 1312
sdk\sdk\samples\rtcsample\rtcdialogs.cpp 1312
我遵循的构建示例代码的步骤.
Steps I followed to Build the sample code..
1.>链接到uuid.lib(我在系统中搜索了此文件,并获得了该文件的许多版本/副本)
2.如readme.txt
3中所述,设置include环境变量以指向.h文件.打开Microsoft Platform SDK命令promt-运行nmake
1.> Link with uuid.lib (I searched for this file in my system and got many version/copy of this file)
2.> Seting up the include environment variable to point to .h file as mentioned in the readme.txt
3.> Opening the Microsoft Platform SDK command promt --- running nmake
================================================ ================================================== ================================================== =========
============================================================================================================================================================
推荐答案
我遇到了同样的问题,希望有人能帮助我们.... ..您如何使用Visual Studio进行编译?它并没有真正提供项目/解决方案文件,对此我有点陌生.
感谢
I am having the same issues, hopefully someone can help us out......how did you compile with Visual Studio? It didn't really come with a project/solution file and I'm kinda new to this.
thanks
这篇关于RTC API SDK 1.3附带的构建RTC示例的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!