VTK compilation issue in Ubuntu18

After installing all libraries and compiling, following the documentation, this error message is observed:

As was suggested by @kks32 , the problem was solved by adding an additional parameter in the compilation command: -DCMAKE_CXX_COMPILER=g++

Thanks @kks32 !

Thanks I have revised the documentation accordingly to include the compiler flag in CMake.