On Fri, Aug 10, 2012 at 11:09 AM, Patrick Dupre <pdupre@xxxxxxxxxx> wrote: > g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -fPIC -D_REENTRANT -Wall > -W -DQTIPLOT_PRO -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED > -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore > -I/usr/include/QtGui -I/usr/include -Imoc -o obj/qwt_interval_data.o > qwt_interval_data.cpp > In file included from include/qwt3d_types.h:26:0, > from include/qwt3d_extglwidget.h:4, > from src/qwt3d_extglwidget.cpp:7: > include/qwt3d_openglhelper.h: In function 'const GLubyte* > Qwt3D::gl_error()': > include/qwt3d_openglhelper.h:67:31: error: 'gluErrorString' was not declared > in this scope > In file included from include/qwt3d_types.h:26:0, > from include/qwt3d_extglwidget.h:4, > from src/qwt3d_extglwidget.cpp:7: > include/qwt3d_openglhelper.h: In function 'bool > Qwt3D::ViewPort2World(double&, double&, double&, double, double, double)': > include/qwt3d_openglhelper.h:104:97: error: 'gluUnProject' was not declared > in this scope > include/qwt3d_openglhelper.h: In function 'bool > Qwt3D::World2ViewPort(double&, double&, double&, double, double, double)': > include/qwt3d_openglhelper.h:120:95: error: 'gluProject' was not declared in > this scope > make[1]: *** [lib/tmp/qwt3d_extglwidget.o] Error 1 > make[1]: Leaving directory > `/home/pdupre/rpmbuild/BUILD/qtiplot-0.9.8.3/3rdparty/qwtplot3d' > make: *** [sub-3rdparty-qwtplot3d-make_default] Error 2 > make: g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -fPIC > -D_REENTRANT -Wall -W -DQTIPLOT_PRO -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB > -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore > -I/usr/include/QtGui -I/usr/include -Imoc -o obj/qwt_legend.o qwt_legend.cpp If I wasn't fairly sure I had the package installed I would have started with google, but since I was pretty sure: # grep -r 'gluProject' /usr/include /usr/include/GL/glu.h:GLAPI GLint GLAPIENTRY gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ); Then: # repoquery --whatprovides /usr/include/GL/glu.h mesa-libGLU-devel-0:7.11.2-3.fc16.x86_64 mesa-libGLU-devel-0:7.11.2-3.fc16.i686 mesa-libGLU-devel-0:7.11-8.fc16.x86_64 mesa-libGLU-devel-0:7.11-8.fc16.i686 I've run into this before and you may need an additional "#include <GL/glu.h>" in the right source header but I can't remember for sure. Richard -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org