-
-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
packages(vulkansdk) not found - on M2 MacOS #2846
Comments
Have you install the vulkan sdk on your system? |
Yes! I have it installed and tried adding the SDK to the path. It doesn't look like |
I built xmake from source and I am trying to add a breakpoint following the debugging instructions but emmylua_debugger package is trying to hookup the x86_64 dsym...
Any idea on how to get it working so I can get more debug info? Or perhaps other commands? I tried copying the x86_64 symbol from the vscode extension to the package folder but the error was another one then (I can't recall which one). I reckon that there is a specific folder inside the Vulkan SDK called macOS. In that folder I can find the folders |
To be honest, I don't see why |
you enabled vulkan config,
xmake-repo/packages/i/imgui/xmake.lua Line 81 in 2881c76
|
you can add print logs to debug here. xmake-repo/packages/v/vulkansdk/xmake.lua Line 22 in 2881c76
https://github.com/xmake-io/xmake/blob/master/xmake/modules/detect/sdks/find_vulkansdk.lua |
Should we make |
Thanks! What I mean by "I don't see why |
You can try. And idea? @AidanSun05 @qudix |
I tried installing a version of |
Ah yes. I guess that makes sense... If you have your existing Vulkan application and you want to integrate ImGUI you wouldn't use their implementation. But that sort of defeated the purpose of having a fully functional package. Sorry for the misleading suggestion. I didn't have the time to debug MacOS further yet... I ended up copy-pasting the ImGui files instead. |
Maybe you can try adding this line of code before all add_requires: If that doesn't work, change the name of the current project (e.g. Project to Project1), then create a new project called Project, then copy the original code and the modified xmake.lua and recompile it. I couldn't find vulkansdk on Windows and ubuntu 20.04 before. it's because I added this line in xmake.lua: but I created a new project and suddenly I found that the new project could find vulkansdk. That's what solved the problem. I hope my previous manager and method can help you. |
Xmake Version
2.8.5
Operating System Version and Architecture
macOS Sonoma 14.0
Describe Bug
Either running
xrepo install vulkansdk
or usingadd_requires("imgui v1.89.9-docking", {configs = {glfw_vulkan = true}})
in myxmake.lua
cannot find thevulkansdk
package:I tried running
xrepo update-repo
and updating xmake withxmake update
to no avail. Is this package legacy? I can see it exists in the GitHub repo.Expected Behavior
To be able to download and install vulkansdk package as it's in the Github repo.
Project Configuration
Additional Information and Error Logs
No more information needed.
The text was updated successfully, but these errors were encountered: