Opened 10 years ago
Closed 10 years ago
#277 closed Bug (fixed)
Trouble compiling on Mavericks
Reported by: | Tien-Tien | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | Cc: |
Description
Hi Delphes team,
I have been trying to compile the latest version of Delphes on OSX 10.9.2 and run into the following error message:
>> Compiling external/tcl/tclObj.c gcc: error: unrecognized command line option ‘-stdlib=libc++’ gcc: error: unrecognized command line option ‘-stdlib=libc++’ make: *** [tmp/external/tcl/tclObj.o] Error 1
I am running with gcc version 4.8.1 and architecture x86_64-apple-darwin12.5.0
Is this a problem with using libc++ instead of libstdc++? I am puzzled because it seems that others who run Mavericks are able to compile Delphes fine.
thanks.
Change History (2)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Problem was solved by pointing the environment variables to the correct compiler installation.
Note:
See TracTickets
for help on using tickets.
This kind of message indicates that there is a problem with your XCode and ROOT installation.
This problem is discussed on the ROOT forum:
http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=17190&start=75
The solution is to
Recently, I've tested this solution myself.
Here is what I've done to correctly build ROOT and Delphes under Mac OS X 10.9: