Error whily try to compile a project

In reply to sharat:

I run your command and I got the following errors:

** Error: C:/modeltech_pe_10.4c/examples/testbench.sv(1): (vlog-13006) Could not find the package (uvm_pkg). Design read will continue, but expect a cascade of errors after this failure. Furthermore if you experience a vopt-7 error immediately before this error then please check the package names or the library search paths on the command line.

** Error: (vlog-13069) C:/modeltech_pe_10.4c/examples/testbench.sv(9): near “uvm_env”: syntax error, unexpected IDENTIFIER.

** Error: C:/modeltech_pe_10.4c/examples/testbench.sv(9): Error in class extension specification.

C:/modeltech_pe_10.4c/win32pe/vlog failed.