Building HDFView 3.1.2 on Ubuntu 20.04

I am having problems building it on Ubuntu 20.10. Can anybody please provide proper steps to build it succcessfully. Thanks. It is much needed for my academic project.