Skip to content

Instantly share code, notes, and snippets.

@DanielO
Last active May 11, 2021 23:56
Show Gist options
  • Save DanielO/8f19bbb33d032f2eb03162a3ea78caf3 to your computer and use it in GitHub Desktop.
Save DanielO/8f19bbb33d032f2eb03162a3ea78caf3 to your computer and use it in GitHub Desktop.
[Havok 9:26] ~/projects/scopehal-apps/build >make VERBOSE=1 2>&1 | c++filt
/opt/local/bin/cmake -S/Users/oconnd1/projects/scopehal-apps -B/Users/oconnd1/projects/scopehal-apps/build --check-build-system CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start /Users/oconnd1/projects/scopehal-apps/build/CMakeFiles /Users/oconnd1/projects/scopehal-apps/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 lib/graphwidget/CMakeFiles/graphwidget.dir/build.make lib/graphwidget/CMakeFiles/graphwidget.dir/depend
cd /Users/oconnd1/projects/scopehal-apps/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /Users/oconnd1/projects/scopehal-apps /Users/oconnd1/projects/scopehal-apps/lib/graphwidget /Users/oconnd1/projects/scopehal-apps/build /Users/oconnd1/projects/scopehal-apps/build/lib/graphwidget /Users/oconnd1/projects/scopehal-apps/build/lib/graphwidget/CMakeFiles/graphwidget.dir/DependInfo.cmake --color=
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f lib/graphwidget/CMakeFiles/graphwidget.dir/build.make lib/graphwidget/CMakeFiles/graphwidget.dir/build
[ 0%] Linking CXX shared library libgraphwidget.dylib
cd /Users/oconnd1/projects/scopehal-apps/build/lib/graphwidget && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/graphwidget.dir/link.txt --verbose=1
/opt/local/bin/g++-mp-10 -g -Wall -Wextra -Wuninitialized -Wshadow -Wunsafe-loop-optimizations -Wpedantic -Wcast-align -Wwrite-strings -Wmissing-declarations -Wvla --std=c++11 -mtune=native -ffast-math -fopenmp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -dynamiclib -Wl,-headerpad_max_install_names -o libgraphwidget.dylib -install_name @rpath/libgraphwidget.dylib CMakeFiles/graphwidget.dir/Graph.cpp.o -L/opt/local/lib -Wl,-rpath,/opt/local/lib -lsigc-2.0 -lgtkmm-3.0 -latkmm-1.6 -lgdkmm-3.0 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lgio-2.0 -lcairomm-1.0 -lcairo -lsigc-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lgtkmm-3.0 -latkmm-1.6 -lgdkmm-3.0 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lgio-2.0 -lcairomm-1.0 -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl
Undefined symbols for architecture x86_64:
"Glib::ustring::ustring(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
DrawStringVertical(float, float, Cairo::RefPtr<Cairo::Context> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Pango::FontDescription const&) in Graph.cpp.o
DrawString(float, float, Cairo::RefPtr<Cairo::Context> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Pango::FontDescription const&) in Graph.cpp.o
GetStringWidth(Cairo::RefPtr<Cairo::Context> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int&, int&, Pango::FontDescription const&) in Graph.cpp.o
"Cairo::Context::set_dash(std::vector<double, std::allocator<double> >&, double)", referenced from:
Graph::on_draw(Cairo::RefPtr<Cairo::Context> const&) in Graph.cpp.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[2]: *** [lib/graphwidget/libgraphwidget.dylib] Error 1
make[1]: *** [lib/graphwidget/CMakeFiles/graphwidget.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment