[sldev] Help compiling the Viewer (could not deduce template argument ... from 'LLMessageThrottleEntry')

Stefano Crosta (scrosta) scrosta at cisco.com
Wed Oct 10 08:55:51 PDT 2007


Brian, thanks for answering. I set up a page:
https://wiki.secondlife.com/wiki/Compiling_Issues_with_Vista/MSVS2008
with the whole copy of the error and my version of
llmessagethrottle.cpp. In case that helps...

Thanks,
Stefano

> -----Original Message-----
> From: brian at brianm.org [mailto:brian at brianm.org] On Behalf Of Soft
> Sent: Wednesday, October 10, 2007 3:17 PM
> To: Stefano Crosta (scrosta)
> Cc: SLDev at lists.secondlife.com
> Subject: Re: [sldev] Help compiling the Viewer (could not 
> deduce template argument ... from 'LLMessageThrottleEntry')
> 
> On 10/10/07, Stefano Crosta (scrosta) <scrosta at cisco.com> wrote:
> >
> >  this is a *desperate* call for help. I am trying to compile the 
> > viewer on a new dev machine and, silly me, it's a Vista OS 
> with Visual 
> > Studio 2008. I have been able to compile all the libs regardless of 
> > minor issues with the wiki doc, gone through mad issues with file 
> > permissions when using 7-zip (DON'T, on Vista), (and am 
> willing to put 
> > more info on the wiki) but this one i really can't solve:
> >
> >
> >  1>llmessagethrottle.cpp
> >  1>c:\program files\development\microsoft visual studio
> > 9.0\vc\include\algorithm(406) : error C2784: 'bool std::operator 
> > ==(const std::deque<_Ty,_Alloc> &,const 
> std::deque<_Ty,_Alloc> &)' : 
> > could not deduce template argument for 'const 
> std::deque<_Ty,_Alloc> 
> > &' from 'LLMessageThrottleEntry'
> >  1>        c:\program files\development\microsoft visual studio
> > 9.0\vc\include\deque(1341) : see declaration of 'std::operator =='
> >  1>        c:\program files\development\microsoft visual studio
> > 9.0\vc\include\algorithm(435) : see reference to function template 
> > instantiation '_FwdIt1 
> std::_Search_n<_FwdIt1,_Diff2,_Ty,bool(__cdecl
> > 
> *)(LLMessageThrottleEntry,LLMessageThrottleEntry)>(_FwdIt1,_FwdIt1,_Di
> > ff2,const _Ty &,_Pr,std::random_access_iterator_tag)' being compiled
> > [..removed check the link!.]
> >
> >  After this, i get hundred of errors all related to:
> >  >  could not deduce template argument for 'SOMETHING' from 
> > 'LLMessageThrottleEntry'
> >
> >  Any idea of why? I could not find any evidence of the VS 9 
> compiler 
> > to have changed, but that seems to be the case. I guess 
> some explicit 
> > argument template declaration would do the trick... but i 
> can't figure out where!
> 
> It would help to post the surrounding lines from the 
> llmessagethrottle.cpp source in the version of the source 
> you're using.
> 
> Also, it's not uncommon that some of the changes aren't 
> documented until after the compiler is out of beta. You may 
> well be experiencing changes before the Visual Studio team is 
> aware of them.
> 
> 
> >  Any help would be more than welcome... before i spend 3 days 
> > re-installing XP and an older VS version :(
> 
> You shouldn't need to install XP. Many people are using the 
> free express version of Visual Studio 2005 with success. 
> There's a JIRA that carries current versions of the project 
> files, which should be referenced from the build instruction page.
> 


More information about the SLDev mailing list