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 09:49:58 -0500

I installed GSL using the setup.exe process provided by cygwin, but, although 
netbeans acknowledges GSL's existence in the editor and detects no errors 
prior to runtime, whenever I try to invoke any function within any .h file 
within GSL, I always get an error message returned that is as follows:


> g++ -o dist/Debug/Cygwin-Windows/cppapplication_3 
> build/Debug/Cygwin-Windows/main.o  
> build/Debug/Cygwin-Windows/main.o: In function `main':
> /cygdrive/c/Users/Wyley/Documents/NetBeansProjects/CppApplication_3/main.cpp:15:
>  undefined reference to `_gsl_rng_env_setup'


The GSL files are in the Cygwin folder exactly where Cygwin by default 
chooses to install them.  

I am illiterate in how to use linux or terminals, and part of the reason why 
I am using netbeans was to insulate myself from those things because I wasn't 
sure that I would be programming often enough to make the investment of 
learning how to use them worthwhile . 

My present tack is try to learn how to use the Cygwin terminal well enough to 
run C programs on it so that I can isolate whether the problem is with Cygwin 
or Netbeans.  If that doesn't work, i'll try to learn how to run C programs 
in linux itself, as GSL is native to linux. 

Any help would be greatly appreciated.






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 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close