BDSIM Compilation fail

Issue #129 resolved
William Shields created an issue

Having pulled commits from the weekend and today, BDSIM is not compiling:

[ 45%] Linking CXX shared library librebdsimLib.dylib ld: library not found for -lbdsimRootEvent clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [analysis/librebdsimLib.dylib] Error 1 make[1]: [analysis/CMakeFiles/rebdsimLib.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....

Comments (4)

  1. Laurie Nevay

    The latest version requires root6 for analysis and won't compile with root5. Please switch to root6. You can use

    sudo port deactivate root5
    

    before upgrading in macports. You'll have to rebuild from scratch.

  2. William Shields reporter

    Ok, thanks, that solved it. FYI, when I ccmake and generate, I get this output:

    /Users/williamshields/bdsim/bdsim_git/analysis

    ROOTDICTS:/Users/williamshields/bdsim/bdsim_git/analysis/ConfigLinkDef.hh/Users/williamshields/bdsim/bdsim_git/analysis/DataLoaderLinkDef.hh/Users/williamshields/bdsim/bdsim_git/analysis/EventAnalysisLinkDef.hh/Users/williamshields/bdsim/bdsim_git/analysi s/EventLinkDef.hh/Users/williamshields/bdsim/bdsim_git/analysis/SamplerAnalysisLinkDef.hh

    It generates fine and BDSIM compiles and runs, but I'm not sure if you're aware of this output...

  3. Log in to comment