[Gate-users] CT example
John Apostolakis
John.Apostolakis at cern.ch
Mon Jan 28 15:51:54 CET 2019
Dear Fatimah,
I think that you have put the quote in the wrong place.
Instead it should be
g++ -O3 `root-config -cflags -glibs` AnalyzeCT.cpp -o AnalyzeCT
In other words, the following
AnalyzeCT.cpp -o AnalyzeCT
is always passed to g++.
That way it should find always find AnalyzeCT.cpp - so long as you are in the correct directory.
John
===================================================
John Apostolakis, EP Department, CERN
SFT (SoFTware for Experiments) Group
Office: Building 32/ room R-003 (ground floor), Mail: J27210
Email: john.apostolakis at cern.ch<mailto:john.apostolakis at cern.ch> Office Tel: +41-22-767-7239
------------------------------------------------------------------------------------------
On 28 Jan 2019, at 09:25, Fatimah Alyami <fatimaalfahhad8 at gmail.com<mailto:fatimaalfahhad8 at gmail.com>> wrote:
Hello all,
When I try to run the CT example on vGATE8.1 using this command as written in the readme file:
g++ -O3 `root-config -cflags -glibs AnalyzeCT.cpp -o AnalyzeCT`
I get this response:
g++: fatal error: no input files
compilation terminated.
AnalyzeCT.cpp: command not found
Unknown argument "-cflags"!
Usage: root-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--auxcflags] [--ldflags] [--new] [--nonew] [--libs] [--glibs] [--evelibs] [--bindir] [--libdir] [--incdir] [--etcdir] [--srcdir] [--noauxcflags] [--noauxlibs] [--noldflags] [--has-<feature>] [--arch] [--platform] [--config] [--features] [--ncpu] [--git-revision] [--python-version] [--cc] [--cxx] [--f77] [--ld ] [--help]
Does anyone know why? and how can I complete the example without errors.
Thank you In advance for any help you could provide.
_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org<mailto:Gate-users at lists.opengatecollaboration.org>
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20190128/32422f65/attachment.html>
More information about the Gate-users
mailing list