Closed SodaLover closed 4 years ago
Do you also have master version of wlroots?
hm, no let me get that, thank you for the fast answer :D
oh. the wlroots master page gives me 505 i can clone it though yay
Now it gives a bigger error:
ninja: Entering directory `build'
[37/111] Linking target src/wayfire
FAILED: src/wayfire
c++ -o src/wayfire 'src/25a6634@@wayfire@exe/main.cpp.o' 'src/25a6634@@wayfire@exe/util.cpp.o' 'src/25a6634@@wayfire@exe/core_output-layout.cpp.o' 'src/25a6634@@wayfire@exe/core_matcher.cpp.o' 'src/25a6634@@wayfire@exe/core_object.cpp.o' 'src/25a6634@@wayfire@exe/core_opengl.cpp.o' 'src/25a6634@@wayfire@exe/core_plugin.cpp.o' 'src/25a6634@@wayfire@exe/core_core.cpp.o' 'src/25a6634@@wayfire@exe/core_img.cpp.o' 'src/25a6634@@wayfire@exe/core_wm.cpp.o' 'src/25a6634@@wayfire@exe/core_view-access-interface.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_pointing-device.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_input-manager.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_keyboard.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_pointer.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_cursor.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_switch.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_tablet.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_touch.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_seat.cpp.o' 'src/25a6634@@wayfire@exe/view_surface.cpp.o' 'src/25a6634@@wayfire@exe/view_subsurface.cpp.o' 'src/25a6634@@wayfire@exe/view_view.cpp.o' 'src/25a6634@@wayfire@exe/view_view-impl.cpp.o' 'src/25a6634@@wayfire@exe/view_xdg-shell.cpp.o' 'src/25a6634@@wayfire@exe/view_xwayland.cpp.o' 'src/25a6634@@wayfire@exe/view_layer-shell.cpp.o' 'src/25a6634@@wayfire@exe/view_view-3d.cpp.o' 'src/25a6634@@wayfire@exe/view_compositor-view.cpp.o' 'src/25a6634@@wayfire@exe/output_plugin-loader.cpp.o' 'src/25a6634@@wayfire@exe/output_output.cpp.o' 'src/25a6634@@wayfire@exe/output_render-manager.cpp.o' 'src/25a6634@@wayfire@exe/output_workspace-impl.cpp.o' 'src/25a6634@@wayfire@exe/output_wayfire-shell.cpp.o' 'src/25a6634@@wayfire@exe/output_gtk-shell.cpp.o' -Wl,--as-needed -Wl,--no-undefined -rdynamic -Wl,-E -Wl,--start-group proto/libwl_protos.a subprojects/wf-utils/libwf-utils.so.0.4.0 -ldl /usr/lib/libwayland-server.so /usr/lib/libwlroots.so /usr/lib/libxkbcommon.so /usr/lib/libinput.so /usr/lib/libpixman-1.so /usr/lib/libdrm.so /usr/lib/libEGL.so /usr/lib/libGLESv2.so /usr/lib/libwf-config.so /usr/lib/libxcb.so /usr/lib/libjpeg.so /usr/lib/libpng16.so /usr/lib/libz.so /usr/lib/libwayland-client.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/../proto:$ORIGIN/../subprojects/wf-utils' -Wl,-rpath-link,/home/dex/wayfire/build/proto -Wl,-rpath-link,/home/dex/wayfire/build/subprojects/wf-utils
/usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 30054
src/25a6634@@wayfire@exe/core_output-layout.cpp.o: in function `wf::output_layout_t::impl::impl(wlr_backend*)':
/home/dex/wayfire/build/../src/core/output-layout.cpp:887: undefined reference to `wlr_output_power_manager_v1_create'
collect2: error: ld returned 1 exit status
[42/111] Compiling C++ object 'plugins/single_plugins/65acb7e@@grid@sha/grid.cpp.o'
ninja: build stopped: subcommand failed.
Try deleting your build directory and rerunning meson.
It got further, but another error:
ninja: Entering directory `build'
[104/180] Linking target src/wayfire
FAILED: src/wayfire
c++ -o src/wayfire 'src/25a6634@@wayfire@exe/main.cpp.o' 'src/25a6634@@wayfire@exe/util.cpp.o' 'src/25a6634@@wayfire@exe/core_output-layout.cpp.o' 'src/25a6634@@wayfire@exe/core_matcher.cpp.o' 'src/25a6634@@wayfire@exe/core_object.cpp.o' 'src/25a6634@@wayfire@exe/core_opengl.cpp.o' 'src/25a6634@@wayfire@exe/core_plugin.cpp.o' 'src/25a6634@@wayfire@exe/core_core.cpp.o' 'src/25a6634@@wayfire@exe/core_img.cpp.o' 'src/25a6634@@wayfire@exe/core_wm.cpp.o' 'src/25a6634@@wayfire@exe/core_view-access-interface.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_pointing-device.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_input-manager.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_keyboard.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_pointer.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_cursor.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_switch.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_tablet.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_touch.cpp.o' 'src/25a6634@@wayfire@exe/core_seat_seat.cpp.o' 'src/25a6634@@wayfire@exe/view_surface.cpp.o' 'src/25a6634@@wayfire@exe/view_subsurface.cpp.o' 'src/25a6634@@wayfire@exe/view_view.cpp.o' 'src/25a6634@@wayfire@exe/view_view-impl.cpp.o' 'src/25a6634@@wayfire@exe/view_xdg-shell.cpp.o' 'src/25a6634@@wayfire@exe/view_xwayland.cpp.o' 'src/25a6634@@wayfire@exe/view_layer-shell.cpp.o' 'src/25a6634@@wayfire@exe/view_view-3d.cpp.o' 'src/25a6634@@wayfire@exe/view_compositor-view.cpp.o' 'src/25a6634@@wayfire@exe/output_plugin-loader.cpp.o' 'src/25a6634@@wayfire@exe/output_output.cpp.o' 'src/25a6634@@wayfire@exe/output_render-manager.cpp.o' 'src/25a6634@@wayfire@exe/output_workspace-impl.cpp.o' 'src/25a6634@@wayfire@exe/output_wayfire-shell.cpp.o' 'src/25a6634@@wayfire@exe/output_gtk-shell.cpp.o' -Wl,--as-needed -Wl,--no-undefined -rdynamic -Wl,-E -Wl,--start-group proto/libwl_protos.a subprojects/wf-utils/libwf-utils.so.0.4.0 -ldl /usr/lib/libwayland-server.so /usr/lib/libwlroots.so /usr/lib/libxkbcommon.so /usr/lib/libinput.so /usr/lib/libpixman-1.so /usr/lib/libdrm.so /usr/lib/libEGL.so /usr/lib/libGLESv2.so /usr/lib/libwf-config.so /usr/lib/libxcb.so /usr/lib/libjpeg.so /usr/lib/libpng16.so /usr/lib/libz.so /usr/lib/libwayland-client.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/../proto:$ORIGIN/../subprojects/wf-utils' -Wl,-rpath-link,/home/dex/wayfire/build/proto -Wl,-rpath-link,/home/dex/wayfire/build/subprojects/wf-utils
/usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 30054
src/25a6634@@wayfire@exe/core_output-layout.cpp.o: in function `wf::output_layout_t::impl::impl(wlr_backend*)':
/home/dex/wayfire/build/../src/core/output-layout.cpp:887: undefined reference to `wlr_output_power_manager_v1_create'
collect2: error: ld returned 1 exit status
[109/180] Compiling C++ object 'plugins/single_plugins/65acb7e@@vswipe@sha/vswipe.cpp.o'
ninja: build stopped: subcommand failed.
Do you get results from grep wlr_output_power_manager_v1_create /usr/include/wlr/types/wlr_output_power_management_v1.h
? If not, you probably didn't install wlroots git to /usr.
hm, no, it doesn't give output how do i install a package to /usr?
How did you install wlroots master version?
Just by the install instructions in the README
Have you considered using the wf-install script to install wayfire? It should simplify the process.
hm, no
where is that file?
(unless you're on Arch or Gentoo, were there are git builds available)
install.sh gives this error:
ninja: Entering directory `build'
[223/409] Compiling C++ object 'subprojects/wf-config/c6feab7@@wf-config@sha/src_section.cpp.o'
FAILED: subprojects/wf-config/c6feab7@@wf-config@sha/src_section.cpp.o
c++ -Isubprojects/wf-config/c6feab7@@wf-config@sha -Isubprojects/wf-config -I../subprojects/wf-config -Isubprojects/wf-config/include -I../subprojects/wf-config/include -I/usr/include/libevdev-1.0/ -I/usr/include/libxml2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++17 -g -Wno-deprecated-declarations -fPIC -MD -MQ 'subprojects/wf-config/c6feab7@@wf-config@sha/src_section.cpp.o' -MF 'subprojects/wf-config/c6feab7@@wf-config@sha/src_section.cpp.o.d' -o 'subprojects/wf-config/c6feab7@@wf-config@sha/src_section.cpp.o' -c ../subprojects/wf-config/src/section.cpp
../subprojects/wf-config/src/section.cpp: In member function ‘std::shared_ptr<wf::config::option_base_t> wf::config::section_t::get_option(const string&)’:
../subprojects/wf-config/src/section.cpp:38:20: error: ‘invalid_argument’ is not a member of ‘std’
38 | throw std::invalid_argument("Non-existing option " + name
| ^~~~~~~~~~~~~~~~
../subprojects/wf-config/src/section.cpp: In member function ‘void wf::config::section_t::register_new_option(std::shared_ptr<wf::config::option_base_t>)’:
../subprojects/wf-config/src/section.cpp:60:20: error: ‘invalid_argument’ is not a member of ‘std’
60 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
[228/409] Compiling C++ object 'subprojects/wf-conf...@option_wrapper_test@exe/option_wrapper_test.cpp.o
ninja: build stopped: subcommand failed.
Are you building master or 0.4.0 "stream"? Try adding --stream master
to wf-install
--stream master is EVEN BIGGER!
[7/202] Linking target subprojects/wlroots/libwlroots.so.5.9.1
FAILED: subprojects/wlroots/libwlroots.so.5.9.1
cc -o subprojects/wlroots/libwlroots.so.5.9.1 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_xdg-shell-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_presentation-time-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_fullscreen-shell-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_idle-inhibit-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_linux-dmabuf-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_pointer-constraints-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_pointer-gestures-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_primary-selection-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_relative-pointer-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_tablet-unstable-v2-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_text-input-unstable-v3-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_xdg-decoration-unstable-v1-protocol.c.o' 'subprojects/w
lroots/fff9797@@wlroots@sha/meson-generated_.._protocol_xdg-output-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_xdg-shell-unstable-v6-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_gtk-primary-selection-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_idle-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_server-decoration-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_input-method-unstable-v2-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_virtual-keyboard-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_wlr-data-control-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_wlr-export-dmabuf-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_wlr-foreign-toplevel-management-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_wlr-gamma-control-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_wlr-input-inhibitor-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_wlr-layer-shell-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_wlr-output-management-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_wlr-screencopy-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/meson-generated_.._protocol_wlr-virtual-pointer-unstable-v1-protocol.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/render_dmabuf.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/render_egl.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/render_drm_format_set.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/render_gles2_pixel_format.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/render_gles2_renderer.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/render_gles2_shaders.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/render_gles2_texture.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/render_wlr_renderer.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/render_wlr_texture.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_backend.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_drm_atomic.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_drm_backend.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_drm_cvt.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_drm_drm.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_drm_legacy.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_drm_properties.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_drm_renderer.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_drm_util.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_headless_backend.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_headless_input_device.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_headless_output.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_libinput_backend.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_libinput_events.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_libinput_keyboard.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_libinput_pointer.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_libinput_switch.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_libinput_tablet_pad.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_libinput_tablet_tool.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_libinput_touch.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_multi_backend.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_noop_backend.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_noop_output.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_wayland_backend.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_wayland_output.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_wayland_wl_seat.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_wayland_tablet_v2.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_x11_backend.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_x11_input_device.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_x11_output.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_session_direct-ipc.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_session_noop.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_session_session.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_session_direct.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/backend_session_logind.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_data_device_wlr_data_device.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_data_device_wlr_data_offer.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_data_device_wlr_data_source.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_data_device_wlr_drag.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_keyboard.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_pointer.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_touch.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_tablet_v2_wlr_tablet_v2_pad.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_tablet_v2_wlr_tablet_v2_tablet.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_tablet_v2_wlr_tablet_v2_tool.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_tablet_v2_wlr_tablet_v2.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_
xdg_shell_v6_wlr_xdg_popup_v6.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_xdg_shell_v6_wlr_xdg_positioner_v6.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_xdg_shell_v6_wlr_xdg_shell_v6.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_xdg_shell_v6_wlr_xdg_surface_v6.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_xdg_shell_v6_wlr_xdg_toplevel_v6.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_xdg_shell_wlr_xdg_popup.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_xdg_shell_wlr_xdg_positioner.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_xdg_shell_wlr_xdg_shell.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_xdg_shell_wlr_xdg_surface.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_xdg_shell_wlr_xdg_toplevel.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_box.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_buffer.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_compositor.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_cursor.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_data_control_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_export_dmabuf_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_foreign_toplevel_management_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_fullscreen_shell_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_gamma_control_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_gtk_primary_selection.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_idle_inhibit_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_idle.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_input_device.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_input_inhibitor.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_input_method_v2.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_keyboard.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_keyboard_group.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_layer_shell_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_linux_dmabuf_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_list.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_matrix.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_output_damage.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_output_layout.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_output_management_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_output.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_pointer_constraints_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_pointer_gestures_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_pointer.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_presentation_time.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_primary_selection_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_primary_selection.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_region.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_relative_pointer_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_screencopy_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_server_decoration.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_surface.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_switch.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_tablet_pad.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_tablet_tool.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_text_input_v3.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_touch.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_virtual_keyboard_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_virtual_pointer_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_xcursor_manager.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_xdg_decoration_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/types_wlr_xdg_output_v1.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/util_array.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/util_log.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/util_region.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/util_shm.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/util_signal.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/xcursor_wlr_xcursor.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/xcursor_xcursor.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/xwayland_selection_dnd.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/xwayland_selection_incoming.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/xwayland_selection_outgoing.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/xwayland_selection_selection.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/xwayland_sockets.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/xwayland_xwayland.c.o' 'subprojects/wlroots/fff9797@@wlroots@sha/xwayland_xwm.c.o' -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libwlroots.so.5 -Wl,--version-script,/home/dex/wf-install/wayfire/subprojects/wlroots/wlroots.syms /usr/lib/libwayland-server.so /usr/lib/libwayland-client.so /usr/lib/libwayland-egl.so /usr/lib/libEGL.so /usr/lib/libGLESv2.so /usr/lib/libdrm.so /usr/lib/libgbm.so /usr/lib/libinput.so /usr/lib/libxkbcommon.so /usr/lib/libudev.so /usr/lib/libpixman-1.so -lm -lrt /usr/lib/libX11-xcb.so /usr/lib/libX11.so /usr/lib/libxcb.so /usr/lib/libxcb-xinput.so /usr/lib/libxcb-xfixes.so /usr/lib/libsystemd.so /usr/lib/libcap.so /usr/lib/libxcb-composite.so /usr/lib/libxcb-render.so /usr/lib/libxcb-errors.so /usr/lib/libxcb-icccm.so -Wl,--end-group
/usr/bin/ld: subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_pointer.c.o:/home/dex/wf-instal
l/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:7: multiple definition of `default_pointer_grab_impl'; subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_keyboard.c.o:/home/dex/wf-install/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:7: first defined here
/usr/bin/ld: subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_pointer.c.o:/home/dex/wf-install/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:8: multiple definition of `default_keyboard_grab_impl'; subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_keyboard.c.o:/home/dex/wf-install/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:8: first defined here
/usr/bin/ld: subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_pointer.c.o:/home/dex/wf-install/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:9: multiple definition of `default_touch_grab_impl'; subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_keyboard.c.o:/home/dex/wf-install/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:9: first defined here
/usr/bin/ld: subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_touch.c.o:/home/dex/wf-install/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:7: multiple definition of `default_pointer_grab_impl'; subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_keyboard.c.o:/home/dex/wf-install/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:7: first defined here
/usr/bin/ld: subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_touch.c.o:/home/dex/wf-install/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:8: multiple definition of `default_keyboard_grab_impl'; subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_keyboard.c.o:/home/dex/wf-install/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:8: first defined here
/usr/bin/ld: subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_touch.c.o:/home/dex/wf-install/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:9: multiple definition of `default_touch_grab_impl'; subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_keyboard.c.o:/home/dex/wf-install/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:9: first defined here
/usr/bin/ld: subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat.c.o:/home/dex/wf-install/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:7: multiple definition of `default_pointer_grab_impl'; subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_keyboard.c.o:/home/dex/wf-install/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:7: first defined here
/usr/bin/ld: subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat.c.o:/home/dex/wf-install/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:8: multiple definition of `default_keyboard_grab_impl'; subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_keyboard.c.o:/home/dex/wf-install/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:8: first defined here
/usr/bin/ld: subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat.c.o:/home/dex/wf-install/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:9: multiple definition of `default_touch_grab_impl'; subprojects/wlroots/fff9797@@wlroots@sha/types_seat_wlr_seat_keyboard.c.o:/home/dex/wf-install/wayfire/build/../subprojects/wlroots/include/types/wlr_seat.h:9: first defined here
collect2: error: ld returned 1 exit status
[8/202] Compiling C++ object 'subprojects/wf-config/c6feab7@@wf-config@sha/src_section.cpp.o'
FAILED: subprojects/wf-config/c6feab7@@wf-config@sha/src_section.cpp.o
c++ -Isubprojects/wf-config/c6feab7@@wf-config@sha -Isubprojects/wf-config -I../subprojects/wf-config -Isubprojects/wf-config/include -I../subprojects/wf-config/include -I/usr/include/libevdev-1.0/ -I/usr/include/libxml2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++17 -g -Wno-deprecated-declarations -fPIC -MD -MQ 'subprojects/wf-config/c6feab7@@wf-config@sha/src_section.cpp.o' -MF 'subprojects/wf-config/c6feab7@@wf-config@sha/src_section.cpp.o.d' -o 'subprojects/wf-config/c6feab7@@wf-config@sha/src_section.cpp.o' -c ../subprojects/wf-config/src/section.cpp
../subprojects/wf-config/src/section.cpp: In member function ‘std::shared_ptr<wf::config::option_base_t> wf::config::section_t::get_option(const string&)’:
../subprojects/wf-config/src/section.cpp:38:20: error: ‘invalid_argument’ is not a member of ‘std’
38 | throw std::invalid_argument("Non-existing option " + name
| ^~~~~~~~~~~~~~~~
../subprojects/wf-config/src/section.cpp: In member function ‘void wf::config::section_t::register_new_option(std::shared_ptr<wf::config::option_base_t>)’:
../subprojects/wf-config/src/section.cpp:60:20: error: ‘invalid_argument’ is not a member of ‘std’
60 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
[12/202] Compiling C++ object 'subprojects/wf-config/test/95f02e9@@types_test@exe/types_test.cpp.o'
ninja: build stopped: subcommand failed.
@SodaLover Can you tell us your distro and compiler versions?
(You need C++17, aka recent GCC/clang)
I have the recent gcc because i code in c++17, and i'm using arch linux
(The AUR packages didn't work)
Do the wayfire-git builds work from aur?
(The AUR packages didn't work)
Well it seems like something else is wrong with your system. ld is failing in strange ways. I'd try a system upgrade and if that doesn't fix it, ask in your distro support channels.
I have the recent gcc because i code in c++17, and i'm using arch linux
Interesting, because wlroots should compile at least - I am pretty sure many people have tested it. I'd suggest deleting everything you cloned for wf-install, and also delete everything in /opt/wayfire
. If that doesn't help, then I am inclined to believe there is something broken on your system.
wlroots DOES compile
But in the output of wf-install with --stream master
it says wlroots fails to compile?
Who knew the good ol' update would fix it? (I'm not going to close this until i confirm that there are no more errors)
Ok, i got it! But now it opens a odd window. I'm using Sway.
Is Wayfire a WM, or a compositor? Does it work with sway?
In wayland, WM and compositor are one and the same. You cannot use Wayfire inside Sway, except as nested backend (the window you are seeing).
Oh, ok. Thats ok, thank you for helping!
Good to hear you managed to compile it, I'll close this issue.
I am having a compile error with master branch.
meson build
runs fine but when i doninja -C build
it throws these errors