Re: libgsl.a(min_brent.o) : error LNK2001: unresolved external symbol _finite

ahafez <[email protected]>
Newsgroups gmane.comp.windows.gnu.user
Message-ID <[email protected]>
I have exactly the same problem, have looked all over to find a solution, but
haven't found any (must say my C++ knowledge is that good, to go really
deep, however google didn't seem to have the answer either....)

hope someone has an idea.....



Zhaojian Li wrote:
> 
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gnuwin32-users
> 
> 

-- 
View this message in context: http://www.nabble.com/libgsl.a%28min_brent.o%29-%3A-error-LNK2001%3A-unresolved-external-symbol-_finite-tf3463626.html#a9869250
Sent from the gnuwin32-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.