In reply to nagendrareddy s:
Looks like you want to compile c/C++ code with an C/C++ compiler in your installation path.
See what verror 7019 is issuing:
vsim-vlog Message # 7019:
In order to use QuestaSim’s SystemVerilog DPI, a C compiler must be
visible at runtime. You can use the CppPath variable in the
modelsim.ini file to designate a compiler, or you can download
and install a built-in GCC from the Model Technology website.
BTW this is a tool-related issue.