# Link problem of MultisampleIMG

**URL:** https://forums.imgtec.com/t/link-problem-of-multisampleimg/4109
**Category:** Uncategorized
**Created:** [January 20, 2025, 2:42am UTC](https://forums.imgtec.com/t/link-problem-of-multisampleimg/4109 "2025-01-20T02:42:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![axel](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@axel](https://forums.imgtec.com/u/axel)
#### Post date: [January 20, 2025, 2:42am UTC](https://forums.imgtec.com/t/link-problem-of-multisampleimg/4109/1 "2025-01-20T02:42:36Z")

</div>

Hi expert,

Now our dev environment is TI+QNX, we got a linking issue about "glFramebufferTexture2DMultisampleIMG " when compiling the program, we can find the declaration in the qnx710\target\qnx7\usr\include\GLES2\glext.h,

My question is which lib(.so) i should link to ? Please let me know if you know the answer, thanks a lot.

I already linked the libGLESv2.so and libIMGGLESV2.so

---

<div class="post-metadata">

### Author: ![AlejandroC](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@AlejandroC](https://forums.imgtec.com/u/AlejandroC)
#### Post date: [January 27, 2025, 11:43am UTC](https://forums.imgtec.com/t/link-problem-of-multisampleimg/4109/2 "2025-01-27T11:43:31Z")

</div>

Hi axel,

Thanks a lot for your question.

After asking internally, libGLESv2.so should be the correct .so to link against, but the extension which allows to use glFramebufferTexture2DMultisampleIMG (GL\_EXT\_multisampled\_render\_to\_texture) might not be supported or implemented.

Perhaps you could check during run-time whether the extension is supported and get a function pointer to the glFramebufferTexture2DMultisampleIMG API in case it is?

Best regards,  
Alejandro
