building xpp: int vs. enumeration

Hanspeter Roth hampi at
Sun Apr 13 02:07:48 PDT 2003


trying to build xpp 1.1 fails:

===>  Building for xpp-1.1
/usr/X11R6/bin/fluid -c mainwindow.fl
c++ -DPACKAGE=\"xpp\" -DVERSION=\"1.1\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_FL_FL_H=1 -DHAVE_LIBCUPS=1  -I. -I.    -I/usr/local/include -I/usr/X11R6/include  -O -pipe -march=pentiumpro -c mainwindow.cxx
mainwindow.cxx: In method `class Fl_Window * xppMainWindow::xppOptionDialog()': mainwindow.cxx:1021: no matching function for call to `Input_Slider::color (int)'

The color member-function is expecting an enumeration but is given an
integer. The compiler considers this incompatible.

How can I build the xpp port?


More information about the freebsd-questions mailing list