error: @programdir\modules\private\async\runjobs.lua:217: @programdir\modules\private\action\build\object.lua:78: @programdir\modules\core\tools\cl.lua:455: AzureKinectPlugin.cpp
c1xx: warning C5044: An argument to command-line option /external:I points to a path 'c:\projets\obs-kinect\obs-kinect\"c:\program files\azure kinect sdk v1.4.1\sdk\include"' that does not exist
C:\Projets\obs-kinect\obs-kinect\src\obs-kinect-azuresdk\AzureKinectDevice.hpp(25): fatal error C1083: cannot open include file: 'k4a/k4a.hpp' : No such file or directory
Notice how cl.exe seems to understand the path as a relative one (c:\projets\obs-kinect\obs-kinect is my working folder).
Describe the bug
I'm using
to use Azure Kinect SDK.
The problem is that xmake generate that command-like:
Which leads to errors:
Notice how cl.exe seems to understand the path as a relative one (c:\projets\obs-kinect\obs-kinect is my working folder).
I managed to fix this by replacing this part
to
And of course the files exist on my computer:
Expected behavior
That xmake generates a working argument when spaces are used.
Related Environment
Please provide compiling and running environment information: