Error: Macro `uvm_object_utils is undefined, error:undefined variable:uvm_config_db, error:near "#" : syntax error, unexpected '#'

If uvm_object_utils is undefined, it is most likely due to not including “uvm_macros.svh”, or using an out of date version of Questa which doesn’t support UVM. Version 10.c is not a valid Questa version, but if you aren’t using the latest version of Questa, you should update since older versions may not support various methodologies.

Also, before referencing ‘uvm_config_db’, you need to import uvm_pkg::*;