Error when building version 1.96

I just cloned the project from github and build with ubuntu 20.04.

I got this error:
– Determined Source Version : 1.96.0-158-ge99b62a2
– Could NOT find SPGLIB (missing: SPGLIB_INCLUDE_DIR SPGLIB_LIBRARY)
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find MMTF (missing: MMTF_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
cmake/FindMMTF.cmake:13 (find_package_handle_standard_args)
avogadro/io/CMakeLists.txt:4 (find_package)

Can you please advise?
Thank you!

It looks like you just cloned avogadrolibs. By far, the easiest way to get going is to clone openchemistry which will set everything up, including both avogadrolibs and avogadroapp.

Build instructions are in the repo, but also: Building Source Code — Avogadro 1.95.1 documentation