FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 08-10-2012, 05:20 PM
Patrick Dupre
 
Default qtiplot

On 2012-08-10 18:16, Richard Shaw wrote:
On Fri, Aug 10, 2012 at 11:09 AM, Patrick Dupre <pdupre@kegtux.org>
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.


Very good point.
I fixed in
qwt3d_openglhelper.h
by adding:
#include <GL/glu.h>


But now I have another one:

/usr/lib64/qt4/bin/moc -DQTIPLOT_PRO -DSCRIPTING_CONSOLE
-DSVN_REVISION="""" -DQT_PLUGIN
-DTRANSLATIONS_PATH="/usr/share/qtiplot/translations"
-DMANUAL_PATH="/usr/share/doc/qtiplot-0.9.8.3/manual"
-DSCRIPTING_MUPARSER -DSCRIPTING_PYTHON
-DPYTHON_CONFIG_PATH="/usr/share/qtiplot" -DGL2PS_HAVE_LIBPNG
-DEMF_OUTPUT -DTEX_OUTPUT -DODS_IMPORT -DOPJ_IMPORT -DQT_NO_DEBUG
-DQT_SVG_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB
-DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore
-I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtOpenGL
-I/usr/include/QtXml -I/usr/include/Qt3Support -I/usr/include/QtSvg
-I/usr/include -I/usr/include/QtAssistantClient
-I/usr/include/QtAssistant -I../3rdparty/qwt/src
-I../3rdparty/qwtplot3d/include -I/usr/include/gsl -Iicons
-Isrc/analysis -Isrc/analysis/dialogs -Isrc/core -Isrc/lib/include
-Isrc/lib/3rdparty/qtcolorpicker/src -Isrc/plot2D -Isrc/plot2D/dialogs
-Isrc/plot3D -Isrc/matrix -Isrc/table -Isrc/scripting
-I/usr/include/python2.7 -I/usr/include/libEMF -I/usr/include/minizip
-I/usr/include/quazip -I/usr/include/liborigin2 -Isrc/origin
-I/usr/X11R6/include
-I/home/pdupre/rpmbuild/BUILD/qtiplot-0.9.8.3/tmp/qtiplot
src/lib/include/SymbolBox.h -o ../tmp/qtiplot/moc_SymbolBox.cpp
src/origin/importOPJ.cpp: In member function 'bool
ImportOPJ::createProjectTree(const OriginFile&)':
src/origin/importOPJ.cpp:200:65: error: invalid conversion from 'time_t
{aka long int}' to 'boost::date_time::special_values' [-fpermissive]
/usr/include/boost/date_time/posix_time/ptime.hpp:49:5: error:
initializing argument 1 of
'boost:osix_time:time:time(boost::date_time: :special_values)'
[-fpermissive]


Any idea how to solve it?

Thank.

--
================================================== ====================
Patrick DUPRÉ | | email: pdupre@kegtux.org
================================================== ====================
--
users mailing list
users@lists.fedoraproject.org
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
 
Old 08-10-2012, 06:13 PM
Richard Shaw
 
Default qtiplot

On Fri, Aug 10, 2012 at 12:20 PM, Patrick Dupre <pdupre@kegtux.org> wrote:
> But now I have another one:
>
> /usr/lib64/qt4/bin/moc -DQTIPLOT_PRO -DSCRIPTING_CONSOLE
> -DSVN_REVISION="""" -DQT_PLUGIN
> -DTRANSLATIONS_PATH="/usr/share/qtiplot/translations"
> -DMANUAL_PATH="/usr/share/doc/qtiplot-0.9.8.3/manual" -DSCRIPTING_MUPARSER
> -DSCRIPTING_PYTHON -DPYTHON_CONFIG_PATH="/usr/share/qtiplot"
> -DGL2PS_HAVE_LIBPNG -DEMF_OUTPUT -DTEX_OUTPUT -DODS_IMPORT -DOPJ_IMPORT
> -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB
> -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
> -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore
> -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtOpenGL
> -I/usr/include/QtXml -I/usr/include/Qt3Support -I/usr/include/QtSvg
> -I/usr/include -I/usr/include/QtAssistantClient -I/usr/include/QtAssistant
> -I../3rdparty/qwt/src -I../3rdparty/qwtplot3d/include -I/usr/include/gsl
> -Iicons -Isrc/analysis -Isrc/analysis/dialogs -Isrc/core -Isrc/lib/include
> -Isrc/lib/3rdparty/qtcolorpicker/src -Isrc/plot2D -Isrc/plot2D/dialogs
> -Isrc/plot3D -Isrc/matrix -Isrc/table -Isrc/scripting
> -I/usr/include/python2.7 -I/usr/include/libEMF -I/usr/include/minizip
> -I/usr/include/quazip -I/usr/include/liborigin2 -Isrc/origin
> -I/usr/X11R6/include
> -I/home/pdupre/rpmbuild/BUILD/qtiplot-0.9.8.3/tmp/qtiplot
> src/lib/include/SymbolBox.h -o ../tmp/qtiplot/moc_SymbolBox.cpp
> src/origin/importOPJ.cpp: In member function 'bool
> ImportOPJ::createProjectTree(const OriginFile&)':
> src/origin/importOPJ.cpp:200:65: error: invalid conversion from 'time_t {aka
> long int}' to 'boost::date_time::special_values' [-fpermissive]
> /usr/include/boost/date_time/posix_time/ptime.hpp:49:5: error:
> initializing argument 1 of
> 'boost:osix_time:time:time(boost::date_time: :special_values)'
> [-fpermissive]
>
> Any idea how to solve it?

Well, I'm pretty good at troubleshooting missing headers and libraries
but I'm no C programmer. Looks like something that will have to be
patched in the source. Perhaps this is one of those areas where gcc is
more strict that previous versions?
--
users mailing list
users@lists.fedoraproject.org
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
 

Thread Tools




All times are GMT. The time now is 05:28 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org