soreau / pixdecor

Pixdecor plugin
MIT License
17 stars 3 forks source link

Error during building #9

Closed vollowx closed 8 months ago

vollowx commented 9 months ago
Run-time dependency wayfire found: NO (tried cmake)

meson.build:18:10: ERROR: Dependency lookup for wayfire with method 'pkgconfig' failed: Could not generate cflags for wayfire:
Package glm was not found in the pkg-config search path.
Perhaps you should add the directory containing `glm.pc'
to the PKG_CONFIG_PATH environment variable
Package 'glm', required by 'wf-config', not found

This turns up when I was running meson setup build --prefix=/usr, I've installed glm and wayfire packages (tried both AUR and chaotic-aur).

soreau commented 9 months ago

I think the basic problem is that, due to a change in glm, you should install cmake and then reinstall wf-config, wayfire, and finally pixdecor.

vollowx commented 8 months ago

I'm still unable to build this, but anyway thx for ur efforts!

soreau commented 8 months ago

Thank you for following up. Do you still get the same error even after installing cmake before rebuilding wayfire and wf-config? If you can post the complete output starting with the command you're running to build, we might be able to spot the problem.

vollowx commented 8 months ago

Actually I can't build wayfire manually, either. The built wayfire binary can't find wf-config

soreau commented 8 months ago

I see. It might be that you need to set LD_LIBRARY_PATH to the directory containing libwf-config.so. In any event, if you would like to try to fix it, we can keep communicating here, on IRC/Matrix/Discord or you can create a discussion on github.com/wayfirewm/wayfire.

vollowx commented 8 months ago

Thanks for your advice, however I am currently busy and can just accept building from AUR.

I'll try to figure out the problem as soon as I have some free time.