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

Suzhanna Rossini suzhanna.rossini at balsaestates.com
Tue Jul 22 23:19:23 PDT 2008


> Bill Hoffman wrote:
> > Aimee Walton wrote:
> >
> >>>
> >>> Sure, that is a warning, does the build still work?
> >>
> >> Sorry, not my most useful reply ever, I'll blame lack of sleep.
> >>
> >> We have
> >>      target_link_libraries(myexe /path/to/foo)
> >>
> >> Which is working on 2.4 as it splits to give -lfoo
> >>
> >> However on 2.6 it breaks the build, as it uses /path/to/foo when it
> >> really needs /path/to/libfoo.a
> >>
> >> AImee.
> >>
> >>
> >
> > Could someone please clarify if this was working on makefile builds?
> You
> > say it was /path/to/libfoo.a, and that implies linux/unix.   I want
> to
> > make sure this is not a new issue.  As far as I know /path/to/foo
> always
> > failed (even in CMake 2.4) for any makefile builds included nmake,
> and
> > unix makefiles.  The only time it worked was with the VS IDE.
> >
> Assuming this was an issue that only affected the VS IDE, the most
> recent release candidate for cmake 2.6.1 RC 12 contains a fix that
> should make this work like it did in 2.4, but with a warning.
> 
> I would appreciate it if someone could verify that this fixes your
> problem.  You can find the windows binary here:
> 
> http://www.cmake.org/files/v2.6/cmake-2.6.1-RC-12-win32-x86.exe
> 
> Thanks.
> 
> -Bill


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.



More information about the SLDev mailing list