Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3443018
By: nobody

when running the example code in the gsl documentation

#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 am able to compile it, but when building, it produces the following errors

Cpp1.obj : error LNK2001: unresolved external symbol _gsl_sf_bessel_J0
Debug/Cpp1.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

i am compiling with ms visual c++ and i have included the library and header
files respectively in the lib and include path of my compiler.

many thanks in advance for help.


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=74807


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to