Skip to content

question #867

Closed Answered by seosigoto
lucasstevemoore asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lucasstevemoore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants