Skip to content
Michael Steele edited this page Aug 3, 2015 · 5 revisions

DevIL C libraries do not come with friday-devil. Those trying to use friday-devil on Windows can use the following procedue:

  1. Download prebuilt Windows binaries and header files. These are currently hosted from sourceforge in the "DevIL Windows SDK" folder. You will need either x86 or the x64 variant depending on which version of GHC you are using.

  2. Extract the archive somewhere on your hard drive such as C:\DevIL-1.7.8-x64.

  3. Unpack friday-devil with cabal unpack friday-devil.

  4. Edit the "friday-devil.cabal" file so that the "Extra-Libraries" field specifies "DevIL" instead of "IL".

    Extra-Libraries: DevIL

  5. install friday-devil with cabal install friday-devil --extra-lib-dirs=c:\devil-1.7.8-x64 --extra-include-dirs=c:\devil-1.7.8-x64\include.

Clone this wiki locally