> On May 1, 2016, at 6:54 AM, Robert Helling <[email protected]> wrote:
> 
> 
>> On 01.05.2016, at 15:31, Dirk Hohndel <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> make VERBOSE=1
> 
> VoilĂ :
> 
> [ 88%] Linking CXX executable TestGpsCoords
> cd /Users/Helling/src/subsurface/build/tests && 
> /usr/local/Cellar/cmake/3.5.2/bin/cmake -E cmake_link_script 
> CMakeFiles/TestGpsCoords.dir/link.txt --verbose=1
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
>    -g -Wl,-search_paths_first -Wl,-headerpad_max_install_names  
> CMakeFiles/TestGpsCoords.dir/testgpscoords.cpp.o 
> CMakeFiles/TestGpsCoords.dir/TestGpsCoords_automoc.cpp.o  -o TestGpsCoords  
> -L/usr/local/Cellar/sqlite/3.9.2/lib  -L/usr/local/Cellar/libzip/1.0.1/lib  
> -L/usr/local/Cellar/libusb/1.0.20/lib  ../core/libsubsurface_corelib.a 
> libRESOURCE_LIBRARY.a 
> /Users/Helling/Qt/5.5/clang_64/lib/QtConcurrent.framework/QtConcurrent 
> /Users/Helling/Qt/5.5/clang_64/lib/QtSvg.framework/QtSvg 
> /Users/Helling/Qt/5.5/clang_64/lib/QtPositioning.framework/QtPositioning 
> /Users/Helling/Qt/5.5/clang_64/lib/QtPrintSupport.framework/QtPrintSupport 
> /Users/Helling/Qt/5.5/clang_64/lib/QtWebKitWidgets.framework/QtWebKitWidgets 
> /Users/Helling/Qt/5.5/clang_64/lib/QtBluetooth.framework/QtBluetooth 
> /Users/Helling/Qt/5.5/clang_64/lib/QtTest.framework/QtTest -lxml2 -lsqlite3 
> -lxslt -lxml2 -lz -lpthread -licucore -lm -lxml2 -lzip -lz -lusb-1.0 
> /usr/local/lib/libhidapi.dylib 
> /Users/Helling/src/install-root/lib/libdivecomputer.a 
> /Users/Helling/src/install-root/lib/libgit2.dylib -lssl -lcrypto 
> -L/usr/local/Cellar/libssh2/1.6.0/lib -lssh2 -lcurl -lcrypto -lusb-1.0 
> /Users/Helling/Qt/5.5/clang_64/lib/QtWidgets.framework/QtWidgets 
> /Users/Helling/Qt/5.5/clang_64/lib/QtWebKit.framework/QtWebKit 
> /Users/Helling/Qt/5.5/clang_64/lib/QtNetwork.framework/QtNetwork 
> /Users/Helling/Qt/5.5/clang_64/lib/QtGui.framework/QtGui 
> /Users/Helling/Qt/5.5/clang_64/lib/QtCore.framework/QtCore -lxml2 -lsqlite3 
> -lxslt -lpthread -licucore -lm -lzip -lusb-1.0 /usr/local/lib/libhidapi.dylib 
> /Users/Helling/src/install-root/lib/libdivecomputer.a 
> /Users/Helling/src/install-root/lib/libgit2.dylib -lssl -lcrypto -lssh2 
> -lcurl -lusb-1.0 /usr/local/lib/libhidapi.dylib 
> /Users/Helling/src/install-root/lib/libdivecomputer.a 
> /Users/Helling/src/install-root/lib/libgit2.dylib -lssl -lcrypto -lssh2 
> -lcurl -Wl,-rpath,/usr/local/Cellar/sqlite/3.9.2/lib 
> -Wl,-rpath,/usr/local/Cellar/libzip/1.0.1/lib 
> -Wl,-rpath,/usr/local/Cellar/libusb/1.0.20/lib 
> -Wl,-rpath,/Users/Helling/Qt/5.5/clang_64/lib 
> Undefined symbols for architecture x86_64:
>   "_qtTranslator", referenced from:
>       init_qt_late() in libsubsurface_corelib.a(qt-init.cpp.o)
>   "_ssrfTranslator", referenced from:
>       init_qt_late() in libsubsurface_corelib.a(qt-init.cpp.o)
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make[2]: *** [tests/TestGpsCoords] Error 1
> make[1]: *** [tests/CMakeFiles/TestGpsCoords.dir/all] Error 2
> make: *** [all] Error 2
> th-nb-tmpmbp05:build Helling$ 

I still have no idea why - maybe Tomaz or Thiago can make sense of this. But 
I'd like to point out that this is linking the TestGpsCoords, not linking 
Subsurface. So it's likely something in the odd way we build the tests, not a 
fundamental problem. So please don't comment out the translation routines in 
qt-init.cpp, don't compile the tests until this has been fixed

/D
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to