Results 1 to 4 of 4

Thread: QGLWidget, libstdc++ compilation error

  1. #1
    Join Date
    Jan 2006
    Location
    Third rock from the sun
    Posts
    106
    Thanks
    17
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question QGLWidget, libstdc++ compilation error

    I recently installed the Legacy support libraries (libstdc++, compat-stdc++) for RedHat WS. Each time that I try and compile my Qt application I receive errors in my QGLWidget subclass from OGL.h like
    Cannot find QGL:: DoubleBuffer
    Cannot find QGL:: DepthBuffer

    This is not a direct printout of the errors received, because the computer it is being written on is not connected to the internet...my apologies! I have Qt 4.1.4 installed (4.1.4 was installed after all the Legacy libraries were installed, and no installation issues with Qt). I tried compiling using Qt 4.1.3, which was installed prior to the legacy apps, but receive the same errors. I cannot uninstall the Legacy libraries it seems without totally reinstalling the OS. Is there a problem with using gcc 3.4, legacy stdc++ libs and Qt? This is really messing with me, since all the code was working prior to installing the legacy libs. Does anyone know of a way to uninstall those legacy libs? If I use the application uninstaller, it gives about 20 apps dependent on the legacy libs I just installed and wont let me uninstall! Thanks!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QGLWidget, libstdc++ compilation error

    Try forcing the uninstal (--nodeps option for rpm), check if it helped with your Qt problems and then install this library back so that you don't ruin other applications. Maybe it's not a problem with libstdc++ at all.

  3. The following user says thank you to wysota for this useful post:

    Rayven (5th July 2006)

  4. #3
    Join Date
    Jan 2006
    Location
    Third rock from the sun
    Posts
    106
    Thanks
    17
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QGLWidget, libstdc++ compilation error

    I was under a time crunch to get this problem resolved, so I just reinstalled RedHat. For future knowledge, how do I force the uninstallation of the libraries?

  5. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QGLWidget, libstdc++ compilation error

    Quote Originally Posted by Rayven
    how do I force the uninstallation of the libraries?
    "rpm --erase --nodeps" should be enough.

Similar Threads

  1. Problems
    By euthymos in forum Installation and Deployment
    Replies: 2
    Last Post: 13th June 2006, 19:11
  2. Fed up with M$ Window$ !!! Why is Tux leaving me alone???
    By fullmetalcoder in forum General Discussion
    Replies: 35
    Last Post: 18th March 2006, 12:57
  3. Compilation error creating a project on QT4.0.1??
    By darpan in forum Qt Programming
    Replies: 6
    Last Post: 8th March 2006, 08:16
  4. Am I the only one with "make" error ?
    By probine in forum Installation and Deployment
    Replies: 1
    Last Post: 13th February 2006, 12:54
  5. qmake_image_collection.cpp gives me a compiling error
    By vfernandez in forum Qt Programming
    Replies: 2
    Last Post: 31st January 2006, 01:42

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.