Compiling xrit2pic version 2020.1c, for Linux and Windows Compilation is possible for both Linux and Windows. Also for Mac, but that is not tested by me. Furthermore, it is possible to compile for gui (gtk) or for command line (no gtk needed). The gui version is also suitable for command line processing, but then you still need to have gtk installed. There is no need to alter any files; the 4 compile options (gui/command line, and Linux/Windows) can be choosen by means of environment variables in combination with the -e option of make. --------------------------------------------------------------------------- Needed files: 1. xrit2pic__src.zip: the source files in this archive 2. jpeg and wavelet libraries, pre-compiled present; see: http://www.alblas.demon.nl/wsat/software/soft_msg.html#download2 . Linux: decompr_k2.6.tar.gz . windows: setup_decompr.exe For jpeg source files are also avalable: jpeg812_src.zip. For Wavelet source files you need to contact Eumetsat. --------------------------------------------------------------------------- Needed tools: Compiler environment: for Linux: gcc/g++ gtk 2.0 libraries make or for Windows: mingw environment gtk 2.0 for win32 make --------------------------------------------------------------------------- Put the xrit2pic zip-file in an appropiate directory and unzip. This should give: | +-*.c, *.h, makefile | +-sgtk/*.c, *.h | +-jpeg812/*.h | +-bzip2/*.c, *.h, libbz2.a | +-lib_win/*.a (needed for Windows only) --------------------------------------------------------------------------- Compilation: Use one of following commands: . Linux: . gui: $ make clean $ make -e . non-gui: $ export GTK_REL=\"no\" $ make clean $ make -e . Windows: . gui: $ export OS=\"windows\" $ make clean $ make -e . non-gui: $ export OS=\"windows\" $ export GTK_REL=\"no\" $ make clean $ make -e If for whatever reason you don't want wavelet support then you can switch that part off by adding the following command: . export HAS_WVT=\"no\" If you want to create the lib/dll for jpeg yourself, best is to that in a separate location. Result is a lib-file (Linux) of dll-file (Windows).