I have encountered problems in compiling the viewer using MSVS2005. I am using the (20070305a) release (r58754) source code and libraries files to build. Also, under code editing in the given link below: I am following the
Versions: slviewer-src-(20070117a, 1.13.2.12 & 1.13.3.2) instructions.
Even though I followed the instruction according to the following link:
I got quite a number of errors which I could not solve. I googled and read the error code but it shed no light.
Here is the error that is bugging me:
c:\linden\libraries\include\boost/shared_ptr.hpp(125) : error C2664: 'boost::detail:
hared_count:
hared_count(const boost::detail:
hared_count &
' : cannot convert parameter 1 from 'LLChainSleeper *' to 'const boost::detail:
hared_count &'
4> Reason: cannot convert from 'LLChainSleeper *' to 'const boost::detail:
hared_count'
4> No constructor could take the source type, or constructor overload resolution was ambiguous
4> .\llpumpio.cpp(80) : see reference to function template instantiation 'boost:
hared_ptr<T>:
hared_ptr<LLChainSleeper>
Y *)' being compiled
4> with
4> [
4> T=LLRunnable,
4> Y=LLChainSleeper
4> ]
4>c:\linden\libraries\include\boost/shared_ptr.hpp(125) : error C2664: 'boost::detail:
hared_count:
hared_count(const boost::detail:
hared_count &
' : cannot convert parameter 1 from 'LLBufferArray *' to 'const boost::detail:
hared_count &'
4> Reason: cannot convert from 'LLBufferArray *' to 'const boost::detail:
hared_count'
4> No constructor could take the source type, or constructor overload resolution was ambiguous
4> .\llpumpio.cpp(153) : see reference to function template instantiation 'boost:
hared_ptr<T>:
hared_ptr<LLBufferArray>
Y *)' being compiled
4> with
4> [
4> T=LLBufferArray,
4> Y=LLBufferArray
4> ]
hared_count:
hared_count(const boost::detail:
hared_count &
' : cannot convert parameter 1 from 'LLChainSleeper *' to 'const boost::detail:
hared_count &'4> Reason: cannot convert from 'LLChainSleeper *' to 'const boost::detail:
hared_count'4> No constructor could take the source type, or constructor overload resolution was ambiguous
4> .\llpumpio.cpp(80) : see reference to function template instantiation 'boost:
hared_ptr<T>:
hared_ptr<LLChainSleeper>
Y *)' being compiled4> with
4> [
4> T=LLRunnable,
4> Y=LLChainSleeper
4> ]
4>c:\linden\libraries\include\boost/shared_ptr.hpp(125) : error C2664: 'boost::detail:
hared_count:
hared_count(const boost::detail:
hared_count &
' : cannot convert parameter 1 from 'LLBufferArray *' to 'const boost::detail:
hared_count &'4> Reason: cannot convert from 'LLBufferArray *' to 'const boost::detail:
hared_count'4> No constructor could take the source type, or constructor overload resolution was ambiguous
4> .\llpumpio.cpp(153) : see reference to function template instantiation 'boost:
hared_ptr<T>:
hared_ptr<LLBufferArray>
Y *)' being compiled4> with
4> [
4> T=LLBufferArray,
4> Y=LLBufferArray
4> ]
c:\linden\libraries\include\boost/shared_ptr.hpp(125) : error C2664: 'boost::detail:
hared_count:
hared_count(const boost::detail:
hared_count &
' : cannot convert parameter 1 from 'LLSocket *' to 'const boost::detail:
hared_count &'4> Reason: cannot convert from 'LLSocket *' to 'const boost::detail:
hared_count'4> No constructor could take the source type, or constructor overload resolution was ambiguous
4> .\lliosocket.cpp(112) : see reference to function template instantiation 'boost:
hared_ptr<T>:
hared_ptr<LLSocket>
Y *)' being compiled4> with
4> [
4> T=LLSocket,
4> Y=LLSocket
4> ]
4>lliopipe.cpp
10>Build log was saved at "file://c:\linden\indra\win_updater\ReleaseNoOpt\BuildLog.htm"
10>win_updater - 0 error(s), 0 warning(s)
11>------ Rebuild All started: Project: llinventory, Configuration: ReleaseNoOpt Win32 ------
11>Deleting intermediate and output files for project 'llinventory', configuration 'ReleaseNoOpt|Win32'
11>Compiling...
11>lluserrelations.cpp
4>lliohttpserver.cpp
11>lltransactionflags.cpp
11>llsaleinfo.cpp
4>c:\linden\libraries\include\boost/shared_ptr.hpp(125) : error C2664: 'boost::detail:
hared_count:
hared_count(const boost::detail:
hared_count &
' : cannot convert parameter 1 from 'LLHTTPResponseFactory *' to 'const boost::detail:
hared_count &'4> Reason: cannot convert from 'LLHTTPResponseFactory *' to 'const boost::detail:
hared_count'4> No constructor could take the source type, or constructor overload resolution was ambiguous
4> .\lliohttpserver.cpp(842) : see reference to function template instantiation 'boost:
hared_ptr<T>:
hared_ptr<LLHTTPResponseFactory>
Y *)' being compiled4> with
4> [
4> T=LLChainIOFactory,
4> Y=LLHTTPResponseFactory
4> ]
14>LINK : fatal error LNK1181: cannot open input file 'llmessage.lib'
22>LINK : fatal error LNK1104: cannot open file 'llmessage.lib'
Thanks for the help.