You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Andreas Huggel aa882a2e3b Fixed bug in modify command parser, updated tests. Fixes bug #421 21 years ago
doc Added changes for 0.6.1 21 years ago
msvc Added the ability to read and write to in-memory images. 21 years ago
src Added cast required to compile with MSVC 21 years ago
test Fixed write-test: Commented experimental Nikon3 code, copied write-test.out from branches/Exiv2-0_6_041212. 21 years ago
Doxyfile Updated for doxygen 1.3.9.1 21 years ago
Makefile Changed all target to not build doc 21 years ago
README.make Added config.h to installed headers, install to /usr/local/include/exiv2 by default. Fixes bug #410 21 years ago
config.h.in Replaced custom integer types with C99 types 21 years ago
config.mk.in Added config.h to installed headers, install to /usr/local/include/exiv2 by default. Fixes bug #410 21 years ago
config_win32.h Bumped version to 0.6 21 years ago
configure.ac Bumped version to 0.6 21 years ago
install-sh Added install-sh and mkinstalldirs 21 years ago
mkinstalldirs Added install-sh and mkinstalldirs 21 years ago

README.make

Configuration and Build Strategy                      12-Jul-2004, ahu
--------------------------------

Building and Installing
-----------------------

Exiv2 now comes with a rudimentary configuration script. Run the 
following commands from the top directory (containing this file) to 
build the library and utility:

     $ ./configure

     Check the generated config.mk and config.h files, particularly if
     you want to build a shared library with a compiler other than g++. 
     See caveat, below.

     $ make

     and, if you wish,

     $ make install 

     To install the library and header files, use 

     $ make install-lib

     There are corresponding uninstall and uninstall-lib targets.

Caveat
------

The configuration script does not support checks to test how to build
a shared library. If you are not using g++ on a GNU/Linux system, you
will need to check the generated config.mk file and manually set the
correct compilation flags. The related variables in config.mk are
CXXFLAGS_SHARED, LDFLAGS_SHARED and SHAREDLIB_SUFFIX.

MinGW and Mac OS X builds

The current build environment does not support building Exiv2 as a DLL
on MinGW or shared library on Mac OS X. When building on one of these
platforms, you need to unset SHARED_LIBS and set STATIC_LIBS in
config.mk (after running ./configure):

  # Define which libraries (shared and/or static) to build
  SHARED_LIBS = 
  STATIC_LIBS = 1

You should *not* need to modify any Makefile directly.

If your compiler uses a repository for object files of templates, try
setting CXX_REPOSITORY.

Developing with Exiv2
---------------------

To compile a module that includes an Exiv2 header file from the
default location, pass -DHAVE_CONFIG_H and -I/usr/local/include/exiv2
to the compiler.  Linking with the library requires -lexiv2 and
-L/usr/local/lib, for example (for a statically linked app):

g++ -DHAVE_CONFIG_H -I/usr/local/include/exiv2 -c yourapp.cpp -o yourapp.o
g++ yourapp.o -lexiv2 -L/usr/local/lib -o yourapp