[opensource-dev] Second Life Viewer 2 : Lots of Link error like error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string

Robin Cornelius robin.cornelius at gmail.com
Sat Apr 30 04:44:08 PDT 2011


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


More information about the opensource-dev mailing list