GPUOpen-LibrariesAndSDKs/Cauldron

Linux support

romulasry opened this issue · 2 comments

Linux support would be nice.

I managed to compile the cauldron vulkan framework on Linux but it fails to build the glTF Sample project with the following errors:

[100%] Linking CXX executable ../../../bin/GLTFSample_VK cd /home/aaron/Projects/AMD/glTFSample/build/src/VK && /usr/bin/cmake -E cmake_link_script CMakeFiles/GLTFSample_VK.dir/link.txt --verbose=1 /usr/bin/c++ CMakeFiles/GLTFSample_VK.dir/GLTFSample.cpp.o CMakeFiles/GLTFSample_VK.dir/SampleRenderer.cpp.o -o ../../../bin/GLTFSample_VK ../../libs/cauldron/src/VK/libFramework_VK.a ../../libs/cauldron/libs/imgui/libImGUI.a /usr/lib64/libvulkan.so ../../libs/cauldron/src/common/libFramework_Common.a /usr/lib64/libvulkan.so /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:CMakeFiles/GLTFSample_VK.dir/GLTFSample.cpp.o: file format not recognized; treating as linker script /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:CMakeFiles/GLTFSample_VK.dir/GLTFSample.cpp.o:1: syntax error collect2: error: ld returned 1 exit status make[2]: *** [src/VK/CMakeFiles/GLTFSample_VK.dir/build.make:107: ../bin/GLTFSample_VK] Error 1 make[2]: Leaving directory '/home/aaron/Projects/AMD/glTFSample/build' make[1]: *** [CMakeFiles/Makefile2:327: src/VK/CMakeFiles/GLTFSample_VK.dir/all] Error 2 make[1]: Leaving directory '/home/aaron/Projects/AMD/glTFSample/build' make: *** [Makefile:87: all] Error 2
I have opened a pull request for Linux support

Linux support would be really nice.