Hi list,
Anyone knows how to link GSL and XCode? I mean to do "build", "build
and go"?
My GSL is in: /usr/local/include/gsl and /usr/local/lib/gsl. So, when
I do in XCode projects target paths
- Header Search Paths - /usr/local/include/gsl
- Library Search Paths - /usr/local/lib/gsl
and
- Other Linker Flags - -lgsl
The project with main.c
-------------------
#include <stdio.h>
#include <gsl/gsl_sf_bessel.h>
int
main (void)
{
double x = 5.0;
double y = gsl_sf_bessel_J0 (x);
printf ("J0(%g) = %.18e\n", x, y);
return 0;
}
-------------------------
comes out with error message: "error: gsl/gsl_sf_bessel.h: No such
file or directory",
although everything's fine when I do the same in the terminal.
What I am doing wrong?
many thanks,
George
************************************************************************
*******************
Dr. George Japaridze CTSPS, Clark
Atlanta University
[EMAIL PROTECTED] 404 880 6420
Office
http://ctsps.cau.edu/george/index.html 404 226 3847 Cell
_______________________________________________
Help-gsl mailing list
Help-gsl@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gsl