powervr-graphics / Native_SDK

C++ cross-platform 3D graphics SDK. Includes demos & helper code (resource loading etc.) to speed up development of Vulkan, OpenGL ES 2.0 & 3.x applications
https://docs.imgtec.com/sdk-documentation/html/introduction.html
MIT License
718 stars 204 forks source link

[BUG] Linux build failure #93

Open jwinarske opened 3 months ago

jwinarske commented 3 months ago

Description

external/glslang/prebuilt/glslangValidator-linux-x86_64 artifact does not have execute permissions set.

| /mnt/raid10/yocto/master/raspberry-pi5/tmp/work/cortexa76-poky-linux/powervr-sdk/git/git/external/glslang/prebuilt/glslangValidator-linux-x86_64 -V --target-env vulkan1.0 /mnt/raid10/yocto/master/raspberry-pi5/tmp/work/cortexa76-poky-linux/powervr-sdk/git/git/examples/Vulkan/02_IntroducingPVRShell/FragShader.fsh -o /mnt/raid10/yocto/master/raspberry-pi5/tmp/work/cortexa76-poky-linux/powervr-sdk/git/build/examples/Vulkan/02_IntroducingPVRShell/FragShader.fsh.spv -S frag
| /bin/sh: line 1: /mnt/raid10/yocto/master/raspberry-pi5/tmp/work/cortexa76-poky-linux/powervr-sdk/git/git/external/glslang/prebuilt/glslangValidator-linux-x86_64: Permission denied

chmod +x external/glslang/prebuilt/glslangValidator-linux-x86_64 resolves issue

Repro steps

Build on Linux

Environment

Tip of tree Linux

AlejandroCosin commented 2 months ago

Hi jwinarske,

Thanks a lot for reporting this, I cloned the SDK and could verify the prebuilt binaries do not have execution permissions.

I reported it internally, the fix will be done in the upcoming release.

Best regards, Alejandro