forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 9:06 am

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: LNK2019: unresolved external symbol
PostPosted: Tue Jan 11, 2011 3:30 am 
Offline

Joined: Tue Jan 11, 2011 3:24 am
Posts: 2
This the first time I use the alglib. When I try to build an example from the test_i.cpp or test_c.cpp in MSVC 2005, the code compiles with no errors. But in the linking stage, it has lots of similar errors: LNK2019: unresolved external symbol... Any help will be appreciated. Thanks!


Top
 Profile  
 
 Post subject: Re: LNK2019: unresolved external symbol
PostPosted: Tue Jan 11, 2011 8:19 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
I suppose that you've compiled test_i.cpp only. You have to compile all .cpp files from "/src" directory. Having their headers successfully included is not enough.


Top
 Profile  
 
 Post subject: Re: LNK2019: unresolved external symbol
PostPosted: Wed Jan 12, 2011 4:38 am 
Offline

Joined: Tue Jan 11, 2011 3:24 am
Posts: 2
Thanks much for your reply. Yeah, when I include all the /src/*.cpp files in the project, the test files runs as expected. Thanks again for your reply! Very good coverage of the ALGLIB libraries!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 38 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group