Project

General

Profile

Actions

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
      

Updated by Nehal J Wani over 7 years ago ยท 8 revisions