Welcome to our user forum (read only mode).
Would you like to react to this message? Create an account in a few clicks or log in to continue.

error loading the library "McsUsbDLL" with Matlab R2009b (Mac)

2 posters

Go down

error loading the library "McsUsbDLL" with Matlab R2009b (Mac) Empty error loading the library "McsUsbDLL" with Matlab R2009b (Mac)

Post  martinvogel Mon Feb 17, 2014 6:20 pm

Hello,

i am working with a matlab script created on windows by a colleague and used for several years on PCs
and I am experiencing problems with a function that loads the McsUsbDLL library:

I got the following errors using matlab R2009b (mac):

??? Error using ==> loadlibrary at 474
There was an error loading the library "McsUsbDLL"
dlopen(McsUsbDLL.dylib, 1): image not found

Error in ==> ICSS_Training at 28
 loadlibrary('McsUsbDLL', 'McsUsbDLL.h','alias','McsUsbDLL')

Caused by:
   Error using ==> loaddefinedlibrary
   dlopen(McsUsbDLL.dylib, 1): image not found



I also tried, before using Matlab 2009b, to run the program with Matlab R2011a
I got then the following errors:

??? Error using ==> loadlibrary at 441
Failed to preprocess the input file.
Output from preprocessor is:/bin/bash: gcc-4.2: command not found

Error in ==> ICSS_Training at 28
 loadlibrary('McsUsbDLL', 'McsUsbDLL.h','alias','McsUsbDLL')

I thought the problem was a incompatibility of the script with the 64bit architecture of the R2011a version
so I tried with the R2009b working on 32bit but the problem remains even if the errors slightly differ.

I would be grateful to receive more insights and helps on this problem!
Thank you in advance

Martin Vogel

martinvogel

Posts : 2
Join date : 2014-02-17

Back to top Go down

error loading the library "McsUsbDLL" with Matlab R2009b (Mac) Empty Re: error loading the library "McsUsbDLL" with Matlab R2009b (Mac)

Post  Jens Fri Feb 21, 2014 10:39 am

The McsUsbDLL.dll work only on Windows operating system.

Jens

Jens

Posts : 55
Join date : 2009-03-06
Location : Multi Channel Systems

http://www.multichannelsystems.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum