[opensource-dev] Second Life Viewer 2 : Lots of Link error like error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string
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. I only pick some of those errors, more is same like below, I would be missing some stuff then caused these errors? I have checked the main viewer project, it didn't make /NODEFAULTLIB option for link option, and the VS2008 IDE already correctly set up the lib path .. Anyone would know how to resolve this problem? I will be appreciate. Thanks in advance! 1>json_vc80.lib(json_writer.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(void)" (__imp_??0?$basic_string@DU?$char_traits@D @std@@V?$allocator@D@2@@std@@QAE@XZ) 1>lllogin.lib(lllogin.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(void)" (__imp_??0?$basic_string@DU?$char_traits@D @std@@V?$allocator@D@2@@std@@QAE@XZ) 1>libboost_regex-vc80-mt-1_39.lib(w32_regex_traits.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(void)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@ @QAE@XZ) 1>libboost_regex-vc80-mt-1_39.lib(regex_traits_defaults.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(void)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@ @QAE@XZ) 1>json_vc80.lib(json_value.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(void)" (__imp_??0?$basic_string@DU?$char_traits@D @std@@V?$allocator@D@2@@std@@QAE@XZ) 1>json_vc80.lib(json_reader.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(void)" (__imp_??0?$basic_string@DU?$char_traits@D @std@@V?$allocator@D@2@@std@@QAE@XZ) 1>libboost_program_options-vc80-mt-1_39.lib(value_semantic.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(void)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@ @QAE@XZ) 1>libboost_program_options-vc80-mt-1_39.lib(cmdline.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(void)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@ @QAE@XZ) 1>libboost_program_options-vc80-mt-1_39.lib(convert.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(void)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@ @QAE@XZ) . 1>llmath.lib(raytrace.obj) : error LNK2001: unresolved external symbol ___security_cookie 1>llpanelpeoplemenus.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_ostream >::_Osfx(void)" (__imp_?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ) 1>llpanelpermissions.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_ostream >::_Osfx(void)" (__imp_?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ) 1>llpanelnearbymedia.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_ostream >::_Osfx(void)" (__imp_?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ) 1>llpanelobject.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_ostream >::_Osfx(void)" (__imp_?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ) ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
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 > >> On Sat, Apr 30, 2011 at 12:14 PM, xinyi chen >> 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 >> > > ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
[opensource-dev] Autobuild install can't install 3p-kdu-private
Platform: windows IDE: vs2010 When I run the command to install all dependencies , it 's broken here: Failed to download http://s3-proxy.lindenlab.com/private-builds-secondlife-com/hg/repo/3p-kdu-private/rev/221672/arch/CYGWIN/installer/kdu-6.4.1-windows-20110218.tar.bz2 So where should I manually download the lib from? is there a way to resolve the problem? Thanks in advance Simon ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
Re: [opensource-dev] Autobuild install can't install 3p-kdu-private
Thanks, what i just do is to manually edit autobuild.xml then comment out the kdu and following section. Your parameter should be normally used for autobuild build | configure command. Simon 2011/5/4 Marc Adored > kdu cannot be downloaded or distributed legally unless you have a > licence. I ran into the problem the other day you have to disable kdu > so it uses openjpeg. > > Use -- -DUSE_KDU:BOOL=FALSE > > I am not sure how to use that in windows but you may know how. > > > On Wed, May 4, 2011 at 1:10 AM, xinyi chen > wrote: > > Platform: windows > > IDE: vs2010 > > When I run the command to install all dependencies , it 's broken here: > > Failed to > > download > http://s3-proxy.lindenlab.com/private-builds-secondlife-com/hg/repo/3p-kdu-private/rev/221672/arch/CYGWIN/installer/kdu-6.4.1-windows-20110218.tar.bz2 > > So where should I manually download the lib from? > > is there a way to resolve the problem? > > > > Thanks in advance > > Simon > > ___ > > Policies and (un)subscribe information available here: > > http://wiki.secondlife.com/wiki/OpenSource-Dev > > Please read the policies before posting to keep unmoderated posting > > privileges > > > ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
[opensource-dev] Error with autobuild configure -c Release OS
Platform: windows IDE: vs2010 When I run out the command below: autobuild configure -c ReleaseOS it give me the error below: python: can't open file 'D:\Python25\Scripts\autobuild': [Errno 2] No such file or directory CMake Error at cmake/Prebuilt.cmake:34 (message): Failed to download or unpack prebuilt 'ogg-vorbis'. Process returned 2. Call Stack (most recent call first): cmake/Audio.cmake:11 (use_prebuilt_binary) llaudio/CMakeLists.txt:6 (include) Anyone can help me? Simon ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
Re: [opensource-dev] Error with autobuild configure -c Release OS
Actually, the autobuild.exe and autobuild.cmd has already put in D:\Python25\Scripts\ I don't understand why the builder still says that it can't open file ... Let me know if anyone knew why. Thanks Simon 2011/5/4 xinyi chen > Platform: windows > IDE: vs2010 > > When I run out the command below: > > autobuild configure -c ReleaseOS > > it give me the error below: > > python: can't open file 'D:\Python25\Scripts\autobuild': [Errno 2] No such > file or directory > CMake Error at cmake/Prebuilt.cmake:34 (message): > Failed to download or unpack prebuilt 'ogg-vorbis'. Process returned 2. > Call Stack (most recent call first): > cmake/Audio.cmake:11 (use_prebuilt_binary) > llaudio/CMakeLists.txt:6 (include) > > > Anyone can help me? > > > Simon > ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
Re: [opensource-dev] Error with autobuild configure -c Release OS
Yup, the error - "can't open file autobuild is missing", how about the last error - CMake Error at cmake/Prebuilt.cmake:34 (message): Failed to download or unpack prebuilt 'ogg-vorbis'. Process returned 2. Call Stack (most recent call first): cmake/Audio.cmake:11 (use_prebuilt_binary) llaudio/CMakeLists.txt:6 (include) Any ideas? Simon 2011/5/4 Ardy Lay > On 5/4/2011 1:01 AM, xinyi chen wrote: > > Actually, the autobuild.exe and autobuild.cmd has already put in > > D:\Python25\Scripts\ > > I don't understand why the builder still says that it can't open file ... > > > > Let me know if anyone knew why. > > > > > > Thanks > > Simon > > > Try moving autobuild.cmd out of your execution path. I find it causes > the described issue. > ___ > Policies and (un)subscribe information available here: > http://wiki.secondlife.com/wiki/OpenSource-Dev > Please read the policies before posting to keep unmoderated posting > privileges > ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
Re: [opensource-dev] Configurations for non-LL developers (was: Meet lots of link errors when linking secondlife-bin)
Thank you. I'm using ReleaseOS Simon 2011/5/6 Boroondas Gupte > On 05/06/2011 06:07 AM, xinyi chen wrote: > > I tried many times to compile -Release / Debug / RelWithDebInfo and > > attach /GS+ or /GS- > You'll probably want ReleaseOS, DebugOS or RelWithDebInfoOS instead of > the configurations mentioned above. See > > https://wiki.secondlife.com/wiki/Build_Viewer_With_Autobuild#Use_only_publicly_distributed_installables > > Cheers, > Boroondas > ___ > Policies and (un)subscribe information available here: > http://wiki.secondlife.com/wiki/OpenSource-Dev > Please read the policies before posting to keep unmoderated posting > privileges > ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
Re: [opensource-dev] Servers down?
Thought KDU is no longer needed , Openjpeg insteads of it, you just comment out the KDU section from autobuild.xml Simon 2011/5/11 Duncan Bradders > Hello folks, > i'm trying to compile a new fresh V2 development branch, it appear > s3-proxy.lindenlab.com is down, somebody knows what's going on? > > dbradders@Casa:~/Src/viewer-development/indra$ autobuild configure -c > Release -- -DFMOD:BOOL=OFF > checking package ogg-vorbis > installing ogg-vorbis from archive > checking package openal_soft > installing openal_soft from archive > -- Building with OpenAL audio support > checking package db > installing db from archive > checking package apr_suite > installing apr_suite from archive > checking package boost > installing boost from archive > checking package expat > installing expat from archive > checking package zlib > installing zlib from archive > checking package google-perftools > installing google-perftools from archive > checking package ares > installing ares from archive > checking package curl > installing curl from archive > checking package openSSL > installing openSSL from archive > checking package xmlrpc-epi > installing xmlrpc-epi from archive > checking package google_breakpad > installing google_breakpad from archive > checking package jpeglib > installing jpeglib from archive > checking package libpng > installing libpng from archive > checking package googlemock > installing googlemock from archive > checking package tut > installing tut from archive > checking package kdu > installing kdu from archive > downloading kdu archive from > http://s3-proxy.lindenlab.com/private-builds-secondlife-com/hg/repo/3p-kdu-private/rev/223538/arch/Linux/installer/kdu-6.4.1-linux-20110311.tar.bz2 > unable to download file: > Traceback (most recent call last): > File > "/usr/local/lib/python2.6/dist-packages/autobuild-0.8.5-py2.6.egg/autobuild/common.py", > line 253, in download_package > file(cachename, 'wb').write(urllib2.urlopen(package).read()) > File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen > return _opener.open(url, data, timeout) > File "/usr/lib/python2.6/urllib2.py", line 391, in open > response = self._open(req, data) > File "/usr/lib/python2.6/urllib2.py", line 409, in _open > '_open', req) > File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain > result = func(*args) > File "/usr/lib/python2.6/urllib2.py", line 1170, in http_open > return self.do_open(httplib.HTTPConnection, req) > File "/usr/lib/python2.6/urllib2.py", line 1145, in do_open > raise URLError(err) > URLError: > ERROR: failed to download > http://s3-proxy.lindenlab.com/private-builds-secondlife-com/hg/repo/3p-kdu-private/rev/223538/arch/Linux/installer/kdu-6.4.1-linux-20110311.tar.bz2 > For more information: try re-running your command with --verbose or --debug > CMake Error at cmake/Prebuilt.cmake:34 (message): > Failed to download or unpack prebuilt 'kdu'. Process returned 1. > Call Stack (most recent call first): > cmake/LLKDU.cmake:12 (use_prebuilt_binary) > llkdu/CMakeLists.txt:15 (include) > > > -- Configuring incomplete, errors occurred! > ERROR: default configuration returned 1 > For more information: try re-running your command with --verbose or --debug > dbradders@Casa:~/Src/viewer-development/indra$ > > > ___ > Policies and (un)subscribe information available here: > http://wiki.secondlife.com/wiki/OpenSource-Dev > Please read the policies before posting to keep unmoderated posting > privileges > ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
[opensource-dev] How do I change the main background?
Hi, Guys: I'm trying to change the main background of Second Life Viewer2, I found the below code in indra\newview\llviewernetwork.cpp const char* DEFAULT_LOGIN_PAGE = "http://secondlife.com/app/login/";; Then I did replace the the variable DEFAULT_LOGIN_PAGE = " http://mysite.com/app/login/";; then re-build secondlife-bin.exe, when I run the exe, the main window doesn't display my web page .. The background is black only. Any ideas? Thanks in advance Simon ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
[opensource-dev] Speed up with build secondlife-bin
Hi, I'm not worrying to build other dependencies projects in whole VS2010 solution, But i'm much worrying about the main executable project > secondlife-bin, What I mean is when I made a smaller change to a cpp file, I have to compile all cpp files again, I noticed there is existing pre-compiled setting where's the header file > llviewerprecompiledheaders.h But it doesn't seem to benefit for build speed. What i'm expecting is that secondlife-bin project only does compile the modified cpp file, then linking libs. Probably I didn't find some settings for the case, who know this? Thanks in advance. Simon ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
Re: [opensource-dev] How do I change the main background?
Currently, isn't the SL main window loading a html page - http://secondlife.com/app/login/ ? 2011/5/11 Tateru Nino > Is it possible that you're serving up an image, rather than an HTML page? > > > On 11/05/2011 11:23 PM, xinyi chen wrote: > > Hi, Guys: > > I'm trying to change the main background of Second Life Viewer2, I found > the below code in indra\newview\llviewernetwork.cpp > > const char* DEFAULT_LOGIN_PAGE = "http://secondlife.com/app/login/";; > > Then I did replace the the variable DEFAULT_LOGIN_PAGE = " > http://mysite.com/app/login/";; > > then re-build secondlife-bin.exe, when I run the exe, the main window > doesn't display my web page .. > The background is black only. > > > Any ideas? > > Thanks in advance > Simon > > > ___ > Policies and (un)subscribe information available > here:http://wiki.secondlife.com/wiki/OpenSource-Dev > Please read the policies before posting to keep unmoderated posting privileges > > > -- > Tateru Ninohttp://dwellonit.taterunino.net/ > > > ___ > Policies and (un)subscribe information available here: > http://wiki.secondlife.com/wiki/OpenSource-Dev > Please read the policies before posting to keep unmoderated posting > privileges > ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges
Re: [opensource-dev] How do I change the main background?
b.t.w, how to make an image as background? 2011/5/11 Tateru Nino > Is it possible that you're serving up an image, rather than an HTML page? > > > On 11/05/2011 11:23 PM, xinyi chen wrote: > > Hi, Guys: > > I'm trying to change the main background of Second Life Viewer2, I found > the below code in indra\newview\llviewernetwork.cpp > > const char* DEFAULT_LOGIN_PAGE = "http://secondlife.com/app/login/";; > > Then I did replace the the variable DEFAULT_LOGIN_PAGE = " > http://mysite.com/app/login/";; > > then re-build secondlife-bin.exe, when I run the exe, the main window > doesn't display my web page .. > The background is black only. > > > Any ideas? > > Thanks in advance > Simon > > > ___ > Policies and (un)subscribe information available > here:http://wiki.secondlife.com/wiki/OpenSource-Dev > Please read the policies before posting to keep unmoderated posting privileges > > > -- > Tateru Ninohttp://dwellonit.taterunino.net/ > > > ___ > Policies and (un)subscribe information available here: > http://wiki.secondlife.com/wiki/OpenSource-Dev > Please read the policies before posting to keep unmoderated posting > privileges > ___ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges