Question

I am trying to use the C++ armadillo library (armadillo-0.9.10) on a Mac Pro. I follow the manual installation instruction in the README.txt file. I have modified the config.hpp file to indicate that I have LAPACK and BLAS installed. I then try to compile the examples. I successfully compile and run example1.cpp, but when I try to run example2.cpp it reports that I need to have ATLAS or LAPACK installed. I added the #include header to example2.cpp and use the -framework Accelerate flag to compile in the makefile. However, it is still not working. What gives? I should have LAPACK and BLAS installed by default with Xcode, no? Any help here would be wonderful. Thank you, thank you!

Was it helpful?

Solution

I am not sure if You are still trying to figure this out or now but to answer your original question, you can easily download and setup Armadillo from the website: http://arma.sourceforge.net/download.html

I would rather use home brew instead:

brew install armadillo

OTHER TIPS

Try homebrew. it will install necessary packages and save your time

brew install homebrew/science/armadillo 
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top