代码改变世界

Windows SDK 7.1及DirectShow安装教程 Visual Studio 2010 SP1, Windows SDK 7.1 Install Order

2013-02-02 19:18 by Scott Guthrie Liu, 944 阅读, 0 推荐, 收藏, 编辑
摘要:http://ta.speot.is/2012/04/09/visual-studio-2010-sp1-windows-sdk-7-1-install-order/Visual Studio 2010 SP1, Windows SDK 7.1 InstallOrder安装顺序记录下来:安装VS2010(相信很多人都已经装好了, 我还安装了VS2012)检查所有C++ 2010 Runtime\Redistributable,如果版本高于10.0.30319(不包括),则卸载之。(一般原来安装了SP1会出现这种情况)安装Windows SDK 7.1 ( 如果出了"Microsoft 阅读全文

[转]安装Microsoft Windows SDK 7.1时出现的错误(附解决办法)

2013-02-02 19:11 by Scott Guthrie Liu, 551 阅读, 0 推荐, 收藏, 编辑
摘要:错误回放一:A problem occurred while installing selected Windows SDK components.Installation of the "Microsoft Windows SDK for Windows 7 Compilers for x86" product has reported the following error: 安装时发生严重错误Please attempt to resolve the problem and then start Windows SDK setup again. If you cont 阅读全文

xbmc-12.0稳定版代码初探 (2) —— XBMC_HOME

2013-01-31 14:04 by Scott Guthrie Liu, 347 阅读, 0 推荐, 收藏, 编辑
摘要:XBMC工程在debug时要设置XBMC_HOME的环境用于指定ffmpeg的Dll文件位置,语言等等xbmc/filesystem/SpecialProtocol.cpp 定义了一些如:CSpecialProtocol::SetXBMCPath();的函数xbmc\Application.cpp InitDirectoriesWin32(); ->CUtil::GetHomePath(xbmcPath);在Util.h看到static void GetHomePath(CStdString& strPath, const CStdString& strTarget = 阅读全文

xbmc-12.0稳定版代码初探 (1) —— 对ffmpeg的动态库调用

2013-01-31 13:31 by Scott Guthrie Liu, 377 阅读, 0 推荐, 收藏, 编辑
摘要:根据http://en.wikipedia.org/wiki/Xbox_Media_Center#ArchitectureSome of XBMC's ownlibrariesas well as many third-party libraries that XBMC depends on are written in theC programming-languagebut are mostly used with a C++ wrapper or loaded via XBMC's ownDLLloader.[9][30]FFmpeg主目录下主要有libavcodec、l 阅读全文

[转]用宏展开代码

2013-01-31 12:42 by Scott Guthrie Liu, 199 阅读, 0 推荐, 收藏, 编辑
摘要:http://www.cnblogs.com/li_shugan/archive/2010/12/18/1903884.html“宏”这个玩意儿可能会触动很多人抵触的情绪,我也一样:很讨厌它。通常我不会用它进行计算,只有在合适的时候(比如能让我少打一些字,或者能增强代码的可读)才会请出它来。好了,言归正转,现在我要将一个代码片段有规律地重复N次,更具体点,就是在定义一个模板的时候,参数列表会很长,但是这些参数的名字是很有规律地:依次为typename T1,typename T2,....typename TN:?123template<typenameT1,typenameT2,... 阅读全文

[转]预处理定义操作符Stringizing Operator (#) ,Charizing Operator (#@), Token-Pasting Operator (##)

2013-01-31 12:40 by Scott Guthrie Liu, 230 阅读, 0 推荐, 收藏, 编辑
摘要:【C++】预处理定义操作符Stringizing Operator (#) ,Charizing Operator (#@), Token-Pasting Operator (##)http://pppboy.blog.163.com/blog/static/30203796201011501033268/一、开始前几天看代码,居然出来了“##”这个东东,不知道做什么的,学C++这么长时间了,居然。。。(太不给面子了)本着“先行先赢”的实践学习精神和“为人民服务”的奉献精神,以网上找的很多资料为参考,美美地总结一下,激励自己,启发别人。二、Charizing Operator (#@)1.作用 阅读全文

XBMC 12.0 - Frodo 正式发布XBMC 12.0 - Frodo

2013-01-30 08:47 by Scott Guthrie Liu, 489 阅读, 0 推荐, 收藏, 编辑
摘要:Everyone at Team XBMC is proud and excited to announce the long awaited XBMC 12 “Frodo.” Features for XBMC 12 include:HD audio support, including DTS-MA and Dolby True-HD, via the newXBMC AudioEngine(OSX/iOS not yet available)Live TV andPVR supporth.264 10bit (akaHi10P) video software decoding for a 阅读全文

VS2012 下编译可以在 XP 上运行的条件

2013-01-27 10:25 by Scott Guthrie Liu, 1013 阅读, 0 推荐, 收藏, 编辑
摘要:http://blogs.msdn.com/b/vcblog/archive/2012/11/26/visual-studio-2012-update-1-now-available.aspxToday, Somaannouncedthe availability of theVisual Studio 2012 Update 1! You can install it either from thedownload page(see "Visual Studio 2012 Update 1" under the "Additional software" 阅读全文

XBMC 11.0 稳定版 Windows VS 2012 + VS2010 编译

2013-01-25 12:06 by Scott Guthrie Liu, 616 阅读, 0 推荐, 收藏, 编辑
摘要:1. 下载稳定版源码Source Code http://xbmc.org/download/Stable release sources are availablehere.XBMC 11.0 稳定版2. wiki HOW-TO:Compile XBMC for Windows 2.1Microsoft DirectX SDKJune 2010 versionhere安装,可能遇见的问题DirectX SDK (June 2010)安装遇到Error Code S1023 2.2Visual C++ 2010 如果先装了VS 2012 后装 VS 2010 及 sp1 没有问题 2.3... 阅读全文

[转]解决中文操作系统下编译XBMC的问题

2013-01-24 21:58 by Scott Guthrie Liu, 431 阅读, 0 推荐, 收藏, 编辑
摘要:在中文操作系统下编译XBMC会出现一些问题,有一些因为代码页问题造成的warning和error,由于开发团队一般是在英文系统下编译的,所以源代码文件默认都是英文代码页来解析的,一般情况下都没有问题,但对于某些显式写出来的英文代码页下的非ASCII字符,到中文环境下编译就出问题了,中文代码页会把这些字符以中文的编码去解读,有些和C语言字符串定界符双引号"在中文代码页下错误的合并解析导致编译语法错误,如果把这些源文件另存为utf8或者unicode也是不行的,因为要转换的字符串里本身必须要求是英文代码页的编码,所以强制另存utf8或者unicode的话,就会导致错误的乱码执行结果,比如 阅读全文
上一页 1 2 3 4 5 6 ··· 9 下一页