Error using loadlibrary Building okFrontPanel_thunk_pcwin64 failed. Compiler output is: cl -I"D:\Quan\Program Files\MATLAB\R2023b\extern\include" /Zc:__cplusplus /Zp8 /W3 /
16 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Error using loadlibrary
Building okFrontPanel_thunk_pcwin64 failed. Compiler output is:
cl -I"D:\Quan\Program Files\MATLAB\R2023b\extern\include" /Zc:__cplusplus /Zp8 /W3 /nologo -I"C:\Users\Quan\Desktop\256X256\matlab"
-I"C:\Users\Quan\Desktop\256X256\matlab\Opal Kelly" "okFrontPanel_thunk_pcwin64.c" -LD -Fe"okFrontPanel_thunk_pcwin64.dll"
okFrontPanel_thunk_pcwin64.c
LINK : fatal error LNK1104: cannot open file 'okFrontPanel.lib'
2 Commenti
Umar
il 22 Giu 2024
Hi Quang,
To resolve this error, ensure that the 'okFrontPanel.lib' file is present in the specified directory or provide the correct path to the file in the build configuration. Additionally, verify that the necessary dependencies are correctly set up and accessible to the compiler. Once the 'okFrontPanel.lib' file is available and the paths are correctly configured, attempt to rebuild the library to resolve the linking error.
Hope this will help resolve your issue.
Himanshu
il 11 Lug 2024
Hi,
The error message indicates that the "loadlibrary" function in MATLAB is failing because it cannot find the "okFrontPanel.lib" file. This issue could have been caused by spaces in the directory path.
Ensure that the directory paths do not contain spaces. If they do, consider moving the files to a directory without spaces or using the short path name (8.3 format) for directories. Confirm that "okFrontPanel.lib" is located in one of the specified directories. If it is not, you may need to update your include paths or move "okFrontPanel.lib" to the correct location.
I hope this helps.
Risposte (0)
Vedere anche
Categorie
Scopri di più su Audio and Video Data in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!