[opensource-dev] Second Life Viewer 2 : Lots of Link error like error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string
WolfPup Lowenhar
wolfpup67 at earthlink.net
Sat Apr 30 08:07:45 PDT 2011
Ok, when using the autobuild command you need to use the configurations that
end in OS these setting are for Open Source Developers to use and will DL
the needed files but they are for use with VS2010 and NOT VS2005 or VS2008.
The settings to use are:
DebugOS
ReleaseWithDebInfoOS
ReleaseOS < this is the one I use all the time to build the viewer now.
From: opensource-dev-bounces at lists.secondlife.com
[mailto:opensource-dev-bounces at lists.secondlife.com] On Behalf Of xinyi chen
Sent: Saturday, April 30, 2011 10:15 AM
To: Robin Cornelius
Cc: opensource-dev at lists.secondlife.com
Subject: Re: [opensource-dev] Second Life Viewer 2 : Lots of Link error like
error LNK2001: unresolved external symbol "__declspec(dllimport) public:
__thiscall std::basic_string
Hi,
Yes, it's develop.py, but this method is only applied to create
VS2005/VS2008 project without supporting VS2010, it only gave the autobuild
command to create VS2010 project,
I have already read the guide as below:
http://wiki.secondlife.com/wiki/Viewer_2_Microsoft_Windows_Builds
http://wiki.secondlife.com/wiki/Building_the_Viewer_with_Autobuild
I used command :
autobuild configure -c Debug
but it doesn't seem to download those dependencies like jsoncpp, boost,
qtwebkit.. etc.
so why I used develop.py to create the VS2008 project that also downloaded
those dependencies..
Simon
2011/4/30 Robin Cornelius <robin.cornelius at gmail.com>
On Sat, Apr 30, 2011 at 12:14 PM, xinyi chen <geekclawsupport at gmail.com>
wrote:
> There are 19 K errors when i did link with the viewer project( other
> projects was compiled correctly)
> My env. is VS2008 IDE. and used deploy.py to construct the viewer
solution.
You said deploy.pl you mean develop.py? in that case you should use
VS2005 as that was the previous supported version before the autobuild
code was merged in. But unless you have a specific reason not to, its
probably an idea to use the latest viewer-development code. The
offical supported visual studio version is now 2010. If you want to
use 2008 you are going to have to rebuild all the 3p libs, well as a
minimum the C++ ones anyway, jsoncpp, boost, qtwebkit etc or you are
going to face issues such as you are seeing due to ABI breakage
between VS versions and the std lib, in this case with
std::basic_string.
Robin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20110430/70fd638f/attachment.htm
More information about the opensource-dev
mailing list