Skip to content

brew install gsl not working #3141

Discussion options

You must be logged in to vote

Solution from @rouzbehy:
g++ -Wall -I/opt/homebrew/Cellar/gsl/2.7.1/include -c test.cpp -o test.o
g++ -L/opt/homebrew/Cellar/gsl/2.7.1/lib test.o -lgsl -lgslcblas -o test.out

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jess-churchill
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jess-churchill
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants