Skip to content

Instantly share code, notes, and snippets.

@calmh
Created July 19, 2017 11:36
Show Gist options
  • Save calmh/5ba12fdf06da21edac0d72f76f97081c to your computer and use it in GitHub Desktop.
Save calmh/5ba12fdf06da21edac0d72f76f97081c to your computer and use it in GitHub Desktop.
jb@unu:~/t/build $ VERBOSE=1 make
/usr/local/Cellar/cmake/3.8.2/bin/cmake -H/Users/jb/tmp/tray/subdirs/syncthingtray -B/Users/jb/tmp/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_progress_start /Users/jb/tmp/build/CMakeFiles /Users/jb/tmp/build/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f c++utilities/CMakeFiles/c++utilities.dir/build.make c++utilities/CMakeFiles/c++utilities.dir/depend
cd /Users/jb/tmp/build && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_depends "Unix Makefiles" /Users/jb/tmp/tray/subdirs/syncthingtray /Users/jb/tmp/tray/c++utilities /Users/jb/tmp/build /Users/jb/tmp/build/c++utilities /Users/jb/tmp/build/c++utilities/CMakeFiles/c++utilities.dir/DependInfo.cmake --color=
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f c++utilities/CMakeFiles/c++utilities.dir/build.make c++utilities/CMakeFiles/c++utilities.dir/build
[ 1%] Linking CXX shared library libc++utilities.dylib
cd /Users/jb/tmp/build/c++utilities && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_link_script CMakeFiles/c++utilities.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -O3 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 4.0.0 -current_version 4.9.0 -o libc++utilities.4.9.0.dylib -install_name @rpath/libc++utilities.4.dylib CMakeFiles/c++utilities.dir/application/argumentparser.cpp.o CMakeFiles/c++utilities.dir/application/commandlineutils.cpp.o CMakeFiles/c++utilities.dir/application/failure.cpp.o CMakeFiles/c++utilities.dir/application/fakeqtconfigarguments.cpp.o CMakeFiles/c++utilities.dir/chrono/datetime.cpp.o CMakeFiles/c++utilities.dir/chrono/period.cpp.o CMakeFiles/c++utilities.dir/chrono/timespan.cpp.o CMakeFiles/c++utilities.dir/conversion/conversionexception.cpp.o CMakeFiles/c++utilities.dir/conversion/stringconversion.cpp.o CMakeFiles/c++utilities.dir/io/ansiescapecodes.cpp.o CMakeFiles/c++utilities.dir/io/binaryreader.cpp.o CMakeFiles/c++utilities.dir/io/binarywriter.cpp.o CMakeFiles/c++utilities.dir/io/bitreader.cpp.o CMakeFiles/c++utilities.dir/io/inifile.cpp.o CMakeFiles/c++utilities.dir/io/path.cpp.o CMakeFiles/c++utilities.dir/io/catchiofailure.cpp.o CMakeFiles/c++utilities.dir/io/nativefilestream.cpp.o CMakeFiles/c++utilities.dir/io/misc.cpp.o CMakeFiles/c++utilities.dir/math/math.cpp.o CMakeFiles/c++utilities.dir/misc/random.cpp.o CMakeFiles/c++utilities.dir/tests/testutils.cpp.o /usr/local/opt/libiconv/lib/libiconv.a
Undefined symbols for architecture x86_64:
"_iconv", referenced from:
ConversionUtilities::ConversionDescriptor<ConversionUtilities::Factor>::convertString(char const*, unsigned long) in stringconversion.cpp.o
ConversionUtilities::ConversionDescriptor<ConversionUtilities::Double>::convertString(char const*, unsigned long) in stringconversion.cpp.o
ConversionUtilities::ConversionDescriptor<ConversionUtilities::Half>::convertString(char const*, unsigned long) in stringconversion.cpp.o
ConversionUtilities::ConversionDescriptor<ConversionUtilities::Keep>::convertString(char const*, unsigned long) in stringconversion.cpp.o
"_iconv_close", referenced from:
ConversionUtilities::convertString(char const*, char const*, char const*, unsigned long, float) in stringconversion.cpp.o
ConversionUtilities::ConversionDescriptor<ConversionUtilities::Factor>::~ConversionDescriptor() in stringconversion.cpp.o
ConversionUtilities::ConversionDescriptor<ConversionUtilities::Double>::~ConversionDescriptor() in stringconversion.cpp.o
ConversionUtilities::ConversionDescriptor<ConversionUtilities::Half>::~ConversionDescriptor() in stringconversion.cpp.o
ConversionUtilities::ConversionDescriptor<ConversionUtilities::Keep>::~ConversionDescriptor() in stringconversion.cpp.o
"_iconv_open", referenced from:
ConversionUtilities::ConversionDescriptor<ConversionUtilities::Factor>::ConversionDescriptor(char const*, char const*, ConversionUtilities::Factor) in stringconversion.cpp.o
ConversionUtilities::ConversionDescriptor<ConversionUtilities::Double>::ConversionDescriptor(char const*, char const*) in stringconversion.cpp.o
ConversionUtilities::ConversionDescriptor<ConversionUtilities::Half>::ConversionDescriptor(char const*, char const*) in stringconversion.cpp.o
ConversionUtilities::ConversionDescriptor<ConversionUtilities::Keep>::ConversionDescriptor(char const*, char const*) in stringconversion.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]: *** [c++utilities/libc++utilities.4.9.0.dylib] Error 1
make[1]: *** [c++utilities/CMakeFiles/c++utilities.dir/all] Error 2
make: *** [all] Error 2
[2]
jb@unu:~/t/build $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment