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

Go down

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

Post  martinvogel on Mon Feb 17, 2014 6:20 am

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

View user profile

Back to top Go down

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

Post  Jens on Thu Feb 20, 2014 10:39 pm

The McsUsbDLL.dll work only on Windows operating system.

Jens

Jens

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

View user profile 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