Cryptlex Forums

Matlab sample: missing dependent shared library

A
annacegu

Hi,

I am trying to run the sample at https://github.com/cryptlex/lexactivator-matlab but I am running into an error when loading the LexActivator library (stripped out directories):

Error using loadlibrary
There was an error loading the library “LexActivator.dll”
Missing dependent shared libraries:
‘MSVCP100.dll’ required by ‘LexActivator.dll’
‘MSVCR100.dll’ required by ‘LexActivator.dll’

Error in Sample (line 11)
loadlibrary(sSharedLibrary,sHeaderFile, ‘addheader’,sStatusHeaderFile,…

Caused by:
Error using loaddefinedlibrary
Missing dependent shared libraries:
‘MSVCP100.dll’ required by ‘LexActivator.dll’
‘MSVCR100.dll’ required by ‘LexActivator.dll’

I’ve tried the ‘includepath’ option in loadlibrary to add where I think the correct MSVCP100.dll is, but still causing the same error.

Regards,
Anna.

A
Adnan KamiliCryptlex team

Hi,

The download package containing the dll has a readme file, which contains information on how to fix this issue.

A
annacegu

Hi Adnan,

The readme file just has a link to a webpage, and I followed the link to c++: https://docs.cryptlex.com/node-locked-licenses/using-lexactivator/using-lexactivator-with-c-c++-and-objective-c

Could you please point me to the place where it has instructions to fix this error?

Anna.

A
Adnan KamiliCryptlex team

The download package which you downloaded from the dashboard download page, GitHub contains the code sample only, not the dll.

A
annacegu

I downloaded the LexActivator.dll from the dashboard. The readme file goes to the same link.

A
Adnan KamiliCryptlex team

The folder containing the dll has the readme with the dependency information.

A
annacegu

Thanks, I found the readme file. I downloaded vs2010_x64.zip (as appropriate for my windows install), but I am still getting the same initial error.

A
annacegu

never mind, I didn’t realise I had to unzip the file. It’s working now, thanks!

← Back to all topics · 8 posts · 2591 views · opened 2018-09-26