00001 This Templates directory contains template files of an EO project and
00002 a script createEOproject.sh to create a complete new EO project.
00003
00004 The template requires a complete installation of EO, that is, you must
00005 have run "make install" in the build-directory.
00006
00007 In particular, the C++ compiler must also know how to find the EO
00008 include files and the linker must find the EO libraries. Most
00009 probably, that means that you have to set the variables
00010 CPLUS_INCLUDE_PATH and LIBRARY_PATH, i.e. for a standard installation
00011 and using tcsh:
00012 setenv CPLUS_INCLUDE_PATH /usr/local/include/eo:"$CPLUS_INCLUDE_PATH"
00013 setenv LIBRARY_PATH /usr/local/lib:"$LIBRARY_PATH"
00014
00015 When running bash, use this:
00016 export CPLUS_INCLUDE_PATH=/usr/local/include/eo:"$CPLUS_INCLUDE_PATH"
00017 export LIBRARY_PATH=/usr/local/lib:"$LIBRARY_PATH"
00018
00019
00020 You can freely move the created project around. However, whenever you
00021 change the location of the source- or build-directories, you need to
00022 run
00023 touch configure.ac && autoreconf
00024 in the source-directory and
00025 make
00026 in the build-directory (which might or might not be the same for you).
00027
00028
00029 When you add additional source files to the project, simply add them
00030 to the <myproj>_SOURCES variable in src/Makefile.am. Header files
00031 should be added to noinst_HEADERS.
00032
00033
00034 See README.manual for more details.