Results 1 to 2 of 2

Thread: GLC_lib 1.2.0 installation error

  1. #1
    Join Date
    Feb 2009
    Posts
    189
    Thanks
    2

    Default GLC_lib 1.2.0 installation error

    Dear Friends
    I am finding the following errors in compiling GLC_lib 1.2.0 can anyone help me finding whats going wrong.Thanks
    //////////////////////////////////////////////////
    lib3ds/tracks.c:1551: warning: enumeration value `LIB3DS_UNKNOWN_NODE' not handled in switch
    gcc -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/pack/Qt-4.4.3/mkspecs/linux-g++-64 -I. -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include -I. -Izlib -I/usr/X11R6/include -IBuild -IBuild -o Build/vector.o lib3ds/vector.c
    gcc -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/pack/Qt-4.4.3/mkspecs/linux-g++-64 -I. -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include -I. -Izlib -I/usr/X11R6/include -IBuild -IBuild -o Build/viewport.o lib3ds/viewport.c
    lib3ds/viewport.c: In function `lib3ds_viewport_dump':
    lib3ds/viewport.c:383: warning: long int format, different type arg (arg 2)
    g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/pack/Qt-4.4.3/mkspecs/linux-g++-64 -I. -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include -I. -Izlib -I/usr/X11R6/include -IBuild -IBuild -o Build/glc_vector4d.o maths/glc_vector4d.cpp
    g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/pack/Qt-4.4.3/mkspecs/linux-g++-64 -I. -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include -I. -Izlib -I/usr/X11R6/include -IBuild -IBuild -o Build/glc_matrix4x4.o maths/glc_matrix4x4.cpp
    g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/pack/Qt-4.4.3/mkspecs/linux-g++-64 -I. -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include -I. -Izlib -I/usr/X11R6/include -IBuild -IBuild -o Build/glc_interpolator.o maths/glc_interpolator.cpp
    g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/pack/Qt-4.4.3/mkspecs/linux-g++-64 -I. -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtCore -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtGui -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include/QtOpenGL -I/usr/local/pack/Qt-4.4.3/include -I. -Izlib -I/usr/X11R6/include -IBuild -IBuild -o Build/glc_distance.o maths/glc_distance.cpp
    In file included from maths/../sceneGraph/../geometry/../geometry/glc_vbogeom.h:33,
    from maths/../sceneGraph/../geometry/glc_3drep.h:28,
    from maths/../sceneGraph/glc_3dviewinstance.h:35,
    from maths/glc_distance.h:31,
    from maths/glc_distance.cpp:26:
    maths/../sceneGraph/../geometry/../geometry/../glc_ext.h:51: error: `PFNGLDELETEPROGRAMPROC' does not name a type
    maths/../sceneGraph/../geometry/../geometry/../glc_ext.h:54: error: `PFNGLDELETESHADERPROC' does not name a type
    maths/../sceneGraph/../geometry/../geometry/../glc_ext.h:63: error: `PFNGLGETSHADERIVPROC' does not name a type
    maths/glc_distance.cpp: In member function `void GLC_Distance::addInstancesInGroup1(const QList<GLC_3DViewInstance>&)':
    maths/glc_distance.cpp:106: error: no matching function for call to `QList<GLC_3DViewInstance>::append(const QList<GLC_3DViewInstance>&)'
    /usr/local/pack/Qt-4.4.3/include/QtCore/qlist.h:415: note: candidates are: void QList<T>::append(const T&) [with T = GLC_3DViewInstance]
    maths/glc_distance.cpp: In member function `void GLC_Distance::addInstancesInGroup2(const QList<GLC_3DViewInstance>&)':
    maths/glc_distance.cpp:118: error: no matching function for call to `QList<GLC_3DViewInstance>::append(const QList<GLC_3DViewInstance>&)'
    /usr/local/pack/Qt-4.4.3/include/QtCore/qlist.h:415: note: candidates are: void QList<T>::append(const T&) [with T = GLC_3DViewInstance]
    make: *** [Build/glc_distance.o] Error 1
    Last edited by sujan.dasmahapatra; 19th November 2009 at 09:07.

  2. #2
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    4
    Thanked 140 Times in 132 Posts

    Default Re: GLC_lib 1.2.0 installation error

    this error:
    Qt Code:
    1. maths/glc_distance.cpp:106: error: no matching function for call to `QList<GLC_3DViewInstance>::append(const QList<GLC_3DViewInstance>&)'
    2. /usr/local/pack/Qt-4.4.3/include/QtCore/qlist.h:415: note: candidates are: void QList<T>::append(const T&) [with T = GLC_3DViewInstance]
    To copy to clipboard, switch view to plain text mode 
    is because you use Qt 4.4.3 and the required method was introduced in 4.5 so you have to upgrade to 4.5.x
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

Similar Threads

  1. Gtk error when installing Qt in linux
    By john_god in forum Installation and Deployment
    Replies: 1
    Last Post: 18th November 2009, 06:08
  2. nmake error during .pro compiling
    By mattia in forum Installation and Deployment
    Replies: 5
    Last Post: 18th June 2008, 11:15
  3. Compile 4.4.0
    By LordQt in forum Installation and Deployment
    Replies: 18
    Last Post: 29th May 2008, 14:43
  4. Error compiling psql plugin
    By vieraci in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2007, 03:49
  5. qt 4.2.2 install on aix
    By try to remember in forum Installation and Deployment
    Replies: 2
    Last Post: 28th March 2007, 13:19

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
  •  
Qt is a trademark of The Qt Company.