Skip to content

How did you build for ARMv8? #3

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

Closed
fluffyloopy opened this issue Dec 9, 2020 · 5 comments
Closed

How did you build for ARMv8? #3

fluffyloopy opened this issue Dec 9, 2020 · 5 comments

Comments

@fluffyloopy
Copy link

Could you please tell how you built this for termux? I've been unable to link vulkan to anything i've tried

@tanyiok1234
Copy link
Owner

You need to compile glslangValidator first, then combine it with the system built-in libvulkan.so to generate a "mini-vulkan SDK".

Then export it to the VULKAN_SDK environment variable.

if you need libvulkan.so, go to /system/lib64/libvulkan.so

@fluffyloopy
Copy link
Author

fluffyloopy commented Dec 11, 2020

How do I do that? I have compiled it but have no idea on how to combine it with /system/lib64/libvulkan.so
I know how to export path but no idea about vulkan SDK related stuff. Reading about the API or glslang git didn't help me much as I don't fully understand these. Am I to be writing a script/program for it?

@tanyiok1234
Copy link
Owner

How do I do that? I have compiled it but have no idea on how to combine it with /system/lib64/libvulkan.so
I know how to export path but no idea about vulkan SDK related stuff. Reading about the API or glslang git didn't help me much as I don't fully understand these.

Put libvulkan.so into [your build dir]/install/lib

export VULKAN_SDK=[your build dir]/install

Screenshot_20201212-040551609_1.jpg

@fluffyloopy
Copy link
Author

image
Did this happen while you were building too? If so, why does this happen?

@tanyiok1234
Copy link
Owner

image
Did this happen while you were building too? If so, why does this happen?

Please clone the repository forked by me, otherwise you will need to solve many compile issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants