Skip to content

Instantly share code, notes, and snippets.

@DrBluefall
Created March 16, 2021 00:27
Show Gist options
  • Save DrBluefall/344424cf6f4ba06d53dd9ebf26fb273f to your computer and use it in GitHub Desktop.
Save DrBluefall/344424cf6f4ba06d53dd9ebf26fb273f to your computer and use it in GitHub Desktop.
ninja -v
[1/2] clang++ -o subprojects/notcurses/cm_notcurses_tester subprojects/notcurses/cm_notcurses_tester.p/src_tests_Exceptions.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_Ncpp.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_blit.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_cell.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_channel.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_direct.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_egcpool.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_fade.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_fds.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_fills.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_geom.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_input.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_internal.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_layout.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_libunistring.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_main.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_menu.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_metric.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_notcurses.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_palette.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_piles.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_plane.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_plot.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_progbar.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_reader.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_reel.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_reelgaps.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_resize.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_rotate.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_scrolling.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_selector.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_stacking.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_tree.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_version.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_visual.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_wide.cpp.o subprojects/notcurses/cm_notcurses_tester.p/src_tests_zaxis.cpp.o -Wl,--as-needed -Wl,--no-undefined -fuse-ld=lld '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/home/drbluefall/Projects/cpp/broadcast/out/subprojects/notcurses -Wl,--start-group subprojects/notcurses/libcm_notcurses__.so subprojects/notcurses/libcm_notcurses.so subprojects/notcurses/libcm_notcurses_core.so -O2 -g -DNDEBUG -lunistring -lncursesw -lpthread -Wl,--end-group
[2/2] clang++ -o broadcast broadcast.p/src_main.cpp.o -Wl,--as-needed -Wl,--no-undefined -fuse-ld=lld '-Wl,-rpath,$ORIGIN/subprojects/fmt-7.1.3' -Wl,-rpath-link,/home/drbluefall/Projects/cpp/broadcast/out/subprojects/fmt-7.1.3 -Wl,--start-group subprojects/notcurses/libcm_notcurses___static.a subprojects/fmt-7.1.3/libfmt.so -Wl,--end-group
FAILED: broadcast
clang++ -o broadcast broadcast.p/src_main.cpp.o -Wl,--as-needed -Wl,--no-undefined -fuse-ld=lld '-Wl,-rpath,$ORIGIN/subprojects/fmt-7.1.3' -Wl,-rpath-link,/home/drbluefall/Projects/cpp/broadcast/out/subprojects/fmt-7.1.3 -Wl,--start-group subprojects/notcurses/libcm_notcurses___static.a subprojects/fmt-7.1.3/libfmt.so -Wl,--end-group
ld.lld: error: undefined symbol: ncplane_putstr_yx
>>> referenced by notcurses.h:1583 (../subprojects/notcurses/include/notcurses/notcurses.h:1583)
>>> broadcast.p/src_main.cpp.o:(ncplane_putstr(ncplane*, char const*))
ld.lld: error: undefined symbol: notcurses_stdplane
>>> referenced by NotCurses.hh:318 (../subprojects/notcurses/include/ncpp/NotCurses.hh:318)
>>> broadcast.p/src_main.cpp.o:(ncpp::NotCurses::get_stdplane())
ld.lld: error: undefined symbol: notcurses_version
>>> referenced by NotCurses.hh:89 (../subprojects/notcurses/include/ncpp/NotCurses.hh:89)
>>> broadcast.p/src_main.cpp.o:(ncpp::NotCurses::version())
ld.lld: error: undefined symbol: ncplane_putstr_aligned
>>> referenced by Plane.hh:593 (../subprojects/notcurses/include/ncpp/Plane.hh:593)
>>> broadcast.p/src_main.cpp.o:(ncpp::Plane::putstr(int, ncpp::NCAlign, char const*) const)
ld.lld: error: undefined symbol: notcurses_render
>>> referenced by NotCurses.hh:200 (../subprojects/notcurses/include/ncpp/NotCurses.hh:200)
>>> broadcast.p/src_main.cpp.o:(ncpp::NotCurses::render() const)
ld.lld: error: undefined symbol: ncplane_yx
>>> referenced by Plane.hh:341 (../subprojects/notcurses/include/ncpp/Plane.hh:341)
>>> broadcast.p/src_main.cpp.o:(ncpp::Plane::get_yx(int*, int*) const)
ld.lld: error: undefined symbol: ncplane_destroy
>>> referenced by Plane.hh:158 (../subprojects/notcurses/include/ncpp/Plane.hh:158)
>>> broadcast.p/src_main.cpp.o:(ncpp::Plane::~Plane())
ld.lld: error: undefined symbol: notcurses_stop
>>> referenced by NotCurses.cc:27 (../subprojects/notcurses/src/libcpp/NotCurses.cc:27)
>>> src_libcpp_NotCurses.cc.o:(ncpp::NotCurses::~NotCurses()) in archive subprojects/notcurses/libcm_notcurses___static.a
>>> referenced by NotCurses.cc:71 (../subprojects/notcurses/src/libcpp/NotCurses.cc:71)
>>> src_libcpp_NotCurses.cc.o:(ncpp::NotCurses::stop()) in archive subprojects/notcurses/libcm_notcurses___static.a
ld.lld: error: undefined symbol: notcurses_init
>>> referenced by NotCurses.cc:37 (../subprojects/notcurses/src/libcpp/NotCurses.cc:37)
>>> src_libcpp_NotCurses.cc.o:(ncpp::NotCurses::NotCurses(notcurses_options const&, _IO_FILE*)) in archive subprojects/notcurses/libcm_notcurses___static.a
ld.lld: error: undefined symbol: notcurses_top
>>> referenced by NotCurses.cc:46 (../subprojects/notcurses/src/libcpp/NotCurses.cc:46)
>>> src_libcpp_NotCurses.cc.o:(ncpp::NotCurses::get_top()) in archive subprojects/notcurses/libcm_notcurses___static.a
ld.lld: error: undefined symbol: notcurses_bottom
>>> referenced by NotCurses.cc:55 (../subprojects/notcurses/src/libcpp/NotCurses.cc:55)
>>> src_libcpp_NotCurses.cc.o:(ncpp::NotCurses::get_bottom()) in archive subprojects/notcurses/libcm_notcurses___static.a
ld.lld: error: undefined symbol: ncreel_create
>>> referenced by Reel.hh:134 (../subprojects/notcurses/include/ncpp/Reel.hh:134)
>>> src_libcpp_Plane.cc.o:(ncpp::NcReel::NcReel(ncpp::Plane*, ncreel_options const*)) in archive subprojects/notcurses/libcm_notcurses___static.a
ld.lld: error: undefined symbol: ncreel_plane
>>> referenced by Reel.cc:18 (../subprojects/notcurses/src/libcpp/Reel.cc:18)
>>> src_libcpp_Reel.cc.o:(ncpp::NcReel::get_plane() const) in archive subprojects/notcurses/libcm_notcurses___static.a
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment