M
manuhack
#include <iostream>
#include <gsl/gsl_math.h>
int main(){
double x;
x=gsl_pow_2(4);
std::cout << x << std::endl;
}
I ran an example using GSL. I added the path after -I when I compiled
it. I kept getting error. The error message was: undefined reference
to 'gsl_pow_2.
Any clue?
#include <gsl/gsl_math.h>
int main(){
double x;
x=gsl_pow_2(4);
std::cout << x << std::endl;
}
I ran an example using GSL. I added the path after -I when I compiled
it. I kept getting error. The error message was: undefined reference
to 'gsl_pow_2.
Any clue?