Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Error "make:****" while trying to build a project which uses GNU scientific library
Error "make:****" while trying to build a project which uses GNU scientific library [message #758126] Tue, 22 November 2011 01:43 Go to next message
Alok Sharma is currently offline Alok SharmaFriend
Messages: 2
Registered: November 2011
Junior Member
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
Re: Error &quot;make:****&quot; 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 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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?
Previous Topic:Eclipse and maximo
Next Topic:Class to hold DB Connections
Goto Forum:
  


Current Time: Fri Jun 18 03:51:38 GMT 2021

Powered by FUDForum. Page generated in 0.02817 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top