# Usage of .so files

**URL:** <https://verificationacademy.com/forums/t/usage-of-so-files/37473>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, DPI, modelsim-106d\
**Created:** [April 21, 2020, 2:45pm UTC](https://verificationacademy.com/forums/t/usage-of-so-files/37473 "2020-04-21T14:45:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [April 21, 2020, 4:32pm UTC](https://verificationacademy.com/forums/t/usage-of-so-files/37473/2 "2020-04-21T16:32:22Z")

</div>

_In reply to [boryah](https://verificationacademy.com/forums/t/usage-of-so-files/37473):_

You are using the C++ compiler, but the DPI is a C interface. You need to follow the general rules for linking C with C++ code. Check your tool’s User Manual for details.

---

_[View the full topic](https://verificationacademy.com/forums/t/usage-of-so-files/37473)._
