Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to built #1

Open
bluebyt opened this issue Aug 2, 2024 · 0 comments
Open

Fail to built #1

bluebyt opened this issue Aug 2, 2024 · 0 comments

Comments

@bluebyt
Copy link

bluebyt commented Aug 2, 2024

Fail to built

Log
ninja -C build && sudo ninja -C build install
ninja: Entering directory `build'
[3/4] Compiling C++ object src/libk...d-layout.so.p/keyboard-layout.cpp.
FAILED: src/libkeyboard-layout.so.p/keyboard-layout.cpp.o 
c++ -Isrc/libkeyboard-layout.so.p -Isrc -I../src -I/opt/wayfire/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/sysprof-6 -I/usr/include/libdrm -I/usr/include/libevdev-1.0 -I/usr/include/libxml2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -O0 -g -DWLR_USE_UNSTABLE -DWAYFIRE_PLUGIN -fPIC -pthread -MD -MQ src/libkeyboard-layout.so.p/keyboard-layout.cpp.o -MF src/libkeyboard-layout.so.p/keyboard-layout.cpp.o.d -o src/libkeyboard-layout.so.p/keyboard-layout.cpp.o -c ../src/keyboard-layout.cpp
In file included from /opt/wayfire/include/wayfire/core.hpp:5,
                 from ../src/keyboard-layout.cpp:1:
/opt/wayfire/include/wayfire/scene-input.hpp: In member function ‘virtual void wf::keyboard_interaction_t::handle_keyboard_enter(wf::seat_t*)’:
/opt/wayfire/include/wayfire/scene-input.hpp:70:52: warning: unused parameter ‘seat’ [-Wunused-parameter]
   70 |     virtual void handle_keyboard_enter(wf::seat_t *seat)
      |                                        ~~~~~~~~~~~~^~~~
/opt/wayfire/include/wayfire/scene-input.hpp: In member function ‘virtual void wf::keyboard_interaction_t::handle_keyboard_leave(wf::seat_t*)’:
/opt/wayfire/include/wayfire/scene-input.hpp:77:52: warning: unused parameter ‘seat’ [-Wunused-parameter]
   77 |     virtual void handle_keyboard_leave(wf::seat_t *seat)
      |                                        ~~~~~~~~~~~~^~~~
/opt/wayfire/include/wayfire/scene-input.hpp: In member function ‘virtual void wf::keyboard_interaction_t::handle_keyboard_key(wf::seat_t*, wlr_keyboard_key_event)’:
/opt/wayfire/include/wayfire/scene-input.hpp:88:50: warning: unused parameter ‘seat’ [-Wunused-parameter]
   88 |     virtual void handle_keyboard_key(wf::seat_t *seat, wlr_keyboard_key_event event)
      |                                      ~~~~~~~~~~~~^~~~
/opt/wayfire/include/wayfire/scene-input.hpp:88:79: warning: unused parameter ‘event’ [-Wunused-parameter]
   88 |     virtual void handle_keyboard_key(wf::seat_t *seat, wlr_keyboard_key_event event)
      |                                                        ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/opt/wayfire/include/wayfire/scene-input.hpp: In member function ‘virtual void wf::pointer_interaction_t::handle_pointer_enter(wf::pointf_t)’:
/opt/wayfire/include/wayfire/scene-input.hpp:125:52: warning: unused parameter ‘position’ [-Wunused-parameter]
  125 |     virtual void handle_pointer_enter(wf::pointf_t position)
      |                                       ~~~~~~~~~~~~~^~~~~~~~
/opt/wayfire/include/wayfire/scene-input.hpp: In member function ‘virtual void wf::pointer_interaction_t::handle_pointer_button(const wlr_pointer_button_event&)’:
/opt/wayfire/include/wayfire/scene-input.hpp:147:41: warning: unused parameter ‘event’ [-Wunused-parameter]
  147 |         const wlr_pointer_button_event& event)
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/opt/wayfire/include/wayfire/scene-input.hpp: In member function ‘virtual void wf::pointer_interaction_t::handle_pointer_motion(wf::pointf_t, uint32_t)’:
/opt/wayfire/include/wayfire/scene-input.hpp:156:53: warning: unused parameter ‘pointer_position’ [-Wunused-parameter]
  156 |     virtual void handle_pointer_motion(wf::pointf_t pointer_position,
      |                                        ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/opt/wayfire/include/wayfire/scene-input.hpp:157:18: warning: unused parameter ‘time_ms’ [-Wunused-parameter]
  157 |         uint32_t time_ms)
      |         ~~~~~~~~~^~~~~~~
/opt/wayfire/include/wayfire/scene-input.hpp: In member function ‘virtual void wf::pointer_interaction_t::handle_pointer_axis(const wlr_pointer_axis_event&)’:
/opt/wayfire/include/wayfire/scene-input.hpp:166:68: warning: unused parameter ‘event’ [-Wunused-parameter]
  166 |     virtual void handle_pointer_axis(const wlr_pointer_axis_event& event)
      |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/opt/wayfire/include/wayfire/scene-input.hpp: In member function ‘virtual void wf::touch_interaction_t::handle_touch_down(uint32_t, int, wf::pointf_t)’:
/opt/wayfire/include/wayfire/scene-input.hpp:189:45: warning: unused parameter ‘time_ms’ [-Wunused-parameter]
  189 |     virtual void handle_touch_down(uint32_t time_ms, int finger_id,
      |                                    ~~~~~~~~~^~~~~~~
/opt/wayfire/include/wayfire/scene-input.hpp:189:58: warning: unused parameter ‘finger_id’ [-Wunused-parameter]
  189 |     virtual void handle_touch_down(uint32_t time_ms, int finger_id,
      |                                                      ~~~~^~~~~~~~~
/opt/wayfire/include/wayfire/scene-input.hpp:190:22: warning: unused parameter ‘position’ [-Wunused-parameter]
  190 |         wf::pointf_t position)
      |         ~~~~~~~~~~~~~^~~~~~~~
/opt/wayfire/include/wayfire/scene-input.hpp: In member function ‘virtual void wf::touch_interaction_t::handle_touch_up(uint32_t, int, wf::pointf_t)’:
/opt/wayfire/include/wayfire/scene-input.hpp:201:43: warning: unused parameter ‘time_ms’ [-Wunused-parameter]
  201 |     virtual void handle_touch_up(uint32_t time_ms, int finger_id,
      |                                  ~~~~~~~~~^~~~~~~
/opt/wayfire/include/wayfire/scene-input.hpp:201:56: warning: unused parameter ‘finger_id’ [-Wunused-parameter]
  201 |     virtual void handle_touch_up(uint32_t time_ms, int finger_id,
      |                                                    ~~~~^~~~~~~~~
/opt/wayfire/include/wayfire/scene-input.hpp:202:22: warning: unused parameter ‘lift_off_position’ [-Wunused-parameter]
  202 |         wf::pointf_t lift_off_position)
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/opt/wayfire/include/wayfire/scene-input.hpp: In member function ‘virtual void wf::touch_interaction_t::handle_touch_motion(uint32_t, int, wf::pointf_t)’:
/opt/wayfire/include/wayfire/scene-input.hpp:208:47: warning: unused parameter ‘time_ms’ [-Wunused-parameter]
  208 |     virtual void handle_touch_motion(uint32_t time_ms, int finger_id,
      |                                      ~~~~~~~~~^~~~~~~
/opt/wayfire/include/wayfire/scene-input.hpp:208:60: warning: unused parameter ‘finger_id’ [-Wunused-parameter]
  208 |     virtual void handle_touch_motion(uint32_t time_ms, int finger_id,
      |                                                        ~~~~^~~~~~~~~
/opt/wayfire/include/wayfire/scene-input.hpp:209:22: warning: unused parameter ‘position’ [-Wunused-parameter]
  209 |         wf::pointf_t position)
      |         ~~~~~~~~~~~~~^~~~~~~~
In file included from /opt/wayfire/include/wayfire/scene.hpp:12,
                 from /opt/wayfire/include/wayfire/core.hpp:9:
/opt/wayfire/include/wayfire/scene-render.hpp: In member function ‘virtual void wf::scene::render_instance_t::render(const wf::render_target_t&, const wf::region_t&)’:
/opt/wayfire/include/wayfire/scene-render.hpp:109:52: warning: unused parameter ‘target’ [-Wunused-parameter]
  109 |     virtual void render(const wf::render_target_t& target,
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/opt/wayfire/include/wayfire/scene-render.hpp:110:29: warning: unused parameter ‘region’ [-Wunused-parameter]
  110 |         const wf::region_t& region)
      |         ~~~~~~~~~~~~~~~~~~~~^~~~~~
/opt/wayfire/include/wayfire/scene-render.hpp: In member function ‘virtual void wf::scene::render_instance_t::render(const wf::render_target_t&, const wf::region_t&, const std::any&)’:
/opt/wayfire/include/wayfire/scene-render.hpp:119:53: warning: unused parameter ‘custom_data’ [-Wunused-parameter]
  119 |         const wf::region_t& region, const std::any& custom_data)
      |                                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~
/opt/wayfire/include/wayfire/scene-render.hpp: In member function ‘virtual void wf::scene::render_instance_t::presentation_feedback(wf::output_t*’:
/opt/wayfire/include/wayfire/scene-render.hpp:129:54: warning: unused parameter ‘output’ [-Wunused-parameter]
  129 |     virtual void presentation_feedback(wf::output_t *output)
      |                                        ~~~~~~~~~~~~~~^~~~~~
/opt/wayfire/include/wayfire/scene-render.hpp: In member function ‘virtual wf::scene::direct_scanout wf::scene::render_instance_t::try_scanout(wf::output_t*)’:
/opt/wayfire/include/wayfire/scene-render.hpp:142:54: warning: unused parameter ‘output’ [-Wunused-parameter]
  142 |     virtual direct_scanout try_scanout(wf::output_t *output)
      |                                        ~~~~~~~~~~~~~~^~~~~~
/opt/wayfire/include/wayfire/scene-render.hpp: In member function ‘virtual void wf::scene::render_instance_t::compute_visibility(wf::output_t*, wf::region_t&)’:
/opt/wayfire/include/wayfire/scene-render.hpp:155:51: warning: unused parameter ‘output’ [-Wunused-parameter]
  155 |     virtual void compute_visibility(wf::output_t *output, wf::region_t& visible)
      |                                     ~~~~~~~~~~~~~~^~~~~~
/opt/wayfire/include/wayfire/scene-render.hpp:155:73: warning: unused parameter ‘visible’ [-Wunused-parameter]
  155 |     virtual void compute_visibility(wf::output_t *output, wf::region_t& visible)
      |                                                           ~~~~~~~~~~~~~~^~~~~~~
../src/keyboard-layout.cpp: At global scope:
../src/keyboard-layout.cpp:39:9: error: ‘signal_connection_t’ in namespace ‘wf’ does not name a type
   39 |     wf::signal_connection_t on_key = [=] (wf::signal_data_t*) {
      |         ^~~~~~~~~~~~~~~~~~~
../src/keyboard-layout.cpp: In member function ‘virtual void keyboard_layout_t::init()’:
../src/keyboard-layout.cpp:101:24: error: ‘class wf::compositor_core_t’ has no member named ‘connect_signal’
  101 |         wf::get_core().connect_signal("keyboard_key", &on_key);
      |                        ^~~~~~~~~~~~~~
../src/keyboard-layout.cpp:101:56: error: ‘on_key’ was not declared in this scope
  101 |         wf::get_core().connect_signal("keyboard_key", &on_key);
      |                                                        ^~~~~~
../src/keyboard-layout.cpp: In member function ‘virtual void keyboard_layout_t::fini()’:
../src/keyboard-layout.cpp:105:24: error: ‘class wf::compositor_core_t’ has no member named ‘disconnect_signal’
  105 |         wf::get_core().disconnect_signal(&on_key);
      |                        ^~~~~~~~~~~~~~~~~
../src/keyboard-layout.cpp:105:43: error: ‘on_key’ was not declared in this scope
  105 |         wf::get_core().disconnect_signal(&on_key);
      |                                           ^~~~~~
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant