forum.alglib.net http://forum.alglib.net/ |
|
alglib and visual studio 2012 http://forum.alglib.net/viewtopic.php?f=2&t=3797 |
Page 1 of 1 |
Author: | elisseev2000 [ Tue Mar 21, 2017 8:46 am ] |
Post subject: | alglib and visual studio 2012 |
Hi! I have to use the AlgLib in my c++ project. When I include <linalg.h> I got the error LNK2019: unresolved external symbol __CrtDbgReportW referenced in function "void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (?_Debug_message@std@@YAXPB_W0I@Z) G:\ABSOLUT+ALGLIB\ABSOLUTFULL\ABSOLUT\libcpmtd.lib(stdthrow.obj) ABSOLUT. Please, explain me how I can resolve it. |
Author: | Sergey.Bochkanov [ Thu Mar 23, 2017 4:16 pm ] |
Post subject: | Re: alglib and visual studio 2012 |
Hi! You should compile other .cpp files from ALGLIB. Not include them, but add to project tree and compile. |
Author: | elisseev2000 [ Fri Mar 24, 2017 7:51 am ] |
Post subject: | Re: alglib and visual studio 2012 |
It doesn't help. |
Author: | Sergey.Bochkanov [ Fri Mar 24, 2017 12:19 pm ] |
Post subject: | Re: alglib and visual studio 2012 |
Hi! I studied your message one more time, and performed quick googling for "unresolved external symbol __CrtDbgReportW". It is not ALGLIB problem, it is issue with some of the project settings. There is an answer of stackoverflow at the top of the google page which can be useful. |
Author: | elisseev2000 [ Fri Mar 24, 2017 5:22 pm ] |
Post subject: | Re: alglib and visual studio 2012 |
Hi! When I delete #include <linalg.h> then my project builds without errors. |
Author: | hybrid123 [ Wed Apr 19, 2017 1:35 pm ] |
Post subject: | Re: alglib and visual studio 2012 |
It works for me in VS 2015. Thanks. Sergey.Bochkanov wrote: Hi!
You should compile other .cpp files from ALGLIB. Not include them, but add to project tree and compile. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |