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

Build fails #33

Closed
wrkzk opened this issue Jul 6, 2021 · 2 comments
Closed

Build fails #33

wrkzk opened this issue Jul 6, 2021 · 2 comments

Comments

@wrkzk
Copy link

wrkzk commented Jul 6, 2021

After following the directions in the README, the build fails with this output:

FAILED: src/deco/libswayfire-deco.so.p/deco.cpp.o
ccache c++ -Isrc/deco/libswayfire-deco.so.p -Isrc/deco -I../src/deco -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/uuid -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++17 -O3 -DWLR_USE_UNSTABLE -DWAYFIRE_PLUGIN -fPIC -fpch-preprocess -include prefix.hpp -MD -MQ src/deco/libswayfire-deco.so.p/deco.cpp.o -MF src/deco/libswayfire-deco.so.p/deco.cpp.o.d -o src/deco/libswayfire-deco.so.p/deco.cpp.o -c ../src/deco/deco.cpp
../src/deco/deco.cpp: In member function 'void ViewDecoration::detach_surface()':
../src/deco/deco.cpp:57:56: error: no match for 'operator=' (operand types are 'std::unique_ptr<wf::surface_interface_t ' and 'void')
@Javyre
Copy link
Owner

Javyre commented Jul 6, 2021

Make sure you are building with wayfire master installed. We recently changed the decorations API in wayfire and adapted the code here. I still need to update the readme for this change sorry.

WayfireWM/wayfire@7b79894
65f9d5b

@wrkzk
Copy link
Author

wrkzk commented Jul 6, 2021

Just retried with wayfire master, everything works.

@wrkzk wrkzk closed this as completed Jul 6, 2021
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

2 participants