error loading the library "McsUsbDLL" with Matlab R2009b (Mac)
2 posters
Page 1 of 1
error loading the library "McsUsbDLL" with Matlab R2009b (Mac)
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
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
Re: error loading the library "McsUsbDLL" with Matlab R2009b (Mac)
The McsUsbDLL.dll work only on Windows operating system.
Jens
Jens
Similar topics
» Multiple warnings when loading library from MATLAB
» 1.#QNAN0 error
» Using the McsUsbDLL library with 64-bit Matlab
» Error: STG2008 from Matlab
» DataManager Error
» 1.#QNAN0 error
» Using the McsUsbDLL library with 64-bit Matlab
» Error: STG2008 from Matlab
» DataManager Error
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum