This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Linking problems Visual C, v 6.0


Dear Sirs,

I am trying to use GSL in Visual C++ v 6.0, 
for sorting. 
I use the includes:

#include "C:\Program Files\GSL\include\gsl\gsl_rng.h"
#include "C:\Program Files\GSL\include\gsl\gsl_sort_double.h"

An the example program given in the GSL-help. 

In principle I can compile, but when linking I get the messages:

uwb_main.obj : error LNK2001: unresolved external symbol
_gsl_sort_smallest
uwb_main.obj : error LNK2001: unresolved external symbol
_gsl_rng_uniform
uwb_main.obj : error LNK2001: unresolved external symbol _gsl_rng_alloc
uwb_main.obj : error LNK2001: unresolved external symbol
_gsl_rng_default
uwb_main.obj : error LNK2001: unresolved external symbol
_gsl_rng_env_setup
Debug/uwb.exe : fatal error LNK1120: 5 unresolved externals

I have the paths to GSL-include and GSL-library in Visual C correctly,
so I don't know why I get these errors.

Could you please help me?

Thank you in advance
  Marco


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]