forum.alglib.net
http://forum.alglib.net/

LNK2019: unresolved external symbol
http://forum.alglib.net/viewtopic.php?f=2&t=150
Page 1 of 1

Author:  dongzn [ Tue Jan 11, 2011 3:30 am ]
Post subject:  LNK2019: unresolved external symbol

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!

Author:  Sergey.Bochkanov [ Tue Jan 11, 2011 8:19 am ]
Post subject:  Re: LNK2019: unresolved external symbol

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.

Author:  dongzn [ Wed Jan 12, 2011 4:38 am ]
Post subject:  Re: LNK2019: unresolved external symbol

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!

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/