Error "make:****" while trying to build a project which uses GNU scientific library [message #758129] |
Mon, 21 November 2011 21:05  |
Eclipse User |
|
|
|
Hey ,
I am new to Eclipse and trying to use the GNU scientific library to do some differential equation stuff in C++.
I downloaded and installed the GNU library.
But when I try to run a small test code eclipse keeps giving this error --
Description Resource Path Location Type
make: *** [gsl_test] Error 1 gsl_test line 0 C/C++ Problem
The code I use is standard picked up from GSL webpage for testing library setup:
#include <stdio.h>
#include <gsl/gsl_sf_bessel.h>
int main (void)
{
double x, y;
x = 5.0;
y = gsl_sf_bessel_J0 (x);
printf ("J0(%g) = %.18e\n", x, y);
return 0;
}
I cant figure whats going wrong...Need advice..
Also, any advice on checking if the library is correctly linked or not will help...I think I may have messed up there.
Thanks
|
|
|
|
Powered by
FUDForum. Page generated in 0.03171 seconds