SLIP  1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Code::Blocks
  1. Download and install ghostscript (needed by Imagemagick)
  2. Download and install ImageMagick-x.x.x-x-Q16-windows-dll.exe (Do not forget to check the box option "install development headers and libraries for C and C++")
  3. Download and install Boost
  4. Download and install FFTW (Optional)
  5. Download the slip-x.y.z.zip file
  6. Decompress it where you want
  7. Open CodeBlocks. Select "Settings/Compiler and debugger...":
    • Choose the "GNU GCC Compiler"
    • In the Tab "Compiler settings" choose your compiler flags:
      • "-g -Wall -ansi" is recommanded for debugging mode
      • "-O3 -finline-funtions -DNDEBUG" is recommanded in order to optimize the compilation
      Remarks
      non accessible options (-finline-functions for example) must be added in the tab "Other options" and extra variables (NDEBUG for example) must be added in th "#define" tab
      compilation_options.png
      variables_compilation.png
    • In the tab "Linker settings" click on the "add" button to indicate where you have stored ImageMagick and within the text area "Other linker options" add "-lCORE_RL_wand_" as a new link command.
      linker_settings.png
    • In the tab "Compiler" within the tab "Search directories" add the include files search path:
      • "E:\Program Files\ImageMagick-x.x.x-Q16\include" for ImageMagick
      • "E:\Program Files\boost_x_xx_x" for Boost C++
      • "E:\Program Files\slip" for slip
      search_directories_compiler.png
    • In the tab "Linker" within the tab "Search directories" add the libraries files search path:
      • "E:\Program Files\ImageMagick-x.x.x-Q16\lib" for ImageMagick
      search_directories_linker.png

Optional installation of FFTW