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 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Umar
el 22 de Jun. de 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
el 11 de Jul. de 2024 a las 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.
Respuestas (0)
Ver también
Categorías
Más información sobre Audio and Video Data en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!