[sldev] Viewer Problems
Matthew Dowd
matthew.dowd at hotmail.co.uk
Wed Jul 18 07:10:01 PDT 2007
Actually I'd suggest force casting them to U16 which is what the constructor is expecting. If that doesn't work you could try also casting the pNameTarget too:
recs.push_back(LLSRVRecord((U16)cur->Data.Srv.wPriority,
(U16)cur->Data.Srv.wWeight,
(const std::string&)cur->Data.Srv.pNameTarget,
(U16)cur->Data.Srv.wPort));
Matthew
----------------------------------------
> Date: Wed, 18 Jul 2007 15:36:29 +0200
> From: nicholaz at blueflash.cc
> To: webmaster at ligosworld.com
> Subject: Re: [sldev] Viewer Problems
> CC: sldev at lists.secondlife.com
>
>
> It does compile okay here but I'm seeing includes for
> winsock and windns there. Maybe you have different versions of
> that.
>
> One thing to try would be to move the include for llsrv.h down
> to a place below those two.
>
> Maybe there's also some strict type checking option enabled
> somewhere.
>
> If nothing else helps, try casting the parameters @59
> to WORD
>
> recs.push_back(LLSRVRecord((WORD)cur->Data.Srv.wPriority,
> (WORD)cur->Data.Srv.wWeight,
> cur->Data.Srv.pNameTarget,
> (WORD)cur->Data.Srv.wPort));
>
>
>
> Nick
>
>
> Andreas Lichtenberger wrote:
> > Sorry, I just have the global includes left, which I need for SL.
> > I deleted all others from the global settings.
> >
> > Andi
> >
> > Nicholaz Beresford schrieb:
> >>
> >> I still have not compiled, but could it be something
> >> (especially since you say you don't have Express, so
> >> assuming you do other work with VS2005 also) in the
> >> order of the include files in Visual Studio?
> >>
> >>
> >> Nick
> >>
> >>
> >> Andreas Lichtenberger wrote:
> >>> Of course I can:
> >>>
> >>> llsrv.cpp
> >>> c:\sldev\linden\indra\newview\llsrv.cpp(59) : error C2665:
> >>> 'LLSRVRecord::LLSRVRecord' : none of the 2 overloads could convert
> >>> all the argument types
> >>> c:\sldev\linden\indra\newview\llsrv.h(45): could be
> >>> 'LLSRVRecord::LLSRVRecord(U16,U16,const std::string &,U16)'
> >>> while trying to match the argument list '(WORD, WORD, LPTSTR,
> >>> WORD)'
> >>> Build log was saved at
> >>> "file://c:\SLDEV\linden\indra\newview\ReleaseForDownload\BuildLog.htm"
> >>> newview - 1 error(s), 0 warning(s)
> >>>
> >>> These files are new in the 1.18.... releases.
> >>>
> >>> Thanks
> >>> Andi
> >>>
> >>> Nicholaz Beresford schrieb:
> >>>>
> >>>> Can you repost your error again please?
> >>>>
> >>>>
> >>>> Nick
> >>>>
> >>>>
> >>>>
> >>>> Andreas Lichtenberger wrote:
> >>>>> Today I was setting up the whole project completely new,
> >>>>> Again I did every step from:
> >>>>>
> >>>>> https://wiki.secondlife.com/wiki/Compiling_the_viewer_%28MSVS2005%29
> >>>>>
> >>>>> still having the same error.
> >>>>> Please help, I urgendly need a workaround.
> >>>>>
> >>>>> Greets Andi
> >>>>> _______________________________________________
> >>>>> Click here to unsubscribe or manage your list subscription:
> >>>>> /index.html
> >>>>
> >>>>
> >>>
> >>
> >>
> >
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html
_________________________________________________________________
The next generation of MSN Hotmail has arrived - Windows Live Hotmail
http://www.newhotmail.co.uk
More information about the SLDev
mailing list