Have you tried installing the version it's asking for?
To be completely safe, one should build out-of-tree modules with gcc version that was used to build the kernel (one you are building the modules for). In practice, it rarely causes problems and I wouldn't expect any serious issue if you build the module with gcc7 for kernel built with gcc8. (Technically, matching version is not guaranteed to be sufficient either, there may be other differences.) IIRC this is only hard error if you let the Workstation GUI run the build, buidling the modules manually with "vmware-modconfig --console --install-all" should work around it.
(If your kernel is 5.1 or newer, the build will fail anyway and you will need to patch the module sources but that's a different story.)
Yes, I finally found some good instructions to install that version and then to get the OS to use that version. So it is working great now. Thanks