How to reference internal user typedef of VHDL DUT?

In reply to ce_2015:
I do not believe this Working. It should give you a compile errror:

vlog -mfcu +incdir+“…/hdl/proj_pkg.vhd” -f tb.f -incr -mixedsvvh

Use instead

vcom -mfcu +incdir+"../hdl/proj_pkg.vhd" -f tb.f -incr -mixedsvvh