View unanswered posts | View active topics
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.
|
Page 1 of 1
|
[ 3 posts ] |
|
Author |
Message |
dongzn
|
Post subject: LNK2019: unresolved external symbol Posted: Tue Jan 11, 2011 3:30 am |
|
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 |
|
|
Sergey.Bochkanov
|
Post subject: Re: LNK2019: unresolved external symbol Posted: Tue Jan 11, 2011 8:19 am |
|
|
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 |
|
|
dongzn
|
Post subject: Re: LNK2019: unresolved external symbol Posted: Wed Jan 12, 2011 4:38 am |
|
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 |
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 27 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
|