This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: Linking error in MSVC 6.0
- From: Brian Gough <brian dot gough at network-theory dot co dot uk>
- To: Trond Mathias Døskeland <trond dot doskeland at nhh dot no>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Fri, 13 Dec 2002 13:56:47 +0000 (GMT)
- Subject: Re: Linking error in MSVC 6.0
- References: <3DF72A20.600133EF@nhh.no>
Trond Mathias Døskeland writes:
> This code I compile with GCC without any errors. When I use MSVC I get
> 18 errors. This although I have added ligsl.lib and libgslcblas.lib to
> the list of libraries and compiled the DLLs with /MD.
>
I could not reproduce the problem.
I created an empty "Win32 Console Application" using the new project
wizard and added the code as test.cpp. I set the runtime library to
"Multithreaded DLL" and put libgsl.lib, libgslcblas.lib in the link
library modules option. It compiled and ran.
Brian