Menu

AMD64 make error

ghettodev
2005-11-22
2013-04-11
  • ghettodev

    ghettodev - 2005-11-22

    any idea what this is about?

    paletteeditor.cpp: In member function `virtual void PaletteEditor::mousePressEvent(QMouseEvent*)':
    paletteeditor.cpp:80: error: `fabs' undeclared (first use this function)
    paletteeditor.cpp:80: error: (Each undeclared identifier is reported only once for each function it appears in.)
    make[1]: *** [paletteeditor.o] Error 1

     
    • Andreas Röver

      Andreas Röver - 2005-11-28

      Sorry for the late reply, I nearly forgot you. Anyway, your problem is probably just a missing include.

      just add

      #include <math.h>

      somewhere in the first lines of the file paletteeditor.cpp

      Andreas

       
    • ghettodev

      ghettodev - 2007-09-13

      nope

       

Log in to post a comment.