Actions
Building on Windows Using Visual Studio Express 2012 » History » Revision 14
« Previous |
Revision 14/23
(diff)
| Next »
Nehal J Wani, 14 Aug 2014 12:21
Building exiv2 on Windows Using Microsoft Visual Studio Express 2012
- Download
Microsoft Visual Studio Express 2012
from http://www.microsoft.com/en-in/download/details.aspx?id=34673
- Download
win32svn
from http://sourceforge.net/projects/win32svn/files/latest/download and install it in C:\Program Files (x86)\Subversion
- Open command prompt and type:
mkdir C:\gnu #Can be some other location too.
cd C:\gnu
svn checkout svn://dev.exiv2.org/svn/trunk #Download latest exiv2 source code
- Download
expat-2.1.0
from expat-http://sourceforge.net/projects/expat/files/expat/2.1.0/expat-2.1.0.tar.gz/download and extract it to C:\gnu
- Download
zlib-1.2.7
from http://sourceforge.net/projects/libpng/files/zlib/1.2.7/zlib-1.2.7.tar.gz/download and extract it to C:\gnu

- Navigate to
C:\gnu\trunk\msvc2012
and open the file exiv2.sln
in Microsoft Visual Studio Express 2012

- Press
OK
for all security warnings. #Believe me, exiv2's code is clean, we don't pose security threats :)

- Go to
Build->Configuration Manager
.

Tick build for all projects. You will have 8 combinations [{Debug|DebugDLL|Release|ReleaseDLL}|{x64|Win32}]
to choose from. Click close.

- Go to
Build->Build Solution
. After the build is complete, you'll see in the output window:
========== Build: 32 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
- All the built binaries are available in
C:\gnu\trunk\msvc2012\bin

- Install
cygwin
from https://cygwin.com/setup-x86_64.exe
- While selecting packages, make sure to select make and dos2unix.


- Open the
cygwin terminal
. Navigate to C:\gnu\trunk\tests
and run tests:

Microsoft Visual Studio Express 2012
from http://www.microsoft.com/en-in/download/details.aspx?id=34673win32svn
from http://sourceforge.net/projects/win32svn/files/latest/download and install it in C:\Program Files (x86)\Subversion
mkdir C:\gnu #Can be some other location too. cd C:\gnu svn checkout svn://dev.exiv2.org/svn/trunk #Download latest exiv2 source code
expat-2.1.0
from expat-http://sourceforge.net/projects/expat/files/expat/2.1.0/expat-2.1.0.tar.gz/download and extract it to C:\gnu
zlib-1.2.7
from http://sourceforge.net/projects/libpng/files/zlib/1.2.7/zlib-1.2.7.tar.gz/download and extract it to C:\gnu

C:\gnu\trunk\msvc2012
and open the file exiv2.sln
in Microsoft Visual Studio Express 2012

OK
for all security warnings. #Believe me, exiv2's code is clean, we don't pose security threats :)
Build->Configuration Manager
.
Tick build for all projects. You will have 8 combinations
[{Debug|DebugDLL|Release|ReleaseDLL}|{x64|Win32}]
to choose from. Click close.
Build->Build Solution
. After the build is complete, you'll see in the output window: ========== Build: 32 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
C:\gnu\trunk\msvc2012\bin

cygwin
from https://cygwin.com/setup-x86_64.exe

cygwin terminal
. Navigate to C:\gnu\trunk\tests
and run tests:
Updated by Nehal J Wani over 7 years ago · 14 revisions