从peach源码生成工程文件
来源:互联网 发布:泰捷网络电视机顶盒 编辑:程序博客网 时间:2024/06/16 21:47
编译过程中几个软件
- ‘msvc’
Microsoft Visual C++ (often abbreviated as MSVC or VC++) is an integrated development environment (IDE) product from Microsoft for the C, C++, and C++/CLI programming languages.MSVC is proprietary software; it was originally a standalone product but later became a part of Visual Studio and made available in both trialware and freeware forms. It features tools for developing and debugging C++ code, especially code written for Windows API, DirectX and .NET Framework.
- MSVC++ 14.0 _MSC_VER == 1900 (Visual Studio 2015)- MSVC++ 12.0 _MSC_VER == 1800 (Visual Studio 2013)- MSVC++ 11.0 _MSC_VER == 1700 (Visual Studio 2012)- MSVC++ 10.0 _MSC_VER == 1600 (Visual Studio 2010)- MSVC++ 9.0 _MSC_VER == 1500 (Visual Studio 2008)
- ‘tools.msbuild’
Microsoft Build Tools (also known as MSBuild and Microsoft Build Engine) is a build tool set for managed code as well as native C++ code and was part of .NET Framework. Visual Studio depends on MSBuild, but MSBuild does not depend on Visual Studio.
MSBuild is a build tool that helps automate the process of creating a software product, including compiling the source code, packaging, testing, deployment and creating documentations. With MSBuild, it is possible to build Visual Studio projects and solutions without the Visual Studio IDE installed. MSBuild is available at no cost.[3] MSBuild was previously bundled with .NET Framework; starting with Visual Studio 2013, however, it is bundled with Visual Studio instead.[4] MSBuild is a functional replacement for the nmake utility, the latter of which remains in use in projects that originated in older Visual Studio releases.
- ‘tools.wix’
The Windows Installer XML Toolset (WiX, pronounced “wicks”), is a free software toolset that builds Windows Installer packages from XML code. It consists of a command-line environment that developers may integrate into their build processes to build MSI and MSM packages. WiX was the first Microsoft project to be released under an open-source license,[2] the Common Public License.
WiX Toolset
- Waf Build Tool
是基于python的开源编译系统
问题
peach的团队提供了源码,使用waf 来build源码的,所以找不到.sln和vcproj文件,没法用vs 2010打开工程文件。
参考链接
方法:
waf msvs2012 或者 waf msvs2010
来生成visual studio 工程文件。
用waf来编译源码命令。
waf configurewaf buildwaf install
安装过程中可能问题
注意:
遇到问题时这个命令很有用waf configure -v
,可以打印出详细出错信息。
情况一
本来是打算在主机上安装,主机上安装的是vs 2015,然后各种编译失败!出现的问题:
runner 'C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\BIN\\amd64\\CL.exe', '/help'
最后没能解决,在虚拟机下从新搭建环境,安装了vs 2010, sp1,wix toolset , .netframe work 4; 然后顺利通过。
看到讨论区中有人在vs2012、vs 2013上安装。
情况二 Could not verify version of cl.exe
到相应目录下去运行一下cl.exe,可以得到相应的版本号。
然后在
peach-3.1.124-source\build\config
中找到win.py,修改内部
conf.ensure_version('CXX', ['16.00.40219.01', '17.00.61030', '18.00.21005.1', '18.00.31101'])
,将刚才运行cl.exe得到的版本加进去。
情况三
在解决问题的过程中发现有人讲peach放在了中文目录下,可能会出现问题,解决方法:一种:换为英文目录;二种:修改配置文件,参考链接
- 从peach源码生成工程文件
- peach
- 从Android源码编译生成的so文件查找源码
- 从android源码中生成系统签名文件
- 从android源码中生成系统签名文件
- Eclipse实现hibernate反向工程:从数据库逆向生成实体类和hbm文件
- WebRTC源码下载以及工程文件生成过程中小白的我遇到的问题-20140303
- qmake生成vc2010工程文件
- 使用 gyp 生成工程文件
- java工程生成jar文件
- android SDK生成工程文件
- qmake生成vs2013工程文件
- Android源码工程根目录文件
- MyEclipse配置Hibernate/MyEclipse反向工程从数据表生成POJO和对象关系映射文件(以及HibernateSessionFactory)
- 从HTML文件生成PDF
- 从hbm文件生成ddl
- 工程没有生成lib文件,只生成了dll文件
- c#生成PDF文件源码
- JAVA DAY3
- Maven + Eclipse + Android 环境搭建
- 【面试笔试算法】牛客网一站通Offer编程题2016.4.19
- listview 点击 item 字体变颜色
- Android中Activity的生命周期
- 从peach源码生成工程文件
- mysqli 获取查询结果集信息属性、方法
- c++ 实现顺序栈类(初始化,入栈,退栈。读栈顶元素以及顺序输出栈顶指针与栈中的元素<<计算机软件技术基础 徐士良>>
- HDU 4821 (哈希)
- Android事件机制详细解读
- MySQL执行计划理解与实践
- array_shift.php
- 【通过HttpListener实现简单的Http服务】
- [iOS开发]日常需求二:iOS项目中使用iOS-WebP