You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm just starting to learn to use xmake, I found stacktrace in xmake-2.9.7 is not complete, and can't help me solve my problem. When using 2.9.6, it's fine.
Using xmake-2.9.7
Execute command "C:/Program Files/xmake/xmake.exe" f -m release -c -vD, get following stacktrace:
error: error: Vulkan not found.
error: attempt to call a nil value (method 'set_enabled')
stack traceback:
[C]: in function 'error'
@programdir\core\base\os.lua:1008: in function 'os.raiselevel'
(...tail calls...)
@programdir\core\main.lua:329: in upvalue 'cotask'
@programdir\core\base\scheduler.lua:406: in function <@programdir\core\base\scheduler.lua:399>
using xmake-2.9.6, execute same command, get following stacktrace:
error: Vulkan not found.
error: @programdir\core\main.lua:329: @programdir\core\project\project.lua:936: .\modules\LuisaCompute\src\ext\volk\xmake.lua:17: method 'set_enabled' is not callable (a nil value)
stack traceback:
[.\modules\LuisaCompute\src\ext\volk\xmake.lua:17]:
[C]: in function 'xpcall'
[@programdir\core\base\utils.lua:244]:
[@programdir\core\project\target.lua:130]: in function '_load'
[@programdir\core\project\project.lua:409]: in function '_load_targets'
[@programdir\core\project\project.lua:934]: in function 'targets'
[@programdir\actions\config\main.lua:120]: in function '_check_targets'
[@programdir\actions\config\main.lua:399]:
[C]: in function 'xpcall'
[@programdir\core\base\utils.lua:244]:
[@programdir\core\base\task.lua:491]: in function 'run'
[@programdir\core\main.lua:327]: in function 'cotask'
[@programdir\core\base\scheduler.lua:406]:
stack traceback:
[C]: in function 'error'
@programdir\core\base\os.lua:1004: in function 'base/os.raiselevel'
(...tail calls...)
@programdir\core\main.lua:329: in upvalue 'cotask'
@programdir\core\base\scheduler.lua:406: in function <@programdir\core\base\scheduler.lua:399>
Expected Behavior
Expect same behavior as 2.9.6.
Project Configuration
"C:/Program Files/xmake/xmake.exe" f -m release -c -vD
Additional Information and Error Logs
nothing
The text was updated successfully, but these errors were encountered:
$ xmake -vD5: @programdir/core/project/project.lua:977: ./xmake.lua:3: attempt to call a nil value (global 'set_xxx')stack traceback: [./xmake.lua:3]: in main chunk
Please provide a minimal complete project zip that can be reproduced
Xmake Version
2.9.7
Operating System Version and Architecture
Windows 11 23H2
Describe Bug
I'm just starting to learn to use xmake, I found stacktrace in xmake-2.9.7 is not complete, and can't help me solve my problem. When using 2.9.6, it's fine.
Using xmake-2.9.7
Execute command
"C:/Program Files/xmake/xmake.exe" f -m release -c -vD
, get following stacktrace:using xmake-2.9.6, execute same command, get following stacktrace:
Expected Behavior
Expect same behavior as 2.9.6.
Project Configuration
"C:/Program Files/xmake/xmake.exe" f -m release -c -vD
Additional Information and Error Logs
nothing
The text was updated successfully, but these errors were encountered: