[sldev] Help compiling the Viewer (could not deduce template
argument ... from 'LLMessageThrottleEntry')
Stefano Crosta (scrosta)
scrosta at cisco.com
Wed Oct 10 03:04:08 PDT 2007
Hello,
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,_Diff2,const _Ty &,_Pr,std::random_access_iterator_tag)' being compiled
1> with
1> [
1> _FwdIt1=LLMessageThrottle::message_list_iterator_t,
1> _Diff2=int,
1> _Ty=LLMessageThrottleEntry,
1> _Pr=bool (__cdecl *)(LLMessageThrottleEntry,LLMessageThrottleEntry)
1> ]
1> c:\sources\secondlife\lindenlabclient\indra\llmessage\llmessagethrottle.cpp(114) : see reference to function template instantiation '_FwdIt1 std::search_n<LLMessageThrottle::message_list_iterator_t,int,LLMessageThrottleEntry,bool(__cdecl *)(LLMessageThrottleEntry,LLMessageThrottleEntry)>(_FwdIt1,_FwdIt1,_Diff2,const _Ty &,_Pr)' being compiled
1> with
1> [
1> _FwdIt1=LLMessageThrottle::message_list_iterator_t,
1> _Diff2=int,
1> _Ty=LLMessageThrottleEntry,
1> _Pr=bool (__cdecl *)(LLMessageThrottleEntry,LLMessageThrottleEntry)
1> ]
(when compiling llmessage)
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!
Any help would be more than welcome... before i spend 3 days re-installing XP and an older VS version :(
thanks
Stefano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20071010/03a76f4e/attachment.htm
More information about the SLDev
mailing list