Not able to find the package in the directory

In reply to dave_59:

Hello Dave,

I am using Questasim-10.2c, I have all the files of SPI-APB from VA(in uvm) on the left panel including .v, .sv and .svh.
I just right click that panel and ->compile ->compile order → Auto generate-> ok.

I trying to import or include the file uvm_reg.svh and uvm_reg_map.svh in my environment.
But it gives error.

**Could not find the package (uvm_reg). 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.
**
Please guide.

Regards
Sunil