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

Able Whitman able.whitman at gmail.com
Sat Jun 30 07:43:42 PDT 2007


Thanks very much, Thomas and Nick!  I've now got a working VC8 debug build
going, which is very heplful.

On 6/30/07, Nicholaz Beresford <nicholaz at blueflash.cc> wrote:
>
> Thomas,
>
> > 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.
>
> There's a "mv" command missing in the postbuild step of indra.y in the
> debug configuration.  (Same is true for VS2003 files).
>
> > msvcrtd;libcd.lib;msvcrt;libcmt
> > (add ;msvcrt;libcmt)
>
> Ok, will add that to the instructions on the wiki.
>
>
> > linden\indra\llcommon\llpreprocessor.h @ line 59
> > --59: #define LL_LIBXUL_ENABLED  1
> > ++59: #define LL_LIBXUL_ENABLED  0
>
> This as well.
>
> Helpful ... many thanks!
>
>
> Nick
>
>
> Second Life from the inside out:
> http://nicholaz-beresford.blogspot.com/
>
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20070630/a5432837/attachment.htm


More information about the SLDev mailing list