Hello-- I am trying to use the GSL library in C++, and am having an issue with GSL vectors. As header files for other things that I'm using GSL for, I'm including--
# include <C:\cygwin64\usr\include\gsl\gsl_sf_gamma.h>
# include <C:\cygwin64\usr\include\gsl\gsl_sf_expint.h>
The functions that I'm using (like gsl_sf_gamma_inc for example) are working fine, so I seem to be setting up the header files correctly and getting the paths right.
When I try to use gsl vectors, though, I am including--
# include <C:\cygwin64\usr\include\gsl\gsl_vector.h>
When I compile the program, Cygwin appears to be recognizing it as a valid header file, but when I try to start using gsl_vectors in my code, for example--
gsl_vector *v = gsl_vector_alloc(3);
Visual studio is giving me--
Error: identifier "gsl_vector" is undefined
Error: identifier "gsl_vector_alloc" is undefined
How can I get this to work?