exiv2\msvc64\ReadMe.txt
-----------------------
Updated: 2011-02-25
This is work in progress.
However this is sufficiently robust to be in current use by a commercial licensee of exiv2.
1) Working
Build 32 bit and 64 bit builds of exiv2.exe (and libraries exiv2lib,expat,zlib,xmpsdk).
Builds with VS2005, 2008 and 2010.
Supports zlib-1.2.5 or zlib-1.2.3
setbuild.py "doctors" the project files for DevStudio Express
buildall.bat batch building script
runner.py build verification script (and binaries/code for depends{32|64}.exe)
2) TODO (in priority order)
a) Build sample/test applications (exifprint etc)
b) Use .vsprop files to hold "common" project settings
Assistance appreciated if you wish to become involved.
Robin Mills
http://clanmills.com
email: robin@clanmills.com
####
T A B L E o f C O N T E N T S
1 Build Instructions
1.1 Tools
1.2 Install zlib and expat sources.
1.3 Open exiv2\msvc64\exiv2.sln
1.4 What is build
1.5 Building with zlib1.2.3
1.6 Express editions of DevStudio (or 32 bit only builds, or 64 bit only builds)
2 Design
2.1 Architecture
2.2 Changing the version of expat/zlib/xmpsdk
2.3 Relationship with msvc build environment
3 Acknowledgment of prior work
3.1 Differences between inherited project and the exiv2 projects
4 Batch builds and tests
4.1 buildall.bat
4.2 runner.py
## End Table of Contents End ##
####
1 Build Instructions
1.1 Tools
This has been tested with the "Pro" versions of VS 2005/08/10
Express editions don't support 64 bit builds, however it is
possible to build 32 bit libraries with "Express".
See notes below about DevStudio Express and building only Win32 or x64 builds
1.2 Install zlib and expat sources.
I use the directory c:\gnu for this purpose, however the name isn't important.
c:\gnu>dir
Directory of c:\gnu
2010-12-05 10:05 <DIR> exiv2 <--- this tree
2010-12-02 21:06 <DIR> expat-2.0.1 <--- "vanilla" expat 2.0.1 source tree
2010-12-02 20:58 <DIR> zlib-1.2.5 <--- "vanilla" zlib 1.2.5 source tree
2010-12-02 20:58 <DIR> zlib-1.2.3 OPTIONAL <--- "vanilla" zlib 1.2.3 source tree
c:\gnu>
The URLs from which to obtain zlib and expat are documented in exiv2\msvc\README-MSVC.txt
expat-2.0.1 is available from http://voxel.dl.sourceforge.net/sourceforge/expat/expat-2.0.1.tar.gz
zlib-1.2.5 is available from http://zlib.net/zlib-1.2.5.tar.gz
1.3 Open exiv2\msvc64\exiv2.sln
Projects are zlib, expat, xmpsdk, exiv2lib, exiv2
Build/Batch build... Select All, Build
- 5 projects (zlib, expat, xmpsdk, exiv2lib, exiv2)
x 2 Platforms (x64|Win32)
x 4 Configurations (Debug|Release|DebugDLL|ReleaseDLL)
= 5x2x4 = 40 builds.
If you haven't installed the x64 compiler, don't select the 64 bit configurations!
You may have to hand-edit the vcproj and sln files to hide the 64 bit information.
See the notes about DevStudio Express for more information about this.
Build time is 15 minutes on a 2.2GHz Duo Core and consumes 1.0 gBytes of disk space.
1.4 What is built
The DLL builds use the DLL version of the C runtime libraries
The Debug|Release builds use static C runtime libraries
This is discussed in exiv2\msvc\README-MSVC.txt
1.5 Building with zlib1.2.3
By default, msvc64 builds with zlib-1.2.5
You can build with zlib1.2.3. To do this:
1) copy/y exiv2\msvc64\zlib123\zlib.vcproj exiv2\msvc64\zlib\zlib.vcproj
2) You will need the sources in a directory parallel to exiv2
c:\gnu>dir
Directory of c:\gnu
2010-12-05 10:05 <DIR> exiv2 <--- this tree
2010-12-02 21:06 <DIR> expat-2.0.1 <--- "vanilla" expat 2.0.1 source tree
2010-12-02 20:58 <DIR> zlib-1.2.5 <--- "vanilla" zlib 1.2.5 source tree
2010-12-02 20:58 <DIR> zlib-1.2.3 OPTIONAL <--- "vanilla" zlib 1.2.3 source tree
c:\gnu>
Please see exiv2\msvc\README-MSVC.txt for information about obtaining zlib-1.2.3
3) Alter the "AdditionalIncludeDirectories" in the following projects:
xmpsdk.vcproj
exiv2lib.vcproj
exiv2.vcproj
There are 8 occurances of "AdditionalIncludeDirectories" in each of the 3 projects.
If you have both 1.2.3 and 1.2.5 in your build tree, you'll probably "get away with" not
making this change - however this is due to good luck and you should really adjust the vcprojects.
1.6 Express editions of DevStudio (or 32 bit only builds, or 64 bit only builds)
Express does not provide a 64 bit compiler.
You can build 32 bit libraries with DevStudio Express (with a little effort)
Before loading the project, use the python script setbuild.py to select Win32:
c:\gnu\exiv2\msvc64>setbuild.py Win32
setbuild.py is none destructive. If you have a 64 bit compiler, you can:
1) Restore the build environment with: setbuild.py all
2) Select x64 bit builds only with: setbuild.py x64
If you don't have python available (it's a free download from ActiveState.com),
you can "doctor" to project files manually to remove mentiosn of X64 using an editor:
Cleanup your tree and edit the files.
cd exiv2\msvc64
call cleaner.bat
for /r %f in (*.vcproj) do notepad %f
for /r %f in (*.sln) do notepad %f
I personally don't recommend notepad for any purpose at all.
I use TextPad http://www.textpad.com/ Notepad++ is also good.
DevStudio Express 2010 does not have the "Batch Build" feature.
Select "exiv2" right-click "Set as Startup Project" and
Select Platform="Win32" Configuration="Debug|DebugDLL|Release|ReleaseDLL" Build.
Build the Configurations you need. Build time is about 2 minutes/Configuration.
To remove the "memory" of old configurations:
setbuild.py reset
2 Design
expat and zlib do not provide 64 bit builds for DevStudio,
so it has been necessary to create the build environments for exiv2.
However, we don't include the source code for zlib or expat - only the build environment.
You are expected to install the "vanilla" expat and zlib libraries
in a directory at the same level as exiv2.
I personally always build in the directory c:\gnu,
however the name/location/spaces of the build directory are all irrelevant,
it's only the relative position of expat-2.0.1 and zlib-1.2.5 that matter.
The names expat-2.0.1 and zlib-1.2.5 fixed (and used by the .vcproj files)
zlib and expat
exiv2\msvc64\zlib\zlib.{sln|vcproj} DevStudio files
..\..\..\zlib-1.2.5\ Source code
exiv2\msvc64\expat\expat.sln expat.vcproj DevStudio files
..\..\..\expat-2.0.1\ Source code
2.1 Architecture
There are directories for every component:
The libraries: zlib, expat, xmpsdk, exiv2lib
Applications: exiv2 (exifprint.exe and other sample apps will be added on request)
For each component, there are three build directories:
exiv2lib\build intermediate results
exiv2lib\Win32\{Debug|Release|DebugDLL|ReleaseDLL} 32 bit builds
exiv2lib\x64\{Debug|Release|DebugDLL|ReleaseDLL} 64 bit builds
Final builds and include directories (for export to "foreign" projects)
bin\{win32|x84}\Win32\{Debug|Release|DebugDLL|ReleaseDLL}
include
2.2 Changing the version of expat/zlib/xmpsdk
At the moment, zlib contains re
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Exiv2是一款用于图像元数据管理的C++库和命令行实用程序。它提供了快速容易读取和写入访问到EXIF,IPTC,XMP多种格式的图像元数据。Exiv2命令行程序用于打印Exif,IPTC,XMP元数据,包括:不同格式的Makernote标签,调整Exif时间戳,按照Exif时间戳重命名图像,提取和插入EXIF,IPTC,XMP元数据和JPEG注释,或删除缩略图从图像或特定类型的元数据。 Exiv2 0.22版本支持PostScript(EPS)图像,XMP元数据可以读取和写入来自于/到EPS图像,它还包括MSVC新的建设环境,64位构建和和一些小的错误修正。 软件信息:http://www.exiv2.org/ 下载地址:http://www.exiv2.org/exiv2-0.22.tar.gz
资源详情
资源评论
资源推荐
收起资源包目录
exiv2-0.22.tar.gz_c++ jpg IPTC_exif_exiv2_元数据_图像元 (410个子文件)
exiv2.1 15KB
__CrwMapping__ 3KB
__doctype__ 81B
__header2__ 1KB
__index1__ 394B
__index2__ 2KB
__index3__ 152B
__intro__ 5KB
__maintitle__ 49B
__makernotes__ 5KB
configure.ac 9KB
AUTHORS 71B
iptc.awk 2KB
tags.awk 1KB
xmp.awk 1KB
runner.bat 11KB
cleaner.bat 3KB
updater.bat 3KB
buildall.bat 1KB
cleaner.bat 94B
editor.bat 84B
d.bat 63B
buildForMac 2KB
localtime.c 36KB
getopt_win32.c 13KB
ChangeLog 52KB
ChangeLog 478B
configure 588KB
COPYING 18KB
COPYING-XMPSDK 1KB
tags.cpp 173KB
nikonmn.cpp 145KB
properties.cpp 133KB
minoltamn.cpp 101KB
tiffimage.cpp 97KB
olympusmn.cpp 88KB
canonmn.cpp 79KB
actions.cpp 68KB
XMPUtils.cpp 68KB
convert.cpp 68KB
tiffcomposite.cpp 64KB
XMPMeta.cpp 56KB
UnicodeConversions.cpp 56KB
tiffvisitor.cpp 54KB
epsimage.cpp 52KB
XMPCore_Impl.cpp 50KB
crwimage.cpp 49KB
pentaxmn.cpp 48KB
XMPMeta-Parse.cpp 48KB
XMPUtils-FileInfo.cpp 46KB
XMPMeta-Serialize.cpp 46KB
WXMPMeta.cpp 45KB
exiv2.cpp 45KB
ParseRDF.cpp 44KB
preview.cpp 41KB
XMPMeta-GetSet.cpp 39KB
datasets.cpp 38KB
jpgimage.cpp 38KB
makernote.cpp 34KB
basicio.cpp 33KB
sonymn.cpp 33KB
value.cpp 32KB
psdimage.cpp 31KB
organize.cpp 29KB
xmp.cpp 29KB
exif.cpp 29KB
XMPIterator.cpp 26KB
jp2image.cpp 25KB
pngchunk.cpp 25KB
panasonicmn.cpp 21KB
WXMPUtils.cpp 21KB
types.cpp 20KB
iptc.cpp 17KB
ExpatAdapter.cpp 16KB
helpers.cpp 16KB
pngimage.cpp 16KB
easyaccess.cpp 15KB
image.cpp 15KB
fujimn.cpp 13KB
XML_Node.cpp 12KB
exivsimple.cpp 12KB
pgfimage.cpp 11KB
rw2image.cpp 9KB
depends.cpp 9KB
error.cpp 9KB
orfimage.cpp 9KB
samsungmn.cpp 8KB
xmpsample.cpp 8KB
write2-test.cpp 8KB
sigmamn.cpp 7KB
MD5.cpp 7KB
MD5.cpp 7KB
cr2image.cpp 7KB
xmpsidecar.cpp 7KB
write-test.cpp 7KB
tiffmn-test.cpp 6KB
iotest.cpp 6KB
WXMPIterator.cpp 6KB
tgaimage.cpp 6KB
mrwimage.cpp 6KB
共 410 条
- 1
- 2
- 3
- 4
- 5
JaniceLu
- 粉丝: 93
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0