Am Dienstag, 16. Oktober 2012 um 17:14:31, schrieb Stephan Witt 
<st.w...@gmx.net>
> Am 16.10.2012 um 13:21 schrieb Kornel Benko <kor...@lyx.org>:
> 
> > Am Dienstag, 16. Oktober 2012 um 12:06:08, schrieb Kornel Benko 
> > <kor...@lyx.org>
> > > 
> > > Versuchen wir es mit der einfachen Version zuerst.
> > > 
> > >   Kornel
> >  
> >  
> > Ich habe eine leise Ahnung, warum es nicht mit Xcode ging, vorausgesetzt 
> > die test-CMakeLists Datei war OK.
> > Wir haben zwei unterschiedliche targets. Einmal das executable (erzeugbar 
> > mit add_executable()), und
> > einmal als Daten in <BUILD>/support/tests/regfiles/ erzeugt werden.
> > Also <BUILD>/bin/Debug/check_convert versus 
> > <BUILD>/support/tests/regfiles/check_convert.
> >  
> > Vielleicht vertrÃĪgt cmake-erzeugtes Xcode so etwas nicht.
> >  
> > Anhang: Eine neue Komplett-Version.
> >  
> >     Kornel
> > <CMakeLists.txt>
> 
> Ld /Users/stephan/git/lyx-build/cmake/2.1.0dev/bin/Debug/check_convert normal 
> x86_64
>     cd /Users/stephan/git/lyx
>     setenv MACOSX_DEPLOYMENT_TARGET 10.8
>     
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
>  -arch x86_64 -isysroot 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
>  -L/Users/stephan/git/lyx-build/cmake/2.1.0dev/bin/Debug 
> -L/Users/stephan/git/lyx-build/cmake/2.1.0dev/lib/Debug/Debug 
> -L/Users/stephan/git/lyx-build/cmake/2.1.0dev/lib/Debug 
> -L/Users/stephan/git/lyx-build/cmake/2.1.0dev/lib/Debug/Debug 
> -L/Users/stephan/git/lyx-build/cmake/2.1.0dev/lib/Debug 
> -F/Users/stephan/git/lyx-build/cmake/2.1.0dev/bin/Debug 
> -F/Users/stephan/git/lyx-build/qt-4.8.3-frameworks-cocoa-x86_64/lib -filelist 
> /Users/stephan/git/lyx-build/cmake/2.1.0dev/src/support/tests/LyX.build/Debug/check_convert.build/Objects-normal/x86_64/check_convert.LinkFileList
>  -mmacosx-version-min=10.8 -Wl,-search_paths_first 
> -Wl,-headerpad_max_install_names 
> /Users/stephan/git/lyx-build/cmake/2.1.0dev/lib/Debug/libsupport.a 
> /Users/stephan/git/lyx-build/cmake/2.1.0dev/lib/Debug/libboost_signals.a 
> /Users/stephan/git/lyx-build/cmake/2.1.0dev/lib/Debug/libboost_regex.a 
> -framework QtCore /usr/lib/libz.dylib 
> /Users/stephan/git/lyx-build/cmake/2.1.0dev/lib/Debug/libintl.a 
> /usr/lib/libiconv.dylib -lobjc -framework AppKit -framework CoreFoundation -o 
> /Users/stephan/git/lyx-build/cmake/2.1.0dev/bin/Debug/check_convert
> 
> ld: warning: directory not found for option 
> '-L/Users/stephan/git/lyx-build/cmake/2.1.0dev/lib/Debug/Debug'
> ld: warning: directory not found for option 
> '-L/Users/stephan/git/lyx-build/cmake/2.1.0dev/lib/Debug/Debug'
> 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)
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> 
> We need to link the QtGui framework too.
> 
> Should I commit it?

Yes please. But split the line. It makes it more readable (for me)

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to