yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #14425
[Bug 1735804] Re: QGLViewer updateGL() function error
I am compiling trunk-2018.02b and getting the same error as James. I can
compile by uncommenting the line
virtual void updateGL(void)
in trunk-2018.02b/gui/qt5/GLViewer.hpp but yade does not start and produces the following error as Janek explained.
--------------------------------
Welcome to Yade 2018.02b
Traceback (most recent call last):
File "...../myyade/install/bin/yade", line 129, in <module>
import yade
File "....../myyade/install/lib64/yade-2018.02b/py/yade/__init__.py", line 65, in <module>
import boot
ImportError: /home/subbiah/myyade/install/lib64/yade-2018.02b/py/yade/qt/_GLViewer.so: undefined symbol: _ZN8GLViewer8updateGLEv
--------------------------------
Has there been any update on this issue.
Details
Scientific Linux release 6.7 (Carbon)
gcc 4.8.1
qt5 5.10.1
libQGLViewer 2.7.1
--
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1735804
Title:
QGLViewer updateGL() function error
Status in Yade:
Incomplete
Bug description:
Background Details:
CentOS 7.4
Compiled from source
All features installed and enabled (except for python GTS...could not find that one)
Issue:
When attempting to build Yade, this error occurs:
trunk-2017.01a/gui/qt5/GLViewer.cpp:298:11: error: ‘updateGL’ was not declared in this scope
updateGL();
The way I solved this was by uncommenting line 64 in:
trunk-2017.01a/gui/qt5/GLViewer.hpp
so that "virtual void updateGL(void);" would be visible. I am not sure
if that was originally commented out for debugging or deprecation, but
it inhibited the program from compiling. If the comments were
intentional, how would I fix the error otherwise?
Thanks,
James
To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1735804/+subscriptions
References