Building on Windows Using Visual Studio Express 2012 » History » Version 12
Nehal J Wani, 14 Aug 2014 12:14
1 | 12 | Nehal J Wani | h1. Building exiv2 on Windows Using Microsoft Visual Studio Express 2012 |
---|---|---|---|
2 | 1 | Nehal J Wani | |
3 | 2 | Nehal J Wani | # Download @win32svn@ from http://sourceforge.net/projects/win32svn/files/latest/download and install it in @C:\Program Files (x86)\Subversion@ |
4 | # Open command prompt and type: |
||
5 | <pre> |
||
6 | mkdir C:\gnu #Can be some other location too. |
||
7 | cd C:\gnu |
||
8 | svn checkout svn://dev.exiv2.org/svn/trunk #Download latest exiv2 source code |
||
9 | </pre> |
||
10 | # 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@ |
||
11 | # 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@ |
||
12 | 3 | Nehal J Wani | !Windows_BuildDir.png! |
13 | 4 | Nehal J Wani | # Navigate to @C:\gnu\trunk\msvc2012@ and open the file @exiv2.sln@ in @Microsoft Visual Studio Express 2012@ |
14 | 1 | Nehal J Wani | !exiv2.sln.png! |
15 | 2 | Nehal J Wani | # Press @OK@ for all security warnings. #Believe me, exiv2's code is clean, we don't pose security threats :) |
16 | 9 | Nehal J Wani | !VisualStudioSecurityWarning.png! |
17 | 7 | Nehal J Wani | # Go to @Build->Configuration Manager@. |
18 | 2 | Nehal J Wani | !VisualStudio2012_Build.png! |
19 | 7 | Nehal J Wani | Tick build for all projects. You will have 8 combinations @[{Debug|DebugDLL|Release|ReleaseDLL}|{x64|Win32}]@ to choose from. Click close. |
20 | 4 | Nehal J Wani | !VisualStudio2012_BuildConfig.png! |
21 | 2 | Nehal J Wani | # Go to @Build->Build Solution@. After the build is complete, you'll see in the output window: |
22 | <pre>========== Build: 32 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========</pre> |
||
23 | 8 | Nehal J Wani | # Install @cygwin@ from https://cygwin.com/setup-x86_64.exe |
24 | 9 | Nehal J Wani | # While selecting packages, make sure to select make and dos2unix. |
25 | 10 | Nehal J Wani | !Cygwin_package_make.png! |
26 | !Cygwin_package_dos2unix.png! |
||
27 | 11 | Nehal J Wani | # Open the @cygwin terminal@. Navigate to @C:\gnu\trunk\tests@ and run tests: |
28 | !CygwinExiv2Tests.png! |