libcvd error: ‘convert_image’ was not declared in this scope

  c++, computer-vision, g++, linux, slam

I’m trying to use this PTAM program from github

I’ve installed all the required libraries and when I try to make the executable with the makefile, I’m receiving an error with the ‘libcvd’ library for a function that is used out of scope.

g++ -o KeyFrame.o -c -I /usr/local/include -D_LINUX -D_REENTRANT -Wall  -O3 -march=nocona -msse3 -fno-strict-aliasing 
In file included from /usr/local/include/cvd/vision.h:11,
/usr/local/include/cvd/utility.h: In instantiation of ‘void CVD::copy(const CVD::BasicImage<C>&, CVD::BasicImage<T>&, CVD::ImageRef, CVD::ImageRef, CVD::ImageRef) [with S = unsigned char; T = unsigned char]’:   required from here
/usr/local/include/cvd/utility.h:44:16: error: ‘convert_image’ was not declared in this scope
   44 |   convert_image(in, out);
      |   ~~~~~~~~~~~~~^~~~~~~~~
make: *** [Makefile:69: KeyFrame.o] Error 1

Source: Windows Questions C++