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 /
28 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Umar
am 22 Jun. 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
am 11 Jul. 2024 um 5:13
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.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Audio and Video Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!