SV: [sldev] Unresolved externals

Soft soft at lindenlab.com
Fri Jul 18 05:13:12 PDT 2008


On Fri, Jul 18, 2008 at 5:53 AM, Suzhanna Rossini
<suzhanna.rossini at balsaestates.com> wrote:
>> >
>> >> I also get this error when trying at a friend who has VS2003..
>> >> We tried with svn release 772..
>> >> Here're the error messages produced at link time:
>> >>
>> >> 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 &)"
>> >>
>> >>
>> >> llpreviewscript.obj : error LNK2001: unresolved external symbol "int
>> >> __cdecl
>> >> lscript_compile(char const *,char const *,char const *,int)"
>> >> (?lscript_compile@@YAHPBD00H at Z)
>>
>> Aimee, Suzhanna - Would you please walk through the steps you're using
>> to unpack and build? It's possible there's a bogus step in our
>> instructions that wants fixing.
>
> Absolutely.. ;-)
>
> 1. Check out a clean copy of http://svn.secondlife.com/svn/linden/release
> (now I got r798).
>
> 2. Download and unzip the art/lib packages mentioned in
> release\doc\asset_urls.txt (slviewer-artwork-release-r92064.zip and
> slviewer-win32-libs-release-r92064.zip)
>
> 3. Copy in fmod, GL, llkdu.dll and QuickTime libs etc.
>
> 4. Open a Visual Studio .NET 2003 Command Prompt.
>
> 5. CD into the .\release\indra directory and run "develop.py -G VS2003
> configure" (result, see attached "config_steps.txt")
>
> 6. Open indra\build-VS2003\SecondLife.sln in VS2003
>
> 7. Hit ctrl-shift-b to start the build.
>
> 8. Establish the fact that is still gives the errors.. (See buildlog.txt)

I don't see anything wrong with the steps you're taking. The GL copy
is unnecessary after 1.19 or so, and QuickTime should be found
automatically if you've installed the SDK under Program Files, but
they shouldn't hurt here.

I'm assuming you've installed cygwin and added it to Visual Studio's
binary search path, and you haven't provided some other flex and
bison. Do me a favor and check 'flex --version' and 'bison --version'
in cygwin. Mine are at flex 2.5.35 and bison 2.3.


More information about the SLDev mailing list