forum.alglib.net

ALGLIB forum
It is currently Tue Nov 21, 2017 11:49 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  [ 6 posts ] 
Author Message
 Post subject: alglib and visual studio 2012
PostPosted: Tue Mar 21, 2017 8:46 am 
Offline

Joined: Tue Mar 21, 2017 8:39 am
Posts: 3
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.


Top
 Profile  
 
 Post subject: Re: alglib and visual studio 2012
PostPosted: Thu Mar 23, 2017 4:16 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 788
Hi!

You should compile other .cpp files from ALGLIB. Not include them, but add to project tree and compile.


Top
 Profile  
 
 Post subject: Re: alglib and visual studio 2012
PostPosted: Fri Mar 24, 2017 7:51 am 
Offline

Joined: Tue Mar 21, 2017 8:39 am
Posts: 3
It doesn't help.


Top
 Profile  
 
 Post subject: Re: alglib and visual studio 2012
PostPosted: Fri Mar 24, 2017 12:19 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 788
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.


Top
 Profile  
 
 Post subject: Re: alglib and visual studio 2012
PostPosted: Fri Mar 24, 2017 5:22 pm 
Offline

Joined: Tue Mar 21, 2017 8:39 am
Posts: 3
Hi! When I delete #include <linalg.h> then my project builds without errors.


Top
 Profile  
 
 Post subject: Re: alglib and visual studio 2012
PostPosted: Wed Apr 19, 2017 1:35 pm 
Offline

Joined: Wed Apr 19, 2017 1:30 pm
Posts: 1
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.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 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