How do you install freeimage library?

BlitzMax Forums/BlitzMax Beginners Area/How do you install freeimage library?

Guy Fawkes(Posted 2009) [#1]
Hi all. I'm new to blitzmax. How EXACTLY STEP-BY-STEP, do you install freeimage library?


degac(Posted 2009) [#2]
Do you refer to Brucey's module FreeImage?

http://brucey.net/programming/blitz/index.php

http://code.google.com/p/maxmods/downloads/list

Here there is a guide how to install a mod

http://code.google.com/p/maxmods/wiki/HowToInstallModules

So it works for ANY modules you want to add.

In general

1. download (from the link above) the .zip files
2. make a new folder

c:\blitzmax\mod\bah.mod

(I suppose BlitzMax is installed with the path C:\blitzmax, otherwise change it)

3. extract the .zip in the new folder created bah.mod

So - at the end of the process - you should have a directory structure like this

Blitmax
 bin
 cfg
 doc
 docs
 lib
 mod
  bah.mod
     freeimage.mod
  brl.mod
  pub.mod


4. In MaxIDE rebuild the modules (CTRL+D)
5. Rebuild documentation to get the local help update.
6. In the .zip there are some examples to test if everything is working ok


Guy Fawkes(Posted 2009) [#3]
the part after u put the files in the freeimage mod folder.