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]

Re: Linking problem with VC++6


Fiaschi writes:
 > I have tried to run the example program for non linear least-square fitting with
 > Microsoft Visual C++ 6. The compiler return only these 2 errors:
 > Linking...
 > fitting.obj : error LNK2001: unresolved external symbol
 > _gsl_multifit_fdfsolver_lmsder
 > fitting.obj : error LNK2001: unresolved external symbol _gsl_rng_default
 > Release/fitting.exe : fatal error LNK1120: 2 unresolved externals
 > 
 > How I can solve this problem?

The libraries for gsl and gslcblas need to be defined in the link
options for the project so the compiler can find them.

The workspace for the 'demo' program has some examples for the
different compilation options (Debug, Release, etc).

regards

-- 
Brian Gough


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