The code I am working on was compiling fine before the upgrade but now when I come to link all of my files together using either:
g++ {List of *.o files} Executable -l...
or the same thing with clang as my compiler I get an error for every function call from a linked function along the lines of:
"fastjet::sorted_by_pt(std::__1::vector<fastjet::PseudoJet, std::__1::allocator<fastjet::PseudoJet> > const&)", referenced from:
_main in ZJetGen.o
CZMultijet::weight() in ZJets.o
...
"std::__1::__vector_base_common<true>::__throw_out_of_range() const", referenced from:
...
Does anyone know what might be causing this? Thanks in advance Jack
This happens because header file got deleted after the update the Mavericks, so you need to install them, here are the steps:
Install or update to the new 5.0.1 XCode
Install Command Line Tools In OSX 10.9 Mavericks, by typing the following command in a terminal window, then click on install: xcode-select --install
Now it should work fine
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.