Trouble getting GSL to work in Netbeans/Cygwin

  • From: "i'm mortal" < >
  • To:
  • Subject: Trouble getting GSL to work in Netbeans/Cygwin
  • Date: Tue, 05 Feb 2013 15:18:28 -0500

Thanks for your response,

I've tried some things with the linker section. 

The linker section has a bunch of different options.   Intuitively you would 
think that what was required would be that you add the libraries by finding 
and directly linking to their .a files via linker/libraries, but that hasn't 
worked for me.  

Where and how exactly should I be editing linker section of properties? 

Using the GSL manual's first example program:

Code:
     #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;
     }



I managed to get GSL to work in the cygwin terminal as follows:
Wyley@BenjaminSisko ~

Code:
$ gcc -o o hello_cygwin.c -llibgsl

Wyley@BenjaminSisko ~
$ ./o
J0(5) = -1.775967713143382920e-01



So, I can now use GSL in terminal.  However, how I do I get netbeans to do 
the same thing?






Trouble getting GSL to work in Netbeans/Cygwin

i'm mortal 02/05/2013

Trouble getting GSL to work in Netbeans/Cygwin

i'm mortal 02/05/2013

Re: Trouble getting GSL to work in Netbeans/Cygwin

Paulo Panhoto 02/05/2013

Trouble getting GSL to work in Netbeans/Cygwin

i'm mortal 02/05/2013

Project Features

About this Project

CND was started in November 2009, is owned by Leonid Lenyashin, and has 130 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close