[sldev] Debug build of 1.17.2.0 in vc 2005 (Express)

Nicholaz Beresford nicholaz at blueflash.cc
Sat Jun 30 06:53:26 PDT 2007


I've tried that recently (there's a patch for that here on the
list somewhere) but it still crashed with a nice loop of
exceptions.


Nick


Second Life from the inside out:
http://nicholaz-beresford.blogspot.com/


Matt Kimmel wrote:
> You may be able to get the release version of llmozlib linking by 
> stubbing out invalid_parameter_noinfo; for some reason, it's only 
> included in the release libraries under Visual Studio 2005.  All it does 
> is call invalid_parameter with all NULLs as parameters.
> 
> -Matt
> 
> Thomas Rowland wrote:
>> Yey, I got it to build, link and connect to the grid (but I had to 
>> disable llmozlib, which won't help anybody), and it is a bit of a work 
>> around too.
>>  
>> The first problem. ytab.h is not generated.
>> I worked around this by building the releasenoopt lscript_compile, 
>> which generated (a version of) the file.
>> I have not worked out why generation of ytab.h breaks in the debug conf.
>>  
>> Then the linking errors.
>> change newview properties Linker\Input\Ignore Specific Library to:
>>  
>> msvcrtd;libcd.lib;msvcrt;libcmt
>> (add ;msvcrt;libcmt)
>>  
>> Alas I was not able to get the debug or release versions of 
>> llmozlib-vc80.lib to link, so disabled it:
>>  
>> linden\indra\llcommon\llpreprocessor.h @ line 59 --59: #define 
>> LL_LIBXUL_ENABLED  1
>> ++59: #define LL_LIBXUL_ENABLED  0
>> Just for info. the errors are posted below.
>>  
>> using llmozlib-vc80.lib in debug libs folder;
>>  
>> llpanelweb.obj : error LNK2019: unresolved external symbol "public: 
>> bool __thiscall LLMozLib::enableCookies(bool)" 
>> (?enableCookies at LLMozLib@@QAE_N_N at Z 
>> <mailto:?enableCookies at LLMozLib@@QAE_N_N at Z>) referenced in function 
>> "public: virtual void __thiscall LLPanelWeb::refresh(void)" 
>> (?refresh at LLPanelWeb@@UAEXXZ <mailto:?refresh at LLPanelWeb@@UAEXXZ>)
>> llpanelweb.obj : error LNK2019: unresolved external symbol "public: 
>> bool __thiscall LLMozLib::clearAllCookies(void)" 
>> (?clearAllCookies at LLMozLib@@QAE_NXZ 
>> <mailto:?clearAllCookies at LLMozLib@@QAE_NXZ>) referenced in function 
>> "private: static void __cdecl 
>> LLPanelWeb::callback_clear_cookies(int,void *)" 
>> (?callback_clear_cookies at LLPanelWeb@@CAXHPAX at Z 
>> <mailto:?callback_clear_cookies at LLPanelWeb@@CAXHPAX at Z>)
>> llstartup.obj : error LNK2019: unresolved external symbol "public: 
>> bool __thiscall LLMozLib::init(class std::basic_string<char,struct 
>> std::char_traits<char>,class std::allocator<char> >,class 
>> std::basic_string<char,struct std::char_traits<char>,class 
>> std::allocator<char> >,class std::basic_string<char,struct 
>> std::char_traits<char>,class std::allocator<char> >)" 
>> (?init at LLMozLib@@QAE_NV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@00 at Z 
>> <mailto:?init at LLMozLib@@QAE_NV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@00 at Z>) 
>> referenced in function "int __cdecl idle_startup(void)" 
>> (?idle_startup@@YAHXZ <mailto:?idle_startup@@YAHXZ>)
>> llmozlib-vc80.lib(llembeddedbrowserwindow.obj) : error LNK2019: 
>> unresolved external symbol __invalid_parameter_noinfo referenced in 
>> function "public: class std::list<class 
>> LLEmbeddedBrowserWindowObserver *,class std::allocator<class 
>> LLEmbeddedBrowserWindowObserver *>  >::_Const_iterator<1> & __thiscall 
>> std::list<class LLEmbeddedBrowserWindowObserver *,class 
>> std::allocator<class LLEmbeddedBrowserWindowObserver *> 
>>  >::_Const_iterator<1>::operator++(void)" 
>> (??E?$_Const_iterator@$00@?$list at PAVLLEmbeddedBrowserWindowObserver@@V?$allocator at PAVLLEmbeddedBrowserWindowObserver@@@std@@@std@@QAEAAV012 at XZ 
>> <mailto:??E?$_Const_iterator@$00@?$list at PAVLLEmbeddedBrowserWindowObserver@@V?$allocator at PAVLLEmbeddedBrowserWindowObserver@@@std@@@std@@QAEAAV012 at XZ>) 
>>
>>  
>> using llmozlib-vc80.lib (copied from release libs folder into debug 
>> libs folder);
>>  
>> llmozlib-vc80.lib(llembeddedbrowserwindow.obj) : error LNK2019: 
>> unresolved external symbol __invalid_parameter_noinfo referenced in 
>> function "public: class std::list<class 
>> LLEmbeddedBrowserWindowObserver *,class std::allocator<class 
>> LLEmbeddedBrowserWindowObserver *>  >::_Const_iterator<1> & __thiscall 
>> std::list<class LLEmbeddedBrowserWindowObserver *,class 
>> std::allocator<class LLEmbeddedBrowserWindowObserver *> 
>>  >::_Const_iterator<1>::operator++(void)" 
>> (??E?$_Const_iterator@$00@?$list at PAVLLEmbeddedBrowserWindowObserver@@V?$allocator at PAVLLEmbeddedBrowserWindowObserver@@@std@@@std@@QAEAAV012 at XZ 
>> <mailto:??E?$_Const_iterator@$00@?$list at PAVLLEmbeddedBrowserWindowObserver@@V?$allocator at PAVLLEmbeddedBrowserWindowObserver@@@std@@@std@@QAEAAV012 at XZ>) 
>>
>>
>>  
>> Tom
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Click here to unsubscribe or manage your list subscription:
>> /index.html
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html


More information about the SLDev mailing list