|
Re: Error "make:****" while trying to build a project which uses GNU scientific li [message #758127 is a reply to message #758126] |
Tue, 22 November 2011 01:46 |
|
On 2011.11.21 18:43, Alok wrote:
> 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..
> Thanks
>
Eclipse CDT forum?
|
|
|
Powered by
FUDForum. Page generated in 0.03681 seconds