Building on Windows Using Visual Studio Express 2012 » History » Version 6
Nehal J Wani, 14 Aug 2014 11:18
1 | 2 | Nehal J Wani | h1. Building 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 | 4 | Nehal J Wani | |
5 | 2 | Nehal J Wani | # Open command prompt and type: |
6 | <pre> |
||
7 | mkdir C:\gnu #Can be some other location too. |
||
8 | cd C:\gnu |
||
9 | svn checkout svn://dev.exiv2.org/svn/trunk #Download latest exiv2 source code |
||
10 | </pre> |
||
11 | 4 | Nehal J Wani | |
12 | 2 | Nehal J Wani | # 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@ |
13 | 4 | Nehal J Wani | |
14 | 2 | Nehal J Wani | # 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@ |
15 | 3 | Nehal J Wani | !Windows_BuildDir.png! |
16 | 4 | Nehal J Wani | |
17 | 2 | Nehal J Wani | # Navigate to @C:\gnu\trunk\msvc2012@ and open the file @exiv2.sln@ in @Microsoft Visual Studio Express 2012@ |
18 | 4 | Nehal J Wani | !exiv2.sln.png! |
19 | 2 | Nehal J Wani | # Press @OK@ for all security warnings. #Believe me, exiv2's code is clean, we don't pose security threats :) |
20 | 4 | Nehal J Wani | |
21 | 2 | Nehal J Wani | # 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. |
22 | 5 | Nehal J Wani | !VisualStudio2012_Build.png! |
23 | 6 | Nehal J Wani | !VisualStudio2012_BuildConfig.png! |
24 | 4 | Nehal J Wani | |
25 | 2 | Nehal J Wani | # Go to @Build->Build Solution@. After the build is complete, you'll see in the output window: |
26 | <pre>========== Build: 32 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========</pre> |
||
27 | 4 | Nehal J Wani | |
28 | 2 | Nehal J Wani | # |