Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » 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 #758129] Tue, 22 November 2011 02:05 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..

Also, any advice on checking if the library is correctly linked or not will help...I think I may have messed up there.
Thanks
Re: Error "make:****" while trying to build a project which uses GNU scientific library [message #758174 is a reply to message #758129] Tue, 22 November 2011 08:55 Go to previous message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Here is described how to add a library
http://wiki.eclipse.org/CDT/User/FAQ#How_do_I_add_an_external_library_to_my_C.2B.2B_project.3F



Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:new to CDT
Next Topic:How to remove include paths
Goto Forum:
  


Current Time: Thu Apr 25 22:03:08 GMT 2024

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

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

Back to the top