question #867
-
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
brew install gsl The gsl folder containing the relevant header files are in "/opt/homebrew/Cellar/gsl/2.7.1/include/" The CAVIAR packages can be successfully compiled using "make" if the following line is added to "Makefile": LDFLAGS += -I /opt/homebrew/Cellar/gsl/2.7.1/include/ I added the line on line 4, below CFLAGS=-c -Wall -g -I $(DIC) and above LDFLAGS += -I $(DIC)/armadillo/include/ -DARMA_DONT_USE_WRAPPER -llapack -lblas -lgslcblas -lgsl That is: CC=g++ |
Beta Was this translation helpful? Give feedback.
brew install gsl
The gsl folder containing the relevant header files are in "/opt/homebrew/Cellar/gsl/2.7.1/include/"
The CAVIAR packages can be successfully compiled using "make" if the following line is added to "Makefile":
LDFLAGS += -I /opt/homebrew/Cellar/gsl/2.7.1/include/
I added the line on line 4, below
CFLAGS=-c -Wall -g -I $(DIC)
and above
LDFLAGS += -I $(DIC)/armadillo/include/ -DARMA_DONT_USE_WRAPPER -llapack -lblas -lgslcblas -lgsl
That is:
CC=g++
DIC=$(PWD)
CFLAGS=-c -Wall -g -I $(DIC)
LDFLAGS += -I /opt/homebrew/Cellar/gsl/2.7.1/inc