question #867
question
#867
-
|
Beta Was this translation helpful? Give feedback.
Answered by
seosigoto
Nov 29, 2023
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.
0 replies
Answer selected by
lucasstevemoore
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to 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++
DIC=$(PWD)
CFLAGS=-c -Wall -g -I $(DIC)
LDFLAGS += -I /opt/homebrew/Cellar/gsl/2.7.1/inc