dng_SDK build win7

搞了两三天dng_sdk 程序,总算是搞定了,主要是validate程序,我用的是win7系统,VS2010,x64编译平台,方法如下:

1.dng_sdk下载网址:http://helpx.adobe.com/photoshop/digital-negative.html, DNG SDK win,解压缩后dng_sdk、JPEG_ReadMe.txt、XMP_ReadMe.txt三个文件;

2.按JPEG_ReadMe.txt文件里面的说明下载解压,重命名文件,与dng_sdk做兄弟文件;

3.按XMP_ReadMe.txt说明下载解压重命名文件,同样与dng_sdk做兄弟文件,编译方法参照上一篇博客文章,在上一篇博客文件编译的基础上需要编译XMPCore和XMPFiles两个工程的静态和动态库:

XMPCore:xmp-sdk  XMPCore build vc10 dynamic windows_x64 打开XMPCore64.sln 工程编译会在../xmp_sdk\public\libraries\windows_x64\Debug中生成相应.dll和.lib库

XMPFiles: xmp_sdk\XMPFiles\build\vc10\dynamic\windows_x64打开XMPFiles64.sln工程编译也会在../xmp_sdk\public\libraries\windows_x64\Debug中生成相应.dll和.lib库

4.至此准备工作做完了,打开\dng_sdk\projects\win\dng_sdk.sln工程,会出现Microsoft Visual Studio提示的未能正确加载解决方案中的一个或多个项目。有关详细信息,请参见“输出”窗口,直接确定就行了,输出窗口会出现D:\DNGcode\xmp_sdk\build\vc\XMPFiles.vcxproj : error  : 未能找到项目“D:\DNGcode\xmp_sdk\build\vc\XMPFiles.vcxproj”。

D:\DNGcode\xmp_sdk\build\vc\XMPFiles.vcxproj : error  : 未能找到项目“D:\DNGcode\xmp_sdk\build\vc\XMPCore.vcxproj”。两个错误,本工程只编译validate,不用管它即可,编译程序,会出现如下错误:

5.缺少JCONFIG.H文件,在网站http://pan.baidu.com/share/link?shareid=1968959567&uk=858054856上下载添加在重新命名的libjpeg文件中即可

6.继续编译出现的错误为:

2>dng_image_writer.obj : error LNK2019: 无法解析的外部符号 compress2,该符号在函数 "protected: virtual void __cdecl dng_image_writer::WriteData(class dng_host &,class dng_ifd const &,class dng_stream &,class dng_pixel_buffer &,class AutoPtr<class dng_memory_block> &)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected][email protected]@@@@Z)
中被引用

2>dng_read_image.obj : error LNK2019: 无法解析的外部符号 uncompress,该符号在函数 "protected: virtual void __cdecl dng_read_image::ReadTile(class dng_host &,class dng_ifd const &,class dng_stream &,class dng_image &,class dng_rect const &,unsigned int,unsigned int,unsigned
int,class AutoPtr<class dng_memory_block> &,class AutoPtr<class dng_memory_block> &,class AutoPtr<class dng_memory_block> &)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected][email protected]@@@[email protected])
中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_GetVersionInfo_1,该符号在函数 "public: static void __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::GetVersionInfo(struct XMP_VersionInfo *)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected]@@Z)
中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_Initialize_2,该符号在函数 "public: static bool __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::Initialize(unsigned long,char const *,char const *)"
([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected]) 中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_Initialize_1,该符号在函数 "public: static bool __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::Initialize(unsigned long)" ([email protected][email protected]?$b[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected])
中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_Terminate_1,该符号在函数 "public: static void __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::Terminate(void)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@SAXXZ)
中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_IncrementRefCount_1,该符号在函数 "public: __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > >(struct __XMPFiles__ *)" ([email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected][email protected]@@Z) 中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_CTor_1,该符号在函数 "struct __XMPFiles__ * __cdecl Default_CTor(void)" ([email protected]@[email protected]@XZ) 中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_DecrementRefCount_1,该符号在函数 "public: virtual __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::~TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > >(void)" ([email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected]) 中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_GetFormatInfo_1,该符号在函数 "public: static bool __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::GetFormatInfo(unsigned long,unsigned long *)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected])
中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_CheckFileFormat_1,该符号在函数 "public: static unsigned long __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::CheckFileFormat(char const *)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected])
中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_CheckPackageFormat_1,该符号在函数 "public: static unsigned long __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::CheckPackageFormat(char const *)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected])
中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_GetFileModDate_1,该符号在函数 "public: static bool __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::GetFileModDate(char const *,struct XMP_DateTime
*,unsigned long *,unsigned long)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected]@[email protected]) 中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_GetAssociatedResources_1,该符号在函数 "public: static bool __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::GetAssociatedResources(char const *,class
std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > *,unsigned long,unsigned long)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@[email protected]@[email protected]@[email protected])
中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_IsMetadataWritable_1,该符号在函数 "public: static bool __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::IsMetadataWritable(char const *,bool *,unsigned
long,unsigned long)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected]) 中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_OpenFile_2,该符号在函数 "public: bool __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::OpenFile(class XMP_IO *,unsigned long,unsigned long)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected]@[email protected])
中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_OpenFile_1,该符号在函数 "public: bool __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::OpenFile(char const *,unsigned long,unsigned long)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected])
中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_CloseFile_1,该符号在函数 "public: void __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::CloseFile(unsigned long)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected])
中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_GetFileInfo_1,该符号在函数 "public: bool __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::GetFileInfo(class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > *,unsigned long *,unsigned long *,unsigned long *)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]) 中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_SetAbortProc_1,该符号在函数 "public: void __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SetAbortProc(bool (__cdecl*)(void *),void *)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected]@Z)
中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_GetXMP_1,该符号在函数 "public: bool __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::GetXMP(class TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > > *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *,struct XMP_PacketInfo *)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@PEAUXMP_[email protected]@@Z)
中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_PutXMP_1,该符号在函数 "public: void __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::PutXMP(char const *,unsigned long)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected])
中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_CanPutXMP_1,该符号在函数 "public: bool __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::CanPutXMP(char const *,unsigned long)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected])
中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_SetDefaultProgressCallback_1,该符号在函数 "public: static void __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SetDefaultProgressCallback(bool (__cdecl*)(void
*,float,float,float),void *,float,bool)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected][email protected]) 中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_SetProgressCallback_1,该符号在函数 "public: void __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SetProgressCallback(bool (__cdecl*)(void *,float,float,float),void
*,float,bool)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected][email protected]) 中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_SetDefaultErrorCallback_1,该符号在函数 "public: static void __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SetDefaultErrorCallback(bool (__cdecl*)(void
*,char const *,unsigned char,long,char const *),void *,unsigned long)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected]@Z) 中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_SetErrorCallback_1,该符号在函数 "public: void __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SetErrorCallback(bool (__cdecl*)(void *,char const *,unsigned
char,long,char const *),void *,unsigned long)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected]@Z) 中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_ResetErrorCallbackLimit_1,该符号在函数 "public: void __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::ResetErrorCallbackLimit(unsigned long)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected])
中被引用

2>..\..\..\targets\win\debug64\dng_validate.exe : fatal error LNK1120: 28 个无法解析的外部命令

原因是validate工程没有添加XMPCore和XMPFiles两个工程的静态库,添加方法如下dng_validate工程右键-属性-配置属性-链接器-输入-附加依赖项编辑粘贴D:\DNGcode\xmp_sdk\public\libraries\windows_x64\Debug\XMPCore.lib

7. D:\DNGcode\xmp_sdk\public\libraries\windows_x64\Debug\XMPFiles.lib两个lib库确定-应用-使可写-确定,编译之后会遇到下面的错误

1>  CMake does not need to re-run because D:\DNGcode\xmp_sdk\XMPCore\build\vc10\dynamic\windows_x64\CMakeFiles\generate.stamp is up-to-date.

1>  XMPCore.vcxproj -> D:\DNGcode\xmp_sdk\public\libraries\windows_x64\Debug\XMPCore.dll

2>------ 已启动生成: 项目: dng_validate, 配置: Validate Debug x64 ------

2>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1422,5): warning : The referenced project ‘..\..\..\..\xmp_sdk\build\vc\XMPFiles.vcxproj‘ does not exist.

2>dng_image_writer.obj : error LNK2019: 无法解析的外部符号 compress2,该符号在函数 "protected: virtual void __cdecl dng_image_writer::WriteData(class dng_host &,class dng_ifd const &,class dng_stream &,class dng_pixel_buffer &,class AutoPtr<class dng_memory_block> &)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected][email protected]@@@@Z)
中被引用

2>dng_read_image.obj : error LNK2019: 无法解析的外部符号 uncompress,该符号在函数 "protected: virtual void __cdecl dng_read_image::ReadTile(class dng_host &,class dng_ifd const &,class dng_stream &,class dng_image &,class dng_rect const &,unsigned int,unsigned int,unsigned
int,class AutoPtr<class dng_memory_block> &,class AutoPtr<class dng_memory_block> &,class AutoPtr<class dng_memory_block> &)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected][email protected]@@@[email protected])
中被引用

2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_OpenFile_2,该符号在函数 "public: bool __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::OpenFile(class XMP_IO *,unsigned long,unsigned long)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected]@[email protected])
中被引用

2>..\..\..\targets\win\debug64\dng_validate.exe : fatal error LNK1120: 3 个无法解析的外部命令

原因是没有把lib的文件夹的文件加载到工程,解决方法dng_validate工程右键-添加-新建筛选器(即新建个文件夹)我命名为zlib,将zlib文件中的文件加载进来即可zlib右键-添加-现有项-路径\third-party\zlib-全选-添加

8.添加完文件后继续编译会出现:2>dng_xmp_sdk.obj : error LNK2019: 无法解析的外部符号 WXMPFiles_OpenFile_2,该符号在函数 "public: bool __cdecl TXMPFiles<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::OpenFile(class XMP_IO *,unsigned long,unsigned
long)" ([email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@@[email protected]@[email protected]) 中被引用

2>..\..\..\targets\win\debug64\dng_validate.exe : fatal error LNK1120: 1 个无法解析的外部命令

这个错误,解决方法为打开dng-sdk文件夹里面的dng_xmp_sdk.cpp文件,找到文件的第49行,并注销,如://#define XMP_StaticBuild 1

9.解决完上面的错误编译我这就没有问题了,运行出现dng_validate.exe-系统错误 无法启动此程序,因为计算机中丢失XMPcore.dll。尝试重新安装该程序以解决此问题,解决方法dng—valate工程右键-属性-配置属性-常规-输出目录找到此工程生成exe文件的路径,本工程的为..\..\..\targets\win\debug64\,打开文件夹并将D:\DNGcode\xmp_sdk\public\libraries\windows_x64\Debug中的XMPCore.dll和XMPFiles.dll两个dll文件粘贴到此

再编译运行就正确了。

时间: 2024-08-03 14:57:23

dng_SDK build win7的相关文章

【AllJoyn框架-09】AllJoyn 局域网文件传输(修改官方版本)

下载并编译完alljoyn-14.06源码后,在\build\win7\x86\debug\dist\cpp\samples下生成了了些alljoyn实例,其中就有一个与文件传输有关的FileTransfer.但也许是官方版本有bug(我也确实看到了bug),运行时总是异常,客户端无法收到文件.于是就有了这个修改版,可以实现文件传输了.并且传输方向我更换了,客户端向服务端循环发送文件,服务端等待接收即可.下面是核心实现过程. 客户端 1.创建一接收图片信号,附带两个参数,文件名和字节数组 fil

How to Build MySQL from Source Code on Windows & compile MySQL on win7+vs2010

Not counting obtaining the source code, and once you have the prerequisites satisfied, [Windows] users can build from source code in 5 easy steps. Prerequisites – Install & ensure they are in the $PATH: CMake <-- Download C++ compiler <-- Visual

CAESAR.II.2014.v7.00.00.2800.build.140416.WinALL-ISO 1DVD(最新完全破解版,适用于Win7 32位和64位系统。管道应力分析软件)

CAESAR Ⅱ 2011 v5.30.2  WinXP_7-ISO 1DVD CAESAR Ⅱ 2011 v5.30.1-ISO 1DVD(最新完全破解版.管道应力分析软件) CAESAR Ⅱ 5.20-ISO 1DVD(完全破解版.管道应力分析软件) CAESAR Ⅱ 2013 R1 培训教程 1CD CAESAR Ⅱ 简体中文资料(用户指南1-9章)Intergraph PVElite 2015 SP1 v17.00.01 1CD(压力容器分析设计软件)PVElite v4.3 用户手册

win7+vs2010+opencv2.4.6配置

记录一下配置,省的以后还到处去找: (一) 添加环境变量://第一次使用opencv的话需要加环境变量:" %opencv%\build\x86\vc10\bin"和"%opencv%\build\common\tbb\ia32\vc10" 注:%opencv% 用D:\opencv2.4替换:我的opencv是安装在"D:\opencv2.4"目录下的: (二) 配置工程对opencv的依赖: VC++目录\ 1)包含目录D:\opencv2.

源廓Pulsonix 8.5 Build 5905 PCB电路板设计工具

Pulsonix 8.5 Build 5905 PCB电路板设计工具 Pulsonix 7.5 1CD Pulsonix 8.5 Build 5905除了修复了一些已知的一些错误,最新版本包含Report Maker功能的几个新 增功能,其中包括帮助最终检查过程的新命令: "PCB面板起源"用于报告在PCB设计中的位置,用于将其定位在面板内. "Line Width",电路板轮廓.面板轮廓.切口或段的"线宽". "Board Centr

win7平台下React-Native Android:Unable to upload some APKs

一.问题描述 根据网络上的Win7平台下React-native配置教程配置好开发环境的过程中,在艰难进行到react-native run-android这一步时,发现一直出现错误,截图如下: 错误的说明信息表明是 Ubable to upload some APKs.经过网上搜索最后在这里(http://www.hacksparrow.com/react-native-android-unable-to-upload-some-apks.html)得到了一个比较全面的答案,我简单地翻译一下原

XP,32/64位Win7,32/64位Win10系统【电脑城版】

随着Windows 10Build 10074 Insider Preview版发布,有理由相信,Win10离最终RTM阶段已经不远了.看来稍早前传闻的合作伙伴透露微软将在7月底正式发布Win10的消息越来越像回事了.Windows 10 Build 10074主要新特性:•用户体验持续改进进一步优化对高DPI显示设备和多显示设备的支持:•Aero Glass特效回归基于众多WindowsInsider项目参与者反馈希望重新看到AeroGlass特效(即半透明效果),微软在10074版中尝试加入

各种Windows下面的gcc native build环境的比较

http://i.rexdf.org/blog/2015/04/04/fa-xian-ge-xin-huan-jing-msys2/ 最近注意到了一个新的Windows上面的模拟Linux的项目.一般来说两大主流阵营MingW与Cygwin,这两个思路各不相同.相对来说 MingW性能比较好,尽可能用WinAPI替代实现.Cygwin则是添加了一个层,利用很多dll来模拟Linux的那些syscall(典型的如 fork).所以cygwin程序一般都是需要有cygwin的dll在path里面才可

win7 jenkins搭建.Net项目自动构建

前提:操作系统win7, 确保需要的.NET Framework已经安装 1. 安装插件 Jenkins--系统管理局--管理插件--可选插件,搜索MSBuild Plugin并安装:重启tomcat,重新打开Jenkins,查看已安装,如下: 2.MSbuild插件设置 系统管理--系统设置,如下: 3.新建job 4.job设置,并构建. MSBuilder Version 为之前配置的 "Version 4.0" MSBuild Build File 是项目文件或者工程文件的名称