Re: qtiplot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux