SV: [sldev] Re: CMake 2.4.8 vs 2.6 (Re: Missing cares, apr inMac build)

Soft soft at lindenlab.com
Thu Jul 24 20:57:19 PDT 2008


On Thu, Jul 24, 2008 at 8:57 PM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> Suzhanna Rossini wrote:
>
>>
>> It didn't do any good for me Bill..
>> I get a clean build with cmake 2.4.8, and when I used 2.6.1 RC12, I got
>> the
>> very same errors as I had problems with before when I ran 2.6.0
>>
>> Linking...
>> llcompilequeue.obj : error LNK2019: unresolved external symbol "int
>> __cdecl
>> lscript_compile(char const *,char const *,char const *,int)"
>> (?lscript_compile@@YAHPBD00H at Z) referenced in function "protected: void
>> __thiscall LLFloaterCompileQueue::compile(class
>> std::basic_string<char,struct std::char_traits<char>,class
>> std::allocator<char> > const &,class LLUUID const &)"
>>
>> (?compile at LLFloaterCompileQueue@@IAEXABV?$basic_string at DU?$char_traits at D@std
>> @@V?$allocator at D@2@@std@@ABVLLUUID@@@Z)
>> llpreviewscript.obj : error LNK2001: unresolved external symbol "int
>> __cdecl
>> lscript_compile(char const *,char const *,char const *,int)"
>> (?lscript_compile@@YAHPBD00H at Z)
>>
>> C:\SLDev\release\indra\build-VS2003\newview\RelWithDebInfo\secondlife-bin.ex
>> e : fatal error LNK1120: 1 unresolved externals
>>
>> /Alexandra.
>>
>
>
> I am trying to release cmake 2.6.1 and would like to make it work with
> Secondlife if possible.  The only remaining issue is the undefined symbol
> above.  Can someone tell me exactly which version of the SecondLife viewer I
> would need to build to reproduce this issue?

I love that you're doing this.

It looks as though she's working off the release branch. There have
been no notable cmake changes of recent, so pulling from head should
be sufficient.

The svn:
http://svn.secondlife.com/svn/linden/release/

The quick version: You would need to unpack the library and artwork
tarballs for your platform into the tree. These are linked from
doc/asset_urls.txt. In addition, you will need to install fmod 3.75,
which we can't redistribute ourselves:
http://www.fmod.org/index.php/download#FMOD3ProgrammersAPI

The long version:
http://wiki.secondlife.com/wiki/CMake

That doesn't yet include instructions on where to copy fmod, and what
additional libraries are needed if building Linux. That can be pulled
from the myriad of old per-platform instructions:
http://wiki.secondlife.com/wiki/Get_source_and_compile


More information about the SLDev mailing list