Message: QtOpenGL problem Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question QtOpenGL problem 

Forum: (Graphical) User Interfaces
Date: 04 Jan, 2010
From: sauvestre <sauvestre>

hi all G4 girls and guys

happy new year !!!

I made an other mistake last year that is i answered wrongly

to the questions asked in the Configure script.

Now i have the QtOpenGL interface

environment variables are well positionned i hope so.

On this machine the G4SYSTEM=Linux-g++

On this machine the G4INSTALL=/cea/home/b2/sauves/geant4/geant4.9.2.p02

On this machine the G4INCLUDE=/cea/home/b2/sauves/geant4/geant4.9.2.p02/include

On this machine the G4LIB=/cea/home/b2/sauves/geant4/geant4.9.2.p02/lib

On this machine the G4LEVELGAMMADATA=/cea/home/b2/sauves/geant4/geant4.9.2.p02/d ata/PhotonEvaporation2.0

On this machine the G4RADIOACTIVEDATA=/cea/home/b2/sauves/geant4/geant4.9.2.p02/ data/RadioactiveDecay3.2

On this machine the G4LEDATA=/cea/home/b2/sauves/geant4/geant4.9.2.p02/data/G4EM LOW6.2

On this machine the G4NEUTRONHPDATA=/cea/home/b2/sauves/geant4/geant4.9.2.p02/da ta/G4NDL3.13

On this machine the G4ABLADATA=/cea/home/b2/sauves/geant4/geant4.9.2.p02/data/G4 ABLA3.0

On this machine the CLHEP_BASE_DIR=/cea/home/b2/sauves/CLHEP

On this machine the CLHEP_INCLUDE_DIR=/cea/home/b2/sauves/CLHEP/include

On this machine the CLHEP_LIB_DIR=/cea/home/b2/sauves/CLHEP/lib

On this machine the CLHEP_LIB=CLHEP

On this machine the G4ANALYSIS_USE=1

On this machine the G4UI_USE_TCSH=1

On this machine the G4UI_BUILD_QT_SESSION=1

On this machine the G4UI_USE_QT=1

On this machine the G4VIS_BUILD_DAWN_DRIVER=1

On this machine the G4VIS_BUILD_RAYTRACERX_DRIVER=1

On this machine the G4VIS_BUILD_VRML_DRIVER=1

On this machine the G4VIS_BUILD_OPENGLQT_DRIVER=1

On this machine the G4VIS_USE_DAWN=1

On this machine the G4VIS_USE_RAYTRACERX=1

On this machine the G4VIS_USE_VRML=1

On this machine the G4VIS_USE_OPENGLQT=1

On this machine the XMFLAGS=

On this machine the XMLIBS=

On this machine the XMFLAGS=

On this machine the XMLIBS= On this machine the XAWFLAGS=

On this machine the XAWLIBS=

On this machine the QTFLAGS=-I/usr/lib64/qt4/include -I/usr/lib64/qt4/include/Qt Core -I/usr/lib64/qt4/include/QtGui

On this machine the QTLIBS=-L/usr/lib64/qt4/lib64 -lQtCore -lQtGui

On this machine the QTMOC=/usr/lib64/qt4/bin/moc

On this machine the QTFLAGS=-I/usr/lib64/qt4/include -I/usr/lib64/qt4/include/Qt Core -I/usr/lib64/qt4/include/QtGui -I/usr/lib64/qt4/include/QtOpenGL

On this machine the GLQTLIBS=-L/usr/lib64/qt4/lib64 -lQtCore -lQtGui -lQtOpenGL

On this machine the QTMOC=/usr/lib64/qt4/bin/moc

On this machine the G4LIB_BUILD_STATIC=1

On this machine the G4LIB_USE_GRANULAR=1

In your environment you have the G4WORKDIR=/cea/home/b2/sauves/g4work

However when i compile my code it ends with an error 1 and one reads

Making dependency for file coax2.cc ...

Making dependency for file src/TrackingAction.cc ...

Making dependency for file src/SteppingVerbose.cc ...

Making dependency for file src/SteppingAction.cc ...

Making dependency for file src/StepMaxMessenger.cc ...

Making dependency for file src/StepMax.cc ...

Making dependency for file src/StackingMessenger.cc ...

Making dependency for file src/StackingAction.cc ...

Making dependency for file src/RunAction.cc ...

Making dependency for file src/PrimaryGeneratorMessenger.cc ...

Making dependency for file src/PrimaryGeneratorAction.cc ...

Making dependency for file src/PhysicsListMessenger.cc ...

Making dependency for file src/PhysicsList.cc ...

Making dependency for file src/PhysListIonBinaryCascade.cc ...

Making dependency for file src/PhysListHadronElastic.cc ...

Making dependency for file src/PhysListEmStandardSS.cc ...

Making dependency for file src/PhysListEmStandard.cc ...

Making dependency for file src/PhysListEmPenelope.cc ...

Making dependency for file src/PhysListEmLivermore.cc ...

Making dependency for file src/PhysListBinaryCascade.cc ...

Making dependency for file src/HistoMessenger.cc ...

Making dependency for file src/HistoManager.cc ...

Making dependency for file src/EventMessenger.cc ...

Making dependency for file src/EventAction.cc ...

Making dependency for file src/DetectorMessenger.cc ...

Making dependency for file src/DetectorConstruction.cc ...

Compiling DetectorConstruction.cc ...

Compiling DetectorMessenger.cc ...

Compiling EventAction.cc ...

Compiling EventMessenger.cc ...

Compiling HistoManager.cc ...

Compiling HistoMessenger.cc ...

Compiling PhysListBinaryCascade.cc ...

Compiling PhysListEmLivermore.cc ...

Compiling PhysListEmPenelope.cc ...

Compiling PhysListEmStandard.cc ...

Compiling PhysListEmStandardSS.cc ...

Compiling PhysListHadronElastic.cc ...

Compiling PhysListIonBinaryCascade.cc ...

Compiling PhysicsList.cc ...

Compiling PhysicsListMessenger.cc ...

Compiling PrimaryGeneratorAction.cc ...

Compiling PrimaryGeneratorMessenger.cc ...

Compiling RunAction.cc ...

Compiling StackingAction.cc ...

Compiling StackingMessenger.cc ...

Compiling StepMax.cc ...

Compiling StepMaxMessenger.cc ...

Compiling SteppingAction.cc ...

src/SteppingAction.cc: In member function 'virtual void SteppingAction::UserSteppingAction(const G4Step*)': src/SteppingAction.cc:47: warning: converting to 'G4int' from 'G4double' src/SteppingAction.cc:572: warning: converting to 'G4int' from 'G4double' src/SteppingAction.cc:637: warning: converting to 'G4int' from 'G4double' src/SteppingAction.cc:700: warning: converting to 'G4int' from 'G4double' src/SteppingAction.cc:764: warning: converting to 'G4int' from 'G4double' Compiling SteppingVerbose.cc ...

Compiling TrackingAction.cc ...

Creating/replacing object files in /cea/home/b2/sauves/g4work/tmp/Linux-g++/coax2/libcoax2.a ...

ar: creating /cea/home/b2/sauves/g4work/tmp/Linux-g++/coax2/libcoax2.a

Compiling coax2.cc ... Using granular libraries ... Linking coax2

/cea/home/b2/sauves/g4work/tmp/Linux-g++/coax2/exe/coax2.o: In function `G4VisExecutive::RegisterGraphicsSystems()': coax2.cc:(.text+0x2ba): undefined reference to `G4FukuiRenderer::G4FukuiRenderer()'

coax2.cc:(.text+0x2da): undefined reference to `G4OpenGLImmediateQt::G4OpenGLImmediateQt()'

coax2.cc:(.text+0x2fa): undefined reference to `G4OpenGLStoredQt::G4OpenGLStoredQt()'

collect2: ld returned 1 exit status make: *** [/cea/home/b2/sauves/g4work/bin/Linux-g++/coax2] Error 1

What is the culprit of such an error?

Where am i wrong? Thanks in advance for any answer

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: QtOpenGL problem   (John Allison - 04 Jan, 2010)
 Add Message Add Message
to: "QtOpenGL problem"

 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 ]