Azure-Kinect-Sensor-SDK
Azure-Kinect-Sensor-SDK copied to clipboard
How to link k4a.lib in windows without using Nuget?
Hello! I am a junior programmer. When I link the k4a.lib, it reports a error. There is the commands as follows.
E:\software\msys64\mingw64\bin\g++.exe -fdiagnostics-color=always -g E:\project\cpp_project\human_body1\main.cpp -I "C:\Program Files\Azure Kinect SDK v1.4.1\sdk\include" "C:\Program Files\Azure Kinect SDK v1.4.1\sdk\windows-desktop\x86\release\lib" -o E:\project\cpp_project\human_body1\main.exe
E:/software/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find C:\Program Files\Azure Kinect SDK v1.4.1\sdk\windows-desktop\x86\release\lib: Permission denied
collect2.exe: error: ld returned 1 exit status
So, how should i resolve this?