Am 14.05.2013 um 21:06 schrieb Kornel Benko <kor...@lyx.org>:

> Am Dienstag, 14. Mai 2013 um 18:08:52, schrieb Stephan Witt <st.w...@gmx.net>
> > Am 14.05.2013 um 18:06 schrieb Stephan Witt <st.w...@gmx.net>:
> > 
> > > OTOH, the CMake build on Mac is broken now:
> > > 
> > > Undefined symbols for architecture x86_64:
> > >  "QDesktopServices::storageLocation(QDesktopServices::StandardLocation)", 
> > > referenced from:
> > >      lyx::support::(anonymous 
> > > namespace)::get_document_dir(lyx::support::FileName const&)in 
> > > libsupport.a(Package.o)
> > >      lyx::support::(anonymous 
> > > namespace)::get_default_user_support_dir(lyx::support::FileName const&)in 
> > > libsupport.a(Package.o)
> > >  "_iconv", referenced from:
> > >      lyx::IconvProcessor::convert(char const*, unsigned long, char*, 
> > > unsigned long)in libsupport.a(unicode.o)
> > >     (maybe you meant: lyx::to_iconv_encoding(std::basic_string<wchar_t, 
> > > std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, 
> > > std::basic_string<char, std::char_traits<char>, std::allocator<char> > 
> > > const&), lyx::from_iconv_encoding(std::basic_string<char, 
> > > std::char_traits<char>, std::allocator<char> > const&, 
> > > std::basic_string<char, std::char_traits<char>, std::allocator<char> > 
> > > const&))
> > >  "_iconv_close", referenced from:
> > >      lyx::IconvProcessor::convert(char const*, unsigned long, char*, 
> > > unsigned long)in libsupport.a(unicode.o)
> > >      lyx::IconvProcessor::Impl::~Impl()in libsupport.a(unicode.o)
> > >  "_iconv_open", referenced from:
> > >      lyx::IconvProcessor::init()     in libsupport.a(unicode.o)
> > >  "_libintl_bind_textdomain_codeset", referenced from:
> > >      _bind_textdomain_codeset in libsupport.a(Messages.o)
> > >  "_libintl_bindtextdomain", referenced from:
> > >      _bindtextdomain in libsupport.a(Messages.o)
> > >  "_libintl_gettext", referenced from:
> > >      _gettext in libsupport.a(Messages.o)
> > >  "_libintl_textdomain", referenced from:
> > >      _textdomain in libsupport.a(Messages.o)
> > > ld: symbol(s) not found for architecture x86_64
> > 
> > It's the "check_Layout" target only.
> > 
> > Stephan
>  
> Could you please add the needed libraries for MAC please?

Does the attached work for you too? If yes, can you please commit?

Stephan

PS. The duplicate symbol isn't "supported" with clang too.

...
-- Performing Test SIZEOF_WCHAR_T_IS_4 - Success
-- Mac LinkBack support
-- Allow multiple definitions for cxx-compiler Clang not handled   <====
-- doxygen not found, ==> no doxygen creation
-- 
-- Build options, switch LYX_* variables by -DLYX_*=ON or OFF:
...

duplicate symbol lyx::_(std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&)in:
    
/Users/stephan/git/lyx-build/cmake/2.1.0dev/src/tests/LyX.build/Debug/check_layout.build/Objects-normal/x86_64/dummy_functions.o
    
/Users/stephan/git/lyx-build/cmake/2.1.0dev/lib/Debug/libsupport.a(gettext.o)
ld: 1 duplicate symbol for architecture x86_64
collect2: ld returned 1 exit status

Attachment: tests-CMakeLists.diff
Description: Binary data

Reply via email to