[ask for help]compile all the source code into a lib

In reply to logokey:

Hi,
I’ve downloaded the express ovm 2.1.2, I’m using VCS tool license [B-2008.12-11],
I’m trying to compile the hello_world.sv with the run command

#> vcs +v2k +disable_ext -sverilog -lca +incidir+…/…/…/src/ovm_pkg.sv hello_world.sv

It is poping up a error saying that “ovm.svh” source file not known, I tried to compile it by commenting one of the .svh file [i knew error would come but just to ensure .sv files were compiled]

Should i add any other switches to the vcs run command to make header file compile?