Hi, all
I downloaded the GSL 1.8 version package for win32 and installed it. My
Visual C++ 6.0 Project Configure setting are:
====================================================================
Tools->Options->Directories->Include files->C:\Program
Files\Gnuwin32\Include
Tools->Options->Directories->Library files->C:\Program
Tools->Options->Directories->Files\Gnuwin32\Lib
Project->Settings->Link->Input->Object/library Modules: libgslcblas.a
libgsl.a
Project->Settings->Link->General->Object/library Modules: libgslcblas.a
libgsl.a
Additional Library path: C:\Program Files\GnuWin32\lib
Project->Settings->C/C++->Preprocessor definitions: GSL_DLL
Additional include directories: C:\Program Files\GnuWin32\include Use
run-time library: Debug Multithreaded Dll
=========================================================
I made a simple Win32 Console Application project:
=================================
#include "stdafx.h"
#include <gsl/gsl_math.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_min.h>
#include <gsl/gsl_fit.h>
int main(int argc, char* argv[])
{
const gsl_min_fminimizer_type *T;
T = gsl_min_fminimizer_brent;
}
=====================================
It was complied sucessfully but when building I received the error
message :
libgsl.a(min_brent.o) : error LNK2001: unresolved external symbol
_finite There is no broblem when I used other funcions in gsl.fit.h such
as gsl_fit_wlinear.
I guess the broblem coming from the code of "T =
gsl_min_fminimizer_brent" because it is fine after I commented it.
many thanks in advance for help.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users