Building on Windows Using Cygwin

*Last revision on which this method was tested: r3288
*Operating Systems on which this method was tested: Windows7 Professional and Home-Premium 64bit

  1. Install cygwin (64-bit) or cygwin (32-bit)
  2. Choose the following packages: autoconf, clang (optional), cmake, dos2unix, gcc, getext-devel, libexpat-devel, make, pkg-config, subversion, zlib-devel










  3. Install the selected packages
  4. Open Cygwin Terminal
    1. Download latest source code
      svn checkout svn://dev.exiv2.org/svn/trunk
      
    2. Build using Automake
      cd trunk
      make config
      ./configure #if you are using clang, then do: ./configure CC=clang CXX=clang++
      make
      make install
      export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
      make samples
      make tests
      
    3. Build using CMake
      cd trunk
      make config
      mkdir build
      cd build
      cmake ../ #if you are using clang, then do: CC=clang CXX=clang++ cmake .. 
      make
      make install
      make tests
      

exiv2_cygwin_libexpat-devel.png (948 Bytes) Nehal J Wani, 14 Aug 2014 13:27

exiv2_cygwin_make.png (871 Bytes) Nehal J Wani, 14 Aug 2014 13:27

exiv2_cygwin_pkg-config.png (845 Bytes) Nehal J Wani, 14 Aug 2014 13:27

exiv2_cygwin_subversion.png (786 Bytes) Nehal J Wani, 14 Aug 2014 13:27

exiv2_cygwin_autoconf.png (809 Bytes) Nehal J Wani, 14 Aug 2014 13:27

exiv2_cygwin_clang.png (912 Bytes) Nehal J Wani, 14 Aug 2014 13:27

exiv2_cygwin_cmake.png (936 Bytes) Nehal J Wani, 14 Aug 2014 13:27

exiv2_cygwin_gcc.png (877 Bytes) Nehal J Wani, 14 Aug 2014 13:27

exiv2_cygwin_zlib-devel.png (847 Bytes) Nehal J Wani, 14 Aug 2014 13:27

exiv2_cygwin_getext-devel.png (980 Bytes) Nehal J Wani, 14 Aug 2014 13:27

exiv2_cygwin_pkgs_installation.png (8.87 KB) Nehal J Wani, 14 Aug 2014 13:27

exiv2_cygwin_dos2unix.png (780 Bytes) Nehal J Wani, 14 Aug 2014 13:43

Redmine Appliance - Powered by TurnKey Linux