Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, March 2002
Help compiling qt-3.0.2

Pages: Prev | 1 | 2 | Next

Message 1 in thread


   Hi, 

 I'm trying to compile qt3 sources, but I've got error messages ( a lot ! ) 
telling me that there are undefined refercences to function ( all begin with 
gl...). Theses references are in libqt-mt.so and libGLU.so. I'm using NVIDIA 
drivers for openGl.
Any ideas please !

 Thanks,

A. Bouanan


Message 2 in thread

Hi,

>  I'm trying to compile qt3 sources, but I've got error messages ( a lot ! )
> telling me that there are undefined refercences to function ( all begin with
> gl...). Theses references are in libqt-mt.so and libGLU.so. I'm using NVIDIA
> drivers for openGl.
> Any ideas please !

You need to send a more detailed report, together with an example of
an actual error message. Anyway, you seem to be missing OpenGL libraries
for some reason, although Mesa-common and Mesa-common-devel were already
installed. What is the output of
	ls /usr/X11R6/lib/libGL.*

Dimitri


Message 3 in thread

Le Samedi 2 Mars 2002 11:57, vous avez écrit :
> Hi,
>
> >  I'm trying to compile qt3 sources, but I've got error messages ( a lot !
> > ) telling me that there are undefined refercences to function ( all begin
> > with gl...). Theses references are in libqt-mt.so and libGLU.so. I'm
> > using NVIDIA drivers for openGl.
> > Any ideas please !
>
> You need to send a more detailed report, together with an example of
> an actual error message. Anyway, you seem to be missing OpenGL libraries
> for some reason, although Mesa-common and Mesa-common-devel were already
> installed. What is the output of
> 	ls /usr/X11R6/lib/libGL.*

 Ok, I have theses messages ( It's quite long, sorry ):

/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glXQueryServerString'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glColor3ub'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glIndexi'
/usr/X11R6/lib/libGLU.so: undefined reference to `glPixelStorei'
/usr/X11R6/lib/libGLU.so: undefined reference to `glEvalPoint2'
/usr/X11R6/lib/libGLU.so: undefined reference to `glMultMatrixd'
/usr/X11R6/lib/libGLU.so: undefined reference to `glPopAttrib'
/usr/X11R6/lib/libGLU.so: undefined reference to `glTexImage2D'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glReadPixels'
/usr/X11R6/lib/libGLU.so: undefined reference to `glMapGrid2f'
/usr/X11R6/lib/libGLU.so: undefined reference to `glMapGrid1f'
/usr/X11R6/lib/libGLU.so: undefined reference to `glVertex3d'
/usr/X11R6/lib/libGLU.so: undefined reference to `glGetDoublev'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glFlush'
/usr/X11R6/lib/libGLU.so: undefined reference to `glEvalMesh2'
/usr/X11R6/lib/libGLU.so: undefined reference to `glVertex3f'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glXQueryExtension'
/usr/X11R6/lib/libGLU.so: undefined reference to `glTexImage1D'
/usr/X11R6/lib/libGLU.so: undefined reference to `glMultMatrixf'
/usr/X11R6/lib/libGLU.so: undefined reference to `glDisable'
/usr/X11R6/lib/libGLU.so: undefined reference to `glMatrixMode'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `XineramaIsActive'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `XineramaQueryScreens'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glViewport'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glXDestroyGLXPixmap'
/usr/X11R6/lib/libGLU.so: undefined reference to `glBegin'
/usr/X11R6/lib/libGLU.so: undefined reference to `glMap1f'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glDrawBuffer'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glXMakeCurrent'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to 
`glXQueryExtensionsString'
/usr/X11R6/lib/libGLU.so: undefined reference to `glGetFloatv'
/usr/X11R6/lib/libGLU.so: undefined reference to `glVertex2f'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glXChooseVisual'
/usr/X11R6/lib/libGLU.so: undefined reference to `glTexCoord2f'
/usr/X11R6/lib/libGLU.so: undefined reference to `glLoadMatrixf'
/usr/X11R6/lib/libGLU.so: undefined reference to `glGetIntegerv'
/usr/X11R6/lib/libGLU.so: undefined reference to `glPushAttrib'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glXDestroyContext'
/usr/X11R6/lib/libGLU.so: undefined reference to `glTranslated'
/usr/X11R6/lib/libGLU.so: undefined reference to `glPopMatrix'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glXWaitX'
/usr/X11R6/lib/libGLU.so: undefined reference to `glOrtho'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glClearColor'
/usr/X11R6/lib/libGLU.so: undefined reference to `glFrontFace'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glClearIndex'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glXGetClientString'
/usr/X11R6/lib/libGLU.so: undefined reference to `glPushMatrix'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to 
`XineramaQueryExtension'
/usr/X11R6/lib/libGLU.so: undefined reference to `glEnable'
/usr/X11R6/lib/libGLU.so: undefined reference to `glNormal3f'
/usr/X11R6/lib/libGLU.so: undefined reference to `glFrustum'
/usr/X11R6/lib/libGLU.so: undefined reference to `glMap2f'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glXIsDirect'
/usr/X11R6/lib/libGLU.so: undefined reference to `glVertex2d'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glXSwapBuffers'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glXCreateContext'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glXGetConfig'
/usr/X11R6/lib/libGLU.so: undefined reference to `glEvalCoord2f'
/usr/X11R6/lib/libGLU.so: undefined reference to `glEnd'
/usr/X11R6/lib/libGLU.so: undefined reference to `glEvalMesh1'
/usr/local/qt3/lib/libqt-mt.so: undefined reference to `glXCreateGLXPixmap'
collect2: ld returned 1 exit status
gmake[4]: *** [../../../bin/uic] Erreur 1
gmake[3]: *** [sub-uic] Erreur 2
gmake[2]: *** [sub-designer] Erreur 2
gmake[1]: *** [sub-tools] Erreur 2
gmake: *** [init] Erreur 2



and ls /usr/X11R6/lib/libGL*.* gave me

/usr/X11R6/lib/libGL.a
/usr/X11R6/lib/libGL.la*
/usr/X11R6/lib/libGL.so@
/usr/X11R6/lib/libGLU.la*
/usr/X11R6/lib/libGLU.so@
/usr/X11R6/lib/libGLU.so.1@
/usr/X11R6/lib/libGLU.so.1.2.030402*
/usr/X11R6/lib/libGLU.so.3@
/usr/X11R6/lib/libGLw.a

  Thanks for help

Aissa,


Message 4 in thread

Hi,

> and ls /usr/X11R6/lib/libGL*.* gave me
> 
> /usr/X11R6/lib/libGL.a
> /usr/X11R6/lib/libGL.la*
> /usr/X11R6/lib/libGL.so@
> /usr/X11R6/lib/libGLU.la*
> /usr/X11R6/lib/libGLU.so@
> /usr/X11R6/lib/libGLU.so.1@
> /usr/X11R6/lib/libGLU.so.1.2.030402*
> /usr/X11R6/lib/libGLU.so.3@
> /usr/X11R6/lib/libGLw.a

You are missing the OpenGL library /usr/X11R6/lib/libGL.so.*
and link /usr/X11R6/lib/libGL.so probably points to nothing.

Something's wrong with your OpenGL installation, this does
not look like a Qt problem.

Dimitri


Message 5 in thread


I am using nvidia drivers and i have had no problems compiling qt-3.0.2.
Do you need opengl support in qt?  Consider turning off opengl support in
the configure script.. (./configure --help for details)

On Sat, 2 Mar
2002, Aissa Bouanan wrote:

>    Hi,
>
>  I'm trying to compile qt3 sources, but I've got error messages ( a lot ! )
> telling me that there are undefined refercences to function ( all begin with
> gl...). Theses references are in libqt-mt.so and libGLU.so. I'm using NVIDIA
> drivers for openGl.
> Any ideas please !
>
>  Thanks,
>
> A. Bouanan
>
> --
> List archive and information: http://qt-interest.trolltech.com
>


Message 6 in thread


 I'm trying to rewrite a w$ delphi on linux with Kde/Qt ( a civil engineering 
project ) and I'd like to add some structure visualisation with opengl. 
That's why I'm in need of opengl enabled compilation !

 Since Friday morning trying to understand what's going wrong with my NVidia 
drivers but I've no idea just a blank horizon !

Thanks,
Aissa

Le Dimanche 3 Mars 2002 00:58, vous avez écrit :
> I am using nvidia drivers and i have had no problems compiling qt-3.0.2.
> Do you need opengl support in qt?  Consider turning off opengl support in
> the configure script.. (./configure --help for details)
>
> On Sat, 2 Mar
>
> 2002, Aissa Bouanan wrote:
> >    Hi,
> >
> >  I'm trying to compile qt3 sources, but I've got error messages ( a lot !
> > ) telling me that there are undefined refercences to function ( all begin
> > with gl...). Theses references are in libqt-mt.so and libGLU.so. I'm
> > using NVIDIA drivers for openGl.
> > Any ideas please !
> >
> >  Thanks,
> >
> > A. Bouanan


Message 7 in thread

Hi,

>  I'm trying to rewrite a w$ delphi on linux with Kde/Qt ( a civil engineering
> project ) and I'd like to add some structure visualisation with opengl.
> That's why I'm in need of opengl enabled compilation !
> 
>  Since Friday morning trying to understand what's going wrong with my NVidia
> drivers but I've no idea just a blank horizon !

I thought I had made it clear you seem to be missing OpenGL libraries.

Specifically, where are the libGL.so.* libraries? They don't seem to
live in /usr/X11R6/lib.

Dimitri


Message 8 in thread

Le Dimanche 3 Mars 2002 14:35, vous avez écrit :
> Hi,
>
> >  I'm trying to rewrite a w$ delphi on linux with Kde/Qt ( a civil
> > engineering project ) and I'd like to add some structure visualisation
> > with opengl. That's why I'm in need of opengl enabled compilation !
> >
> >  Since Friday morning trying to understand what's going wrong with my
> > NVidia drivers but I've no idea just a blank horizon !
>
> I thought I had made it clear you seem to be missing OpenGL libraries.
>
> Specifically, where are the libGL.so.* libraries? They don't seem to
> live in /usr/X11R6/lib.
>
  I've reinstalled NVIDIA drivers and I still don't have libGL.so.*
 I'm going to create symb links to libGLU.so.* in order to have  libGL.so.* 
libs. But I'm not convinced tht's going to work ! maybe ;-)

 Aissa,


Message 9 in thread

Hi,

> > Specifically, where are the libGL.so.* libraries? They don't seem to
> > live in /usr/X11R6/lib.

Maybe in /usr/lib which is the default location on Red Hat Linux?

>   I've reinstalled NVIDIA drivers and I still don't have libGL.so.*
>  I'm going to create symb links to libGLU.so.* in order to have  libGL.so.*
> libs. But I'm not convinced tht's going to work ! maybe ;-)

Do not do that, it certainly won't work!

You have to find the libGL.so.* libraries. If you can't, I suggest you
stick to Mesa and do not install NVIDIA drivers for now.

Dimitri


Message 10 in thread

On March 3, 2002 07:56 am, you wrote:
> Hi,
>
> > > Specifically, where are the libGL.so.* libraries? They don't seem to
> > > live in /usr/X11R6/lib.
>
> Maybe in /usr/lib which is the default location on Red Hat Linux?
>
> >   I've reinstalled NVIDIA drivers and I still don't have libGL.so.*
> >  I'm going to create symb links to libGLU.so.* in order to have 
> > libGL.so.* libs. But I'm not convinced tht's going to work ! maybe ;-)
>
> Do not do that, it certainly won't work!
>
> You have to find the libGL.so.* libraries. If you can't, I suggest you
> stick to Mesa and do not install NVIDIA drivers for now.
>
> Dimitri

Ugh... You need to install the Xlibmesa distro, the one that comes with the X 
source distro.

-- 
 [ signature omitted ] 

Message 11 in thread

Le Samedi 2 Mars 2002 11:11, vous avez écrit :
> Hi
> Do you have the OpenGL development libs and headers installed?
>
  Yes, I do. In fact when installing NVIDIA kernel and GLX binaries you need 
to have Mesa-common and Mesa-common-devel already installed, so dev libs and 
headers are where they need to be : /usr/X11R6/include & lib ( I'm using 
MDK8.1 by the way)

Thanks,

A. Bouanan


Message 12 in thread

Aissa Bouanan, Samstag, 2. März 2002 12:33:
> Le Samedi 2 Mars 2002 11:11, vous avez écrit :
> > Hi
> > Do you have the OpenGL development libs and headers installed?
>
>   Yes, I do. In fact when installing NVIDIA kernel and GLX binaries you
> need to have Mesa-common and Mesa-common-devel already installed, so dev
> libs and headers are where they need to be : /usr/X11R6/include & lib ( I'm
> using MDK8.1 by the way)

Check, whether you have the headers from your NVIDIA package installed 
(gl.h,glx.h,glxtokens.h). If you are using the NVIDIA package from the NVIDIA 
website, then you have to copy the headers manually to the correct directory
(replacing the ones from the mesa rpms). 
 
Michael


Message 13 in thread

Le Samedi 2 Mars 2002 14:35, vous avez écrit :

> > Le Samedi 2 Mars 2002 11:11, vous avez écrit :
> > > Hi
> > > Do you have the OpenGL development libs and headers installed?
> >
> >   Yes, I do. In fact when installing NVIDIA kernel and GLX binaries you
> > need to have Mesa-common and Mesa-common-devel already installed, so dev
> > libs and headers are where they need to be : /usr/X11R6/include & lib (
> > I'm using MDK8.1 by the way)
>
> Check, whether you have the headers from your NVIDIA package installed
> (gl.h,glx.h,glxtokens.h). If you are using the NVIDIA package from the
> NVIDIA website, then you have to copy the headers manually to the correct
> directory (replacing the ones from the mesa rpms).

 Ok , I've got these three headers in /usr/X11R6/include/GL. So to have my 
system working, where do I have to put them ?

Thanks,

Aissa,


Message 14 in thread

What are the compilers that you can use with the
Professional edition of Qt on the Loose32 platform?

MicroTrash Visual C++ I know works but I want to stay
away from Bill.

BCC 5.5....the free edition does not have a debugger
and I don't want to buy bcc full edition.

gcc for Loose32 only works in the cygwin environment,
which I don't believe will work with Qt.

I am actually looking for a compiler that I can use
GDB with.  GDB won't work with bcc I believe??  Am I
wrong?  Some of the power that GDB provides I believe
leaves MicroCrap behind in dust.

Salman


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - sign up for Fantasy Baseball
http://sports.yahoo.com


Message 15 in thread

Hi !

Normally you must use the same compiler that was used to compile Qt, because
the name mangling between C++ compilers don't match most of the time.

Mikael

----- Original Message -----
From: "Salman Khilji" <salmankhilji@yahoo.com>
To: <qt-interest@trolltech.com>
Sent: Saturday, March 02, 2002 7:32 PM
Subject: Loose32 Compiler


> What are the compilers that you can use with the
> Professional edition of Qt on the Loose32 platform?
>
> MicroTrash Visual C++ I know works but I want to stay
> away from Bill.
>
> BCC 5.5....the free edition does not have a debugger
> and I don't want to buy bcc full edition.
>
> gcc for Loose32 only works in the cygwin environment,
> which I don't believe will work with Qt.
>
> I am actually looking for a compiler that I can use
> GDB with.  GDB won't work with bcc I believe??  Am I
> wrong?  Some of the power that GDB provides I believe
> leaves MicroCrap behind in dust.
>
> Salman
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - sign up for Fantasy Baseball
> http://sports.yahoo.com
>
> --
> List archive and information: http://qt-interest.trolltech.com


Pages: Prev | 1 | 2 | Next