View unanswered posts | View active topics It is currently Sat Oct 23, 2021 7:17 am



Reply to topic  [ 2 posts ] 
 compilation error GLC_player with GLC_lib 2.5 
Author Message

Joined: Wed Jul 23, 2014 3:10 am
Posts: 1
Post compilation error GLC_player with GLC_lib 2.5
Hi,

Please help.

Ubuntu 14.04
Qt5.3
GLC_lib 2.5 (github and zip archive)

This is the error. There is an argument mismatch for the function call GLC_Viewport(). It seems that I should be using a differenet version of GLC_LIb?


Thanks in advance.

Oh


g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIE -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../Qt/5.3/gcc/mkspecs/linux-g++ -I. -I/usr/local/include/GLC_lib-2.5 -I../Qt/5.3/gcc/include -I../Qt/5.3/gcc/include/QtOpenGL -I../Qt/5.3/gcc/include/QtWidgets -I../Qt/5.3/gcc/include/QtXml -I../Qt/5.3/gcc/include/QtGui -I../Qt/5.3/gcc/include/QtCore -IBuild -IBuild -o Build/OpenglView.o opengl_view/OpenglView.cpp
opengl_view/OpenglView.cpp: In constructor ‘OpenglView::OpenglView(QWidget*)’:
opengl_view/OpenglView.cpp:78:16: error: no matching function for call to ‘GLC_Viewport::GLC_Viewport(OpenglView* const)’
, m_UserLights()
^
opengl_view/OpenglView.cpp:78:16: note: candidates are:
In file included from /usr/local/include/GLC_lib-2.5/GLC_Viewport:1:0,
from opengl_view/OpenglView.h:28,
from opengl_view/OpenglView.cpp:24:
/usr/local/include/GLC_lib-2.5/viewport/glc_viewport.h:72:2: note: GLC_Viewport::GLC_Viewport()
GLC_Viewport();
^
/usr/local/include/GLC_lib-2.5/viewport/glc_viewport.h:72:2: note: candidate expects 0 arguments, 1 provided
/usr/local/include/GLC_lib-2.5/viewport/glc_viewport.h:55:22: note: GLC_Viewport::GLC_Viewport(const GLC_Viewport&)
class GLC_LIB_EXPORT GLC_Viewport : public QObject
^
/usr/local/include/GLC_lib-2.5/viewport/glc_viewport.h:55:22: note: no known conversion for argument 1 from ‘OpenglView* const’ to ‘const GLC_Viewport&’
opengl_view/OpenglView.cpp: In member function ‘virtual void OpenglView::paintGL()’:
opengl_view/OpenglView.cpp:516:11: error: ‘class GLC_Light’ has no member named ‘enable’
m_Light.enable();
^
opengl_view/OpenglView.cpp:525:22: error: ‘class GLC_Light’ has no member named ‘enable’
m_UserLights[i]->enable();
^
opengl_view/OpenglView.cpp: In member function ‘virtual void OpenglView::mousePressEvent(QMouseEvent*)’:
opengl_view/OpenglView.cpp:705:10: warning: enumeration value ‘VE_NORMAL’ not handled in switch [-Wswitch]
switch (m_ViewEnterState)
^
make: *** [Build/OpenglView.o] Error 1i


Wed Jul 23, 2014 3:49 pm
Profile
Site Admin

Joined: Sun Jan 03, 2010 4:27 pm
Posts: 390
Post Re: compilation error GLC_player with GLC_lib 2.5
Hello,
I haven't ported source code of GLC_Player to be compiled with Qt5 yet. :oops:

@+


Sat Jul 26, 2014 4:05 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.