• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • JavaScript
  • ASP.NET
  • PHP
  • 正则表达式
  • AJAX
  • JSP
  • ASP
  • Flex
  • XML
  • 编程技巧
  • Android
  • swift
  • C#教程
  • vb
  • vb.net
  • C语言
  • Java
  • Delphi
  • 易语言
  • vc/mfc
  • 嵌入式开发
  • 游戏开发
  • ios
  • 编程问答
  • 汇编语言
  • 微信小程序
  • 数据结构
  • OpenGL
  • 架构设计
  • qt
  • 微信公众号
您的位置:首页 > 程序设计 >vc/mfc > 困扰我很久的问题:如何编译SDK中的例子

困扰我很久的问题:如何编译SDK中的例子

作者:佚名 字体:[增加 减小] 来源:互联网 时间:2017-06-04

佚名通过本文主要向大家介绍了困扰人类的三大问题,孩子的教育问题困扰,教学中的问题和困扰,困扰大学生的问题,大学生最困扰的问题等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: 困扰我很久的问题:如何编译SDK中的例子
描述:

我从Microsoft下载了一个开发包,即RTC Client API V1.2 SDK. 里面有几个例子。每个例子里只有 .h、.cpp文件,没有工程文件,但是有一个makefile文件。我试图编译例子,但是试了很多次,都不行。下面是SDK 的帮助文档里说的步骤,请过目。
How to compile and run the RTC Client API v1.2 samples
 
1. Install the Windows platform SDK
In order to compile and run the sample programs, you must have the SDK installed on your computer, or have Visual Studio C++ .NET installed. You can download the SDK from http://www.microsoft.com/msdownload/platformsdk/sdkupdate/default.htm 
   Follow Core SDK à Install this SDK à Continue à Accept, and then install the
            SDK.
            Click Install SDK with Visual Studio for more information.
       2.Run RtcApiSDK.msi 
Verify that “%ProgramFiles%\RTC Client API v1.2 SDK” directory is created 
3 Run% ProgramFiles%\RTC Client API v1.2 SDK\Installation\RtcApiSetup.exe.
This Windows Installer setup package installs RTC Client API v1.2 on a machine that is used for development. It installs the merge module onto the computer, and allows the Side-by-Side RTC Client API v1.2 DLLs to be used on the machine.
Installing the package is essential to obtain and use the samples included within the RtcApiSdk.msi.
4.If you are using Visual Studio,  Redirect INCLUDE and LIB path 
Make sure the SDK include directory is listed before the Visual C++ include directory.
        IMPORTANT: Add %ProgramFiles%\RTC Client API v1.2 SDK\SDK\inc before all other directories.
Make sure the SDK lib directory is listed before the Visual C++ lib directory. For command-line builds, check the LIB environment variable using the SET command. For builds within Visual Studio, you must update the directory settings. 
5.To compile samples in an SDK window, click Start Button à Programs à Microsoft Platform SDK à Open build environment window à XP 32 build environment; then type NMake in the "Microsoft Platform SDK Windows XP 32-bit" command window, 
 
6. Two samples, RtcIncoming and RtcOutgoing, use an internal resource manifest (the recommended way of using a manifest file).
Other samples use external manifest files. For those samples, you must copy the manifest file to the same directory as the .EXE file.
7. If you get errors while following the above instructions, please refer to the Troubleshooting section. 
我严格按照这些步骤试了,还是不能把例子跑起来。
我有几个问题不明白:
a. 是否必须在Windows platform SDK的命令窗口中,用nmake命令运行makefile,在VisualStudio.net2003中也可以把?我在命令窗口中用nmake /f makefile 命令时,总提示:
 
 'cl' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
NMAKE : fatal error U1077: “cl” : 返回代码“0x1”
Stop.
b. 如果使用VS.net2003,上面的步骤4 If you are using Visual Studio,  Redirect INCLUDE and LIB path ,也没有完全搞清楚。Make sure the SDK lib directory is listed before the Visual C++ lib directory.不知道此处的SDK是指Windows platform SDK还是指RTC Client API v1.2 SDK?
c. 建什么样的工程。我尝试过空白项目,控制台项目,等等,都不行。可能是我不会设置那些编译环境什么的。
d. 我在VC6.0中打开makefile文件,结果只打开了它本身,没有自动产生什么工程文件。
e. 上面的废话归纳起来就是,这个开发包是肯定能用的,里面的makefile也是有作用的,到底如何编译这些例子。
 我刚参加工作,这个问题困扰我很久。渴望得到高手的指点。
如果你需要的话,我可以把RTC Client API V1.2 SDK 发给你。
我的QQ:6232061  时刻在线等待!!


分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • AtlCOmwizard加入对话框处理问题,已困扰多日
  • 问个困扰一个月的问题!!!让Vista弄崩溃了。。。
  • 困扰我半天的问题,谁帮我看看啊
  • 困扰我好几天的问题!特急!!!再线等待!分不够在贴
  • 一個間單的卻一直困擾的問題求助
  • 指针问题的困扰
  • 困扰我许久的com多线程问题,请各位帮帮忙,
  • 一直困扰我的问题,希望各位赐教
  • 困扰我多年的问题
  • 一个困扰了我很久的问题关于音频文件的播放

相关文章

  • 2017-06-05 在dllLink中出现的问题
  • 2017-06-05 如何通过控件HWND获取来控件Index
  • 2017-06-04 在idl文件中定义接口,但是我想用自己定义的类型怎么做,比如函数中有个参数的类型是结构,或者是一个自定义的类?
  • 2017-06-05 如何给Edit控件加键盘事件
  • 2017-06-05 版主别删Delphi调用COM传递OleVariant参数,提示类型不匹配!!
  • 2017-06-04 求助:关于错误号0x800300ff
  • 2017-06-04 vc中使用mschart画散点图
  • 2017-06-05 关于传值和传引用的问题!!!
  • 2017-06-04 [请教]COM和注册表的关系
  • 2017-06-04 自己做的Activex控件如何同外部程序交换数据??

文章分类

  • JavaScript
  • ASP.NET
  • PHP
  • 正则表达式
  • AJAX
  • JSP
  • ASP
  • Flex
  • XML
  • 编程技巧
  • Android
  • swift
  • C#教程
  • vb
  • vb.net
  • C语言
  • Java
  • Delphi
  • 易语言
  • vc/mfc
  • 嵌入式开发
  • 游戏开发
  • ios
  • 编程问答
  • 汇编语言
  • 微信小程序
  • 数据结构
  • OpenGL
  • 架构设计
  • qt
  • 微信公众号

最近更新的内容

    • 多线程访问数据库一问
    • 如何使编程实现2个MFC应用软件之前数据的动态交换(DDE)?
    • 多次调用InitializeCriticalSection会有什么情况
    • excel导出数据到程序中出现的问题,请赐教,分多多~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • 在VCNET2003中,用ATL写Control(控件),如何使用_Module?
    • win32窗口程序的主线程从什么位置开始执行?
    • directshow画面显示问题
    • 我想从主线程里给工作线程发消息,可工作线程却怎么接受不到
    • Js对象传递给ActiveX
    • ATL写的ActiveX控件,在CRichEditCtrl容器里怎样控制ActiveX大小?

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有