[sldev] Compiling

Felix Duesenburg kfa at gmx.net
Wed Apr 2 03:51:52 PDT 2008


Hi @,

Taking a stab at compiling and it seems I'm /almost/ there. I'd 
appreciate any input that helps resolving the last remaining errors, 
which I can't figure out at this stage.

- using VC++ 2005 Express on XP Pro
- building ver. 1.18.5.3. w/patch vc8_1_18_V7 from VWR-1151
- heeded all instructions from 
http://wiki.secondlife.com/wiki/Compiling_the_viewer_%28MSVS2005%29
- applied fix 
https://wiki.secondlife.com/wiki/Common_compilation_problems#Cannot_open_input_file_.27dxerr8.lib.27

yields the following result:

1>------ Skipped Build: Project: test, Configuration: Release Win32 ------
1>Project not selected to build for this solution configuration
2>------ Build started: Project: newview, Configuration: 
ReleaseForDownload Win32 ------
2>Linking...
2>llwebbrowserctrl.obj : error LNK2019: unresolved external symbol 
"public: bool __thiscall LLMozLib::clr404RedirectUrl(int)" 
(?clr404RedirectUrl at LLMozLib@@QAE_NH at Z) referenced in function "public: 
bool __thiscall LLWebBrowserCtrl::clr404RedirectUrl(void)" 
(?clr404RedirectUrl at LLWebBrowserCtrl@@QAE_NXZ)
2>llwebbrowserctrl.obj : error LNK2019: unresolved external symbol 
"public: bool __thiscall LLMozLib::set404RedirectUrl(int,class 
std::basic_string<char,struct std::char_traits<char>,class 
std::allocator<char> >)" 
(?set404RedirectUrl at LLMozLib@@QAE_NHV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z) 
referenced in function "public: bool __thiscall 
LLWebBrowserCtrl::set404RedirectUrl(class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> >)" 
(?set404RedirectUrl at LLWebBrowserCtrl@@QAE_NV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z)
2>ReleaseForDownload/SecondLife.exe : fatal error LNK1120: 2 unresolved 
externals
2>Build log was saved at 
"file://c:\SL\1.18.5.3\linden\indra\newview\ReleaseForDownload\BuildLog.htm"
2>newview - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 21 up-to-date, 1 skipped ==========

Upon reading 
https://wiki.secondlife.com/wiki/Common_compilation_problems#Unresolved_external_symbol_.22int___cdecl_lscript_compile.22_.28VS2005.29 
I found a llmozlib reference in that list, but removing it made things 
only worse (36 errors).

TIA!
Felix


More information about the SLDev mailing list