Cmake error when I try to use makepkg -si

I am trying to install a mouse driver, and when I try to use makepkg -si, i get this output.

==> Making package: a4tech-bloody-driver-git r155.2beb8fe-1 (Thu 10 Jun 2021 05:54:42 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning a4tech-bloody-driver-git git repo...
Cloning into bare repository '/home/jackb/Downloads/a4tech-bloody-driver-git/a4tech-bloody-driver-git'...
warning: redirecting to
remote: Enumerating objects: 600, done.
remote: Counting objects: 100% (199/199), done.
remote: Compressing objects: 100% (100/100), done.
remote: Total 600 (delta 125), reused 169 (delta 98), pack-reused 401
Receiving objects: 100% (600/600), 324.51 KiB | 4.92 MiB/s, done.
Resolving deltas: 100% (387/387), done.
  -> Found 60-bloody.rules
==> Validating source files with sha256sums...
    a4tech-bloody-driver-git ... Skipped
    60-bloody.rules ... Passed
==> Extracting sources...
  -> Creating working copy of a4tech-bloody-driver-git git repo...
Cloning into 'a4tech-bloody-driver-git'...
==> Starting pkgver()...
==> WARNING: /home/jackb/Downloads/a4tech-bloody-driver-git/PKGBUILD is not writeable -- pkgver will not be updated
==> Starting build()...
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/home/jackb/Downloads/a4tech-bloody-driver-git/src/a4tech-bloody-driver-git/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().

Dev packages installed ?

sudo pacman -Syu base-devel pacman-contrib git

When pasting terminal output, highlight it and use the Preformatted text </> button.

Alternatively, add three backticks ` above and below the text:


Please edit your post accordingly.

Before using the AUR, please see:

Something is very wrong if subdirectories in your home directory are not writable.

That’s required by the base group, manjaro-system, mhwd, etc. and is preinstalled on Manjaro, FYI.