# Compile a shared library which call OpenCV

**URL:** <https://forums.developer.nvidia.com/t/compile-a-shared-library-which-call-opencv/208768>\
**Category:** Nsight Eclipse Edition\
**Created:** [March 18, 2022, 4:05am UTC](https://forums.developer.nvidia.com/t/compile-a-shared-library-which-call-opencv/208768 "2022-03-18T04:05:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![diverger](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/diverger/32/54410_2.png) [@diverger](https://forums.developer.nvidia.com/u/diverger)\
**Post date:** [March 18, 2022, 4:05am UTC](https://forums.developer.nvidia.com/t/compile-a-shared-library-which-call-opencv/208768/1 "2022-03-18T04:05:51Z")

</div>

I want to compile my shared library. This library will call some functions from OpenCV. After several fails, I come here for some help.

What’s the correct way to implement this in Nsight?

Thanks.
