Problem With CMAKE in installing SimpleScreenRecorder and Dockbarx-sfce4-plugin

Hello – I am new to Endeavour in the last couple of weeks and am trying to install a new computer with XFCE desktop, which I installed manually after first installing the system with plasma. i am running into problems with dockbarx (actually, the xfce4-dockbarx-plugin) and simple Screen recorder, and on both attempts I am getting a similar or identical CMAKE error. Seems like I ran into this a couple of weeks ago and got past it by installing some other small program, but I can’t remember what it was.

Would anyone know about this already, or have a way for me to find out exactly what cmake is looking for that it is not finding?

thanks!

CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument value. Or, use the … syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

So I guess you installed XFCE from within Plasma,if I understand you correctly, which is never a good idea in the first place.

Just read the latest comment on that AUR PKGBUILD.

vaexey commented on 2025-04-27 14:51 (UTC)

Simply adding the environment variable CMAKE_POLICY_VERSION_MINIMUM=3.5 fixed the CMake error. e.g. CMAKE_POLICY_VERSION_MINIMUM=3.5 aur sync simplescreenrecorder

1 Like

Yep, I installed Plasma first. I like dolphin for many file management uses, and I am very much wanting it to appear in dark mode when I am in xfce, so I thought i would install the full plasma so as to have the best chance of that. Of course, no luck. Dolphin still appears in light mode despite all other QT programs being dark-compatible through using kvantum and qt5ct.

Adding the environment variable before running the yay command fixed my problem! Both simplescreenrecorder and dockbarx-xfce4-plugin installed fine!

(Although in the meantime I’ve now installed “docklike taskbar” and I see that it has improved enough to almost meet or exceed dockbarx.)

Many many thanks.

Thank you Cphusion!!!

1 Like