简体   繁体   中英

Building levmar on Mac Yosemite

Hi I want to build levmar (Levenberg Marquardt) C++ library on Mac. It comes with a makefile ( http://users.ics.forth.gr/~lourakis/levmar/index.html ) but I have some questions about how to use it on Mac (Yosemite)

(1) The gcc I have currently installed on Mac is in fact clang. I can confirm this if I run gcc -v on the terminal. Should I install proper gcc before building levmar?

(2) Levmar recommends using LAPACK (Linear Algebra Library). Again, I have been reading on another stack overflow post ( Trying to build the LEVMAR math library on a mac using the Accelerate Framework ) that they were using Mac OS Accelerate framework that comes with LAPACK. Does anyone know how do I get that on yosemite? Or should I be building LAPACK standalone on mac first?

Thank you

我使用Trying的Makefile 使用 Janos发布的Accelerate Frameworkmac上构建LEVMAR数学库 ,它适用于使用clang和Accelerate框架的levmar-2.6。

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM