Error when with Xcode 5.0 and Rcpp (Command Line Tools ARE installed)

前端 未结 3 2204
隐瞒了意图╮
隐瞒了意图╮ 2020-12-01 04:49

I have a new iMac and I\'m trying to run code using the Rcpp library that has been working on both my old iMac and Macbook Pro without issue. I have tried everything I can\

3条回答
  •  隐瞒了意图╮
    2020-12-01 05:27

    A easier solution would be the following. You should soft link the llvm compiler, in the terminal type:

    cd /usr/bin
    sudo ln -fs clang llvm-gcc-4.2
    sudo ln -fs clang++ llvm-g++-4.2
    

    Note: This also works for mex in Matlab.

提交回复
热议问题