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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
nope