# Missing library

**URL:** <https://discourse.myriadrf.org/t/missing-library/5201>\
**Category:** LimeSDR\
**Created:** [29 September 2019 12:12 UTC](https://discourse.myriadrf.org/t/missing-library/5201 "2019-09-29T12:12:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![BLACKAGAIN](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@BLACKAGAIN](https://discourse.myriadrf.org/u/BLACKAGAIN)\
**Post date:** [29 September 2019 12:12 UTC](https://discourse.myriadrf.org/t/missing-library/5201/1 "2019-09-29T12:12:10Z")

</div>

Hello,  
where do i find the library : LimeSuite.dll ??

```
       Can someone quickly help?

```

Thanks

---

<div class="post-metadata">

**Author:** ![yindra](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/yindra/32/1901_2.png) [@yindra](https://discourse.myriadrf.org/u/yindra)\
**Post date:** [1 October 2019 18:13 UTC](https://discourse.myriadrf.org/t/missing-library/5201/2 "2019-10-01T18:13:26Z")

</div>

answer from [https://wiki.myriadrf.org/Installing\_Lime\_Suite\_on\_Windows](https://wiki.myriadrf.org/Installing_Lime_Suite_on_Windows)

download the latest version from Myriad’s website: [https://downloads.myriadrf.org/builds/PothosSDR/](https://downloads.myriadrf.org/builds/PothosSDR/)  
and install the PothosSDR bundle to install LimeSuite.dll

---

<div class="post-metadata">

**Author:** ![BLACKAGAIN](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@BLACKAGAIN](https://discourse.myriadrf.org/u/BLACKAGAIN)\
**Post date:** [1 October 2019 19:34 UTC](https://discourse.myriadrf.org/t/missing-library/5201/3 "2019-10-01T19:34:28Z")

</div>

Will this also solve this problem: [Missing functions](https://discourse.myriadrf.org/t/missing-functions/5202) ??

---

<div class="post-metadata">

**Author:** ![BLACKAGAIN](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@BLACKAGAIN](https://discourse.myriadrf.org/u/BLACKAGAIN)\
**Post date:** [1 October 2019 20:09 UTC](https://discourse.myriadrf.org/t/missing-library/5201/4 "2019-10-01T20:09:35Z")

</div>

well thanks a lot, including the new limesuite.dll has reduced all those warnings and errors as declared at [Missing functions](https://discourse.myriadrf.org/t/missing-functions/5202).

But now i still get the following errors and warnings:

> limeSDR.build\_thunk  
> Warning: The function ‘LMS\_Disconnect’ was not found in the library
> 
> > In loadlibrary at 402  
> > In limeSDR\>limeSDR.build\_thunk at 127  
> > Warning: The function ‘LMS\_IsOpen’ was not found in the library  
> > In loadlibrary at 402  
> > In limeSDR\>limeSDR.build\_thunk at 127  
> > Warning: The data type ‘FcnPtr’ used by function LMS\_Program does not exist.  
> > In loadlibrary at 402  
> > In limeSDR\>limeSDR.build\_thunk at 127  
> > Warning: The data type ‘FcnPtr’ used by function LMS\_ProgramUpdate does not exist.  
> > In loadlibrary at 402  
> > In limeSDR\>limeSDR.build\_thunk at 127  
> > Warning: The function ‘LMS\_ProgramUpdate’ was not found in the library  
> > In loadlibrary at 402  
> > In limeSDR\>limeSDR.build\_thunk at 127  
> > Warning: The data type ‘FcnPtr’ used by function LMS\_RegisterLogHandler does not exist.  
> > In loadlibrary at 402  
> > In limeSDR\>limeSDR.build\_thunk at 127
> 
> Missing functions:  
> ‘LMS\_Disconnect’  
> ‘LMS\_IsOpen’  
> ‘LMS\_ProgramUpdate’
> 
> Error using limeSDR.build\_thunk (line 144)  
> Failed to find the above functions in libLimeSuite.

---

<div class="post-metadata">

**Author:** ![yindra](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/yindra/32/1901_2.png) [@yindra](https://discourse.myriadrf.org/u/yindra)\
**Post date:** [1 October 2019 20:17 UTC](https://discourse.myriadrf.org/t/missing-library/5201/5 "2019-10-01T20:17:43Z")

</div>

maybe you can find a comparable function here: [https://github.com/myriadrf/LimeSuite/tree/master/src/lime](https://github.com/myriadrf/LimeSuite/tree/master/src/lime)

or here: [Using APIs for LimeSDR Mini](https://discourse.myriadrf.org/t/using-apis-for-limesdr-mini/5117/3)

---

<div class="post-metadata">

**Author:** ![BLACKAGAIN](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@BLACKAGAIN](https://discourse.myriadrf.org/u/BLACKAGAIN)\
**Post date:** [1 October 2019 20:31 UTC](https://discourse.myriadrf.org/t/missing-library/5201/6 "2019-10-01T20:31:40Z")

</div>

Alright man, thanks a lot. That clears up all the errors, the help from last post does!!

But there still are warnings:

> limeSDR.build\_thunk  
> Warning: The data type ‘FcnPtr’ used by function LMS\_Program does not exist.
> 
> > In loadlibrary at 402  
> > In limeSDR\>limeSDR.build\_thunk at 127  
> > Warning: The data type ‘FcnPtr’ used by function LMS\_RegisterLogHandler does not exist.  
> > In loadlibrary at 402  
> > In limeSDR\>limeSDR.build\_thunk at 127  
> > Warning: Encountered the following warnings while loading libLimeSuite:  
> > LimeSuite.h
> 
> Type ‘lconvPtr’ was not found. Defaulting to type voidPtr.
> 
> Found on line 5512 of input from line 2018 of file C:\Program Files (x86)\Microsoft Visual Studio  
> 11.0\VC\INCLUDE\crtdefs.h
> 
> Type ‘longdouble’ was not found. Defaulting to type error.
> 
> Found on line 10074 of input from line 139 of file C:\Program Files (x86)\Microsoft Visual Studio  
> 11.0\VC\INCLUDE\stdlib.h
> 
> Function pointer types are unsupported in structures enum { LMS\_FMT\_F32 = .  
> Found on line 12695 of input from line 1089 of file C:\Users\VINAYAK  
> KARANDIKAR\Documents\MATLAB\MATLAB\Master\_Thesis\Testing\_Reception\_From\_Signal\_Generator\Fourth\_Test\LimeSuite.h  
> libLimeSuite\_thunk\_pcwin64.c  
> Creating library libLimeSuite\_thunk\_pcwin64.lib and object libLimeSuite\_thunk\_pcwin64.exp
> 
> > In limeSDR\>limeSDR.build\_thunk at 148

---

<div class="post-metadata">

**Author:** ![yindra](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/yindra/32/1901_2.png) [@yindra](https://discourse.myriadrf.org/u/yindra)\
**Post date:** [1 October 2019 21:32 UTC](https://discourse.myriadrf.org/t/missing-library/5201/7 "2019-10-01T21:32:55Z")

</div>

I’m not sure when the data type ‘FcnPtr’ went away. Now, the function LMS\_RegisterLogHandler takes a parameter of type LMS\_LogHandler. See the excerpt bellow from lime/LimeSuite.h

/\*\*

- Callback function for redirecting API messages
- 
- @param lvl \ref LMS\_LOG\_LEVEL.
- @param msg string containing log message text.  
\*/  
typedef void (\*LMS\_LogHandler)(int lvl, const char \*msg);

/\*!

- Register a new system log handler. Should be called to replace the default
- stdio handler.
- 
- @param handler function for handling API messages  
\*/  
API\_EXPORT void LMS\_RegisterLogHandler(LMS\_LogHandler handler);

---

<div class="post-metadata">

**Author:** ![BLACKAGAIN](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@BLACKAGAIN](https://discourse.myriadrf.org/u/BLACKAGAIN)\
**Post date:** [1 October 2019 21:36 UTC](https://discourse.myriadrf.org/t/missing-library/5201/8 "2019-10-01T21:36:21Z")

</div>

Yes, i did spot that part in LimeSuite.h

So how do we remove the above warnings? Any ideas?

---

<div class="post-metadata">

**Author:** ![yindra](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/yindra/32/1901_2.png) [@yindra](https://discourse.myriadrf.org/u/yindra)\
**Post date:** [1 October 2019 21:51 UTC](https://discourse.myriadrf.org/t/missing-library/5201/9 "2019-10-01T21:51:52Z")

</div>

I’ve never used limeSDR.build\_thunk, or MATLAB. I do not have any idea.
