Message: Help: make with Geant4make(clang: error: linker command failed with exit code 1 (use -v to see invocation)) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Help: make with Geant4make(clang: error: linker command failed with exit code 1 (use -v to see invocation)) 

Forum: Installation and Configuration
Date: 24 Mar, 2015
From: Xiao Tong <Xiao Tong>

I installed geant4.10.1 on Mac 10.10.2(Yosemite) using cmake.
I can successfully run exampleB1 and Handson examples using cmake.
Today, I tried to use Geant4make to run exampleB1, I got the problems below:
Anyone who can help me to solve it?
Thank you so much.

koutekiMacBook-Pro:B1-cp $ ls
CMakeLists.txt README exampleB1.in init_vis.mac src
GNUmakefile build exampleB1.out run1.mac vis.mac
History exampleB1.cc include run2.mac

koutekiMacBook-Pro:B1-cp $ make
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 ...
Compiling B1ActionInitialization.cc ...
Compiling B1DetectorConstruction.cc ...
Compiling B1EventAction.cc ...
Compiling B1PrimaryGeneratorAction.cc ...
Compiling B1Run.cc ...
Compiling B1RunAction.cc ...
Compiling B1SteppingAction.cc ...
Creating shared library /Users/JiangJY12/geant4_workdir/tmp/Darwin-clang/exampleB1/libexampleB1.dylib ...
ld: framework not found QtWidgets
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/Users/JiangJY12/geant4_workdir/tmp/Darwin-clang/exampleB1/libexampleB1.dylib] Error 1

 Add Message Add Message
to: "Help: make with Geant4make(clang: error: linker command failed with exit code 1 (use -v to see invocation))"

 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 ]