Message: undefined reference to `qt_version_tag@Qt_5.10' in libG4OpenGL.so Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question undefined reference to `qt_version_tag@Qt_5.10' in libG4OpenGL.so 

Forum: Installation and Configuration
Date: 21 Mar, 2018
From: Richard Gillham Darnley <Richard Gillham Darnley>

Hi,

I am having problems building example G01 (the install and build of geant4 itself seemed to go correctly).

I can cmake example G01 fine.  But when I try to 'make' it I get the following output:

[ 33%] Linking CXX executable load_gdml
/home/richard/geant4/geant4.10.03.p03-install/lib/libG4OpenGL.so: undefined reference to `qt_version_tag@Qt_5.10'
collect2: error: ld returned 1 exit status
CMakeFiles/load_gdml.dir/build.make:165: recipe for target 'load_gdml' failed
make[2]: *** [load_gdml] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/load_gdml.dir/all' failed
make[1]: *** [CMakeFiles/load_gdml.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

FYI I am using a local install of QT5 (version 5.10.0) in my home folder rather than using the computers system Qt install.  Also when I cmake Geant4 the following variable is set: 

OPENGL_gl_LIBRARY=/usr/lib/x86_64-linux-gnu/libGL.so

(Not sure whether this additional information is helpful though).

Thanks in advance,

Richard

 Add Message Add Message
to: "undefined reference to `qt_version_tag@Qt_5.10' in libG4OpenGL.so"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]