How can i compile dpi files in do file?

i am using vmm methodology and when i ran my code it say it can’t access dpi c function

This is a forum for UVM questions. You will need to find a forum which can answer VMM questions.