-framework Accelerate, where to include

前端 未结 1 1671
孤城傲影
孤城傲影 2021-01-27 08:29

I\'m trying to compile someone else\'s code and there isn\'t a simple header file. I need to link the default lapack and blas libraries on osx, and after some searching I figure

1条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-27 09:24

    The #include line would go into one or more of the source files, whichever ones uses APIs from the Accelerate framework. Are you getting compile errors? If not, then there's no need to add such an include line. If you are, then you need to add it near the top of whichever file is encountering the errors resulting from lack of those declarations.

    0 讨论(0)
提交回复
热议问题