Opened 10 years ago
Closed 10 years ago
#371 closed Bug (fixed)
Compilation Error
Reported by: | iris | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | Cc: |
Description
Hello, I have got this error when I tried to install Delphes in MG5
gcc: error: unrecognized command line option ‘-stdlib=libc++’
gcc: error: unrecognized command line option ‘-stdlib=libc++’
make: * [tmp/external/tcl/tclObj.o] Error 1
Error detected during the compilation. Please check the compilation error and run make manually.
Are there any solutions to this? Thank you very much!!!
Change History (5)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
I have changed the line as you said and build.
When I tried to install Delphes in MadGraph, the compilation error remained. And the Delphes/Makefile was automatically changed back to the original version( i.e. the line
@$(CC) $(patsubst -std=%,,$(CXXFLAGS)) -c $< $(OutPutOpt)$@
changed back to
@gcc $(CXXFLAGS) -c $< $(OutPutOpt)$@
I don't know why.
comment:3 by , 10 years ago
comment:5 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This problem was already discussed in
https://cp3.irmp.ucl.ac.be/projects/delphes/ticket/315
and it's fixed in the latest Delphes release.
MadGraph is using previous version of Delphes where this problems is still present.
Could you try to replace the following line in Delphes/Makefile
with the following expression
The commands to build Delphes are: