DLL module not found upon compiling
Afficher commentaires plus anciens
Hi All,
I have a piece of code that works quite smooth in matlab itself, and now I try to compile it into an executable, but it returns the following error.
there was an error loading the library "DataSourceDLL.dll"
The specified module could not be found.
Bear in mind that I am no expert in DLL's etcetera, but based on previous Q&A's I have
- converted the header into an m.file using this procedure : https://www.mathworks.com/help/compiler/matlab-library-loading.html
- tried to load everything into the executable with the -a command while compiling
- I noticed with dependency walker that some modules showed CPU x86 and some x64 (though surprising to see that most of them are x86, while I run a 64bit machine), could this be the problem? I would actually expect it to be a problem as well when running the code from Matlab itself? Edit, the dll, matlab and the compiler are all 64 bit
any other ideas or solutions?
Thanks,
Kris
Réponse acceptée
Plus de réponses (1)
Jan
le 29 Avr 2019
0 votes
4 commentaires
kristof paredis
le 29 Avr 2019
Jan
le 29 Avr 2019
I do not understand your comment. The SDK does not "come up" where? And you did install it already and ran mex -setup to make it the active compiler? And did you consider, that installing the SDK7.1 is not trivial under Windows10, but the instructions given in the link on this page have been required for this person?
Providing the details is more useful than guessing them. ;-)
kristof paredis
le 2 Mai 2019
Sébastien
le 16 Mai 2024
Did you solve the problem? I have exactly the same issue
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!