Menu

undefined reference to gamma correction.

Help
nir_hp
2009-04-23
2013-05-02
  • nir_hp

    nir_hp - 2009-04-23

    hello,

    when I try to compile a program with one of the gamma correction functions, I get
    "/tmp/cckb79Tg.o: In function `main':
    main.c:(.text+0x24): undefined reference to `iluGammaCorrectInter'
    collect2: ld returned 1 exit status"

    I do have
    #include <IL/il.h>
    #include <IL/ilu.h>

    the compile command is
    cc main.c -lIL -lILU

     
    • Denton Woods

      Denton Woods - 2009-04-24

      This is because iluGammaCorrectInter was removed from the library at some point.  If you look in ilu_filter.c, it is commented out.  It looks like you just have to use iluGammaCorrect.

       

Log in to post a comment.