Message: Error with GNUMakefile Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Error with GNUMakefile 

Forum: Installation and Configuration
Date: 07 Mar, 2014
From: Ish Mukul <Ish Mukul>

I recently installed GEANT4 10.0. with latest patch. The program was
compiled using tutorial at
http://geant4.in2p3.fr/spip.php?article84&lang=en

I tried to compile basic example B1 using cmake and it worked fine with
full Qt windows. I tried using GNUMake file and exported geant4make.sh.
This file set QTHOME=/ and QTLIBPATH=/Library/Frameworks. The program did
not compiled gave errors. I believe GNUmakefile is unable to link QT
visualization drivers and I am unable to figure out why. Please suggest
some help.The make CPPVERBOSE=1 output is as follows:

Ishs-MacBook-Pro:B1 ish$ make CPPVERBOSE=1
Making dependency for file exampleB1.cc ...
Making dependency for file src/B1SteppingAction.cc ...
Making dependency for file src/B1RunAction.cc ...
Making dependency for file src/B1Run.cc ...
Making dependency for file src/B1PrimaryGeneratorAction.cc ...
Making dependency for file src/B1EventAction.cc ...
Making dependency for file src/B1DetectorConstruction.cc ...
Making dependency for file src/B1ActionInitialization.cc ...
clang++ -Wall -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings
-Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe
-O2 -fPIC -DG4OPTIMISE -Iinclude
-I/Users/ish/g4/g4_install/share/Geant4-10.0.1/geant4make/source/externals/clhep/include
-I/Users/ish/g4/g4_install/share/Geant4-10.0.1/geant4make/source/geometry/solids/usolids/include
-DG4VERBOSE -DG4_STORE_TRAJECTORY -DG4UI_USE_TCSH -DG4UI_USE_QT -DG4UI_USE
-DG4VIS_USE_ASCIITREE -DG4VIS_USE_DAWNFILE -DG4VIS_USE_GMOCRENFILE
-DG4VIS_USE_HEPREPFILE -DG4VIS_USE_RAYTRACER -DG4VIS_USE_VRMLFILE
-DG4VIS_USE_OPENGLX -DG4VIS_USE_OPENGLQT -DG4VIS_USE_OPENGL -DG4VIS_USE -I
//lib/QtCore.framework/Headers  -I //lib/QtGui.framework/Headers  -I
//lib/QtWidgets.framework/Headers -I //lib/QtOpenGL.framework/Headers -I
//lib/QtPrintSupport.framework/Headers -I //include/Qt -I//include
-I/usr/X11R6/include -I/usr/X11R6/include -DG4INTY_USE_QT
-I/Users/ish/g4/g4_install/include/Geant4 -c -o
/Users/ish/geant4_workdir/tmp/Darwin-clang/exampleB1/B1ActionInitialization.o
src/B1ActionInitialization.cc
clang++ -Wall -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings
-Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe
-O2 -fPIC -DG4OPTIMISE -Iinclude
-I/Users/ish/g4/g4_install/share/Geant4-10.0.1/geant4make/source/externals/clhep/include
-I/Users/ish/g4/g4_install/share/Geant4-10.0.1/geant4make/source/geometry/solids/usolids/include
-DG4VERBOSE -DG4_STORE_TRAJECTORY -DG4UI_USE_TCSH -DG4UI_USE_QT -DG4UI_USE
-DG4VIS_USE_ASCIITREE -DG4VIS_USE_DAWNFILE -DG4VIS_USE_GMOCRENFILE
-DG4VIS_USE_HEPREPFILE -DG4VIS_USE_RAYTRACER -DG4VIS_USE_VRMLFILE
-DG4VIS_USE_OPENGLX -DG4VIS_USE_OPENGLQT -DG4VIS_USE_OPENGL -DG4VIS_USE -I
//lib/QtCore.framework/Headers  -I //lib/QtGui.framework/Headers  -I
//lib/QtWidgets.framework/Headers -I //lib/QtOpenGL.framework/Headers -I
//lib/QtPrintSupport.framework/Headers -I //include/Qt -I//include
-I/usr/X11R6/include -I/usr/X11R6/include -DG4INTY_USE_QT
-I/Users/ish/g4/g4_install/include/Geant4 -c -o
/Users/ish/geant4_workdir/tmp/Darwin-clang/exampleB1/B1DetectorConstruction.o
src/B1DetectorConstruction.cc
clang++ -Wall -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings
-Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe
-O2 -fPIC -DG4OPTIMISE -Iinclude
-I/Users/ish/g4/g4_install/share/Geant4-10.0.1/geant4make/source/externals/clhep/include
-I/Users/ish/g4/g4_install/share/Geant4-10.0.1/geant4make/source/geometry/solids/usolids/include
-DG4VERBOSE -DG4_STORE_TRAJECTORY -DG4UI_USE_TCSH -DG4UI_USE_QT -DG4UI_USE
-DG4VIS_USE_ASCIITREE -DG4VIS_USE_DAWNFILE -DG4VIS_USE_GMOCRENFILE
-DG4VIS_USE_HEPREPFILE -DG4VIS_USE_RAYTRACER -DG4VIS_USE_VRMLFILE
-DG4VIS_USE_OPENGLX -DG4VIS_USE_OPENGLQT -DG4VIS_USE_OPENGL -DG4VIS_USE -I
//lib/QtCore.framework/Headers  -I //lib/QtGui.framework/Headers  -I
//lib/QtWidgets.framework/Headers -I //lib/QtOpenGL.framework/Headers -I
//lib/QtPrintSupport.framework/Headers -I //include/Qt -I//include
-I/usr/X11R6/include -I/usr/X11R6/include -DG4INTY_USE_QT
-I/Users/ish/g4/g4_install/include/Geant4 -c -o
/Users/ish/geant4_workdir/tmp/Darwin-clang/exampleB1/B1EventAction.o
src/B1EventAction.cc
clang++ -Wall -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings
-Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe
-O2 -fPIC -DG4OPTIMISE -Iinclude
-I/Users/ish/g4/g4_install/share/Geant4-10.0.1/geant4make/source/externals/clhep/include
-I/Users/ish/g4/g4_install/share/Geant4-10.0.1/geant4make/source/geometry/solids/usolids/include
-DG4VERBOSE -DG4_STORE_TRAJECTORY -DG4UI_USE_TCSH -DG4UI_USE_QT -DG4UI_USE
-DG4VIS_USE_ASCIITREE -DG4VIS_USE_DAWNFILE -DG4VIS_USE_GMOCRENFILE
-DG4VIS_USE_HEPREPFILE -DG4VIS_USE_RAYTRACER -DG4VIS_USE_VRMLFILE
-DG4VIS_USE_OPENGLX -DG4VIS_USE_OPENGLQT -DG4VIS_USE_OPENGL -DG4VIS_USE -I
//lib/QtCore.framework/Headers  -I //lib/QtGui.framework/Headers  -I
//lib/QtWidgets.framework/Headers -I //lib/QtOpenGL.framework/Headers -I
//lib/QtPrintSupport.framework/Headers -I //include/Qt -I//include
-I/usr/X11R6/include -I/usr/X11R6/include -DG4INTY_USE_QT
-I/Users/ish/g4/g4_install/include/Geant4 -c -o
/Users/ish/geant4_workdir/tmp/Darwin-clang/exampleB1/B1PrimaryGeneratorAction.o
src/B1PrimaryGeneratorAction.cc
clang++ -Wall -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings
-Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe
-O2 -fPIC -DG4OPTIMISE -Iinclude
-I/Users/ish/g4/g4_install/share/Geant4-10.0.1/geant4make/source/externals/clhep/include
-I/Users/ish/g4/g4_install/share/Geant4-10.0.1/geant4make/source/geometry/solids/usolids/include
-DG4VERBOSE -DG4_STORE_TRAJECTORY -DG4UI_USE_TCSH -DG4UI_USE_QT -DG4UI_USE
-DG4VIS_USE_ASCIITREE -DG4VIS_USE_DAWNFILE -DG4VIS_USE_GMOCRENFILE
-DG4VIS_USE_HEPREPFILE -DG4VIS_USE_RAYTRACER -DG4VIS_USE_VRMLFILE
-DG4VIS_USE_OPENGLX -DG4VIS_USE_OPENGLQT -DG4VIS_USE_OPENGL -DG4VIS_USE -I
//lib/QtCore.framework/Headers  -I //lib/QtGui.framework/Headers  -I
//lib/QtWidgets.framework/Headers -I //lib/QtOpenGL.framework/Headers -I
//lib/QtPrintSupport.framework/Headers -I //include/Qt -I//include
-I/usr/X11R6/include -I/usr/X11R6/include -DG4INTY_USE_QT
-I/Users/ish/g4/g4_install/include/Geant4 -c -o
/Users/ish/geant4_workdir/tmp/Darwin-clang/exampleB1/B1Run.o src/B1Run.cc
clang++ -Wall -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings
-Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe
-O2 -fPIC -DG4OPTIMISE -Iinclude
-I/Users/ish/g4/g4_install/share/Geant4-10.0.1/geant4make/source/externals/clhep/include
-I/Users/ish/g4/g4_install/share/Geant4-10.0.1/geant4make/source/geometry/solids/usolids/include
-DG4VERBOSE -DG4_STORE_TRAJECTORY -DG4UI_USE_TCSH -DG4UI_USE_QT -DG4UI_USE
-DG4VIS_USE_ASCIITREE -DG4VIS_USE_DAWNFILE -DG4VIS_USE_GMOCRENFILE
-DG4VIS_USE_HEPREPFILE -DG4VIS_USE_RAYTRACER -DG4VIS_USE_VRMLFILE
-DG4VIS_USE_OPENGLX -DG4VIS_USE_OPENGLQT -DG4VIS_USE_OPENGL -DG4VIS_USE -I
//lib/QtCore.framework/Headers  -I //lib/QtGui.framework/Headers  -I
//lib/QtWidgets.framework/Headers -I //lib/QtOpenGL.framework/Headers -I
//lib/QtPrintSupport.framework/Headers -I //include/Qt -I//include
-I/usr/X11R6/include -I/usr/X11R6/include -DG4INTY_USE_QT
-I/Users/ish/g4/g4_install/include/Geant4 -c -o
/Users/ish/geant4_workdir/tmp/Darwin-clang/exampleB1/B1RunAction.o
src/B1RunAction.cc
clang++ -Wall -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings
-Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe
-O2 -fPIC -DG4OPTIMISE -Iinclude
-I/Users/ish/g4/g4_install/share/Geant4-10.0.1/geant4make/source/externals/clhep/include
-I/Users/ish/g4/g4_install/share/Geant4-10.0.1/geant4make/source/geometry/solids/usolids/include
-DG4VERBOSE -DG4_STORE_TRAJECTORY -DG4UI_USE_TCSH -DG4UI_USE_QT -DG4UI_USE
-DG4VIS_USE_ASCIITREE -DG4VIS_USE_DAWNFILE -DG4VIS_USE_GMOCRENFILE
-DG4VIS_USE_HEPREPFILE -DG4VIS_USE_RAYTRACER -DG4VIS_USE_VRMLFILE
-DG4VIS_USE_OPENGLX -DG4VIS_USE_OPENGLQT -DG4VIS_USE_OPENGL -DG4VIS_USE -I
//lib/QtCore.framework/Headers  -I //lib/QtGui.framework/Headers  -I
//lib/QtWidgets.framework/Headers -I //lib/QtOpenGL.framework/Headers -I
//lib/QtPrintSupport.framework/Headers -I //include/Qt -I//include
-I/usr/X11R6/include -I/usr/X11R6/include -DG4INTY_USE_QT
-I/Users/ish/g4/g4_install/include/Geant4 -c -o
/Users/ish/geant4_workdir/tmp/Darwin-clang/exampleB1/B1SteppingAction.o
src/B1SteppingAction.cc
Creating shared library
/Users/ish/geant4_workdir/tmp/Darwin-clang/exampleB1/libexampleB1.dylib ...
ld: warning: directory not found for option '-F//lib'
ld: warning: directory not found for option '-F//lib'
ld: framework not found QtWidgets
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: ***
[/Users/ish/geant4_workdir/tmp/Darwin-clang/exampleB1/libexampleB1.dylib]
Error 1


Regards
Ish Mukul

 [ MIME part of type text/html without a name stripped ]

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

1 None: Re: Error with GNUMakefile   (John Allison - 08 Mar, 2014)
(_ Question: Re: Error with GNUMakefile   (Neil Fazel - 11 Mar, 2014)
(_ Note: Re: Error with GNUMakefile   (Ben Morgan - 12 Mar, 2014)
(_ Question: Re: Error with GNUMakefile   (Neil Fazel - 12 Mar, 2014)
(_ Note: Re: Error with GNUMakefile   (Ben Morgan - 14 Mar, 2014)
(_ None: Re: Error with GNUMakefile   (Neil Fazel - 14 Mar, 2014)
 Add Message Add Message
to: "Error with GNUMakefile"

 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 ]