Skip to content
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

build fails just cloned #221

Open
lavyadrian opened this issue Dec 2, 2022 · 1 comment
Open

build fails just cloned #221

lavyadrian opened this issue Dec 2, 2022 · 1 comment

Comments

@lavyadrian
Copy link

OS zorin Linux
Build tools Clang 15.0.6 CMake 3.25.0
I am using the CMake GUI to select ninja

[3/805] Building CXX object DiligentCo...ols-static.dir/util/parse_number.cpp.o
FAILED: DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/util/parse_number.cpp.o
/usr/lib/llvm-15/bin/clang++ -DSPIRV_COLOR_TERMINAL -DSPIRV_LINUX -DSPIRV_TIMER_ENABLED -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/include -I/home/rabemaru/DiligentEngine/build_linux/DiligentCore/ThirdParty/SPIRV-Tools -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Headers/include -g -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wextra-semi -fno-rtti -Wall -Wextra -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-self-assign -std=c++11 -fno-exceptions -Wno-long-long -Wshadow -Wundef -Wconversion -Wno-sign-conversion -ftemplate-depth=1024 -std=gnu++11 -MD -MT DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/util/parse_number.cpp.o -MF DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/util/parse_number.cpp.o.d -o DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/util/parse_number.cpp.o -c /home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/util/parse_number.cpp
In file included from /home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/util/parse_number.cpp:15:
/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/util/parse_number.h:18:10: fatal error: 'functional' file not found
#include
^~~~~~~~~~~~
1 error generated.
[4/805] Building CXX object DiligentCo...Tools-static.dir/util/bit_vector.cpp.o
FAILED: DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/util/bit_vector.cpp.o
/usr/lib/llvm-15/bin/clang++ -DSPIRV_COLOR_TERMINAL -DSPIRV_LINUX -DSPIRV_TIMER_ENABLED -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/include -I/home/rabemaru/DiligentEngine/build_linux/DiligentCore/ThirdParty/SPIRV-Tools -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Headers/include -g -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wextra-semi -fno-rtti -Wall -Wextra -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-self-assign -std=c++11 -fno-exceptions -Wno-long-long -Wshadow -Wundef -Wconversion -Wno-sign-conversion -ftemplate-depth=1024 -std=gnu++11 -MD -MT DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/util/bit_vector.cpp.o -MF DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/util/bit_vector.cpp.o.d -o DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/util/bit_vector.cpp.o -c /home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/util/bit_vector.cpp
In file included from /home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/util/bit_vector.cpp:15:
/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/util/bit_vector.h:18:10: fatal error: 'cstdint' file not found
#include
^~~~~~~~~
1 error generated.
[5/805] Building CXX object DiligentCo...ols-static.dir/util/string_utils.cpp.o
FAILED: DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/util/string_utils.cpp.o
/usr/lib/llvm-15/bin/clang++ -DSPIRV_COLOR_TERMINAL -DSPIRV_LINUX -DSPIRV_TIMER_ENABLED -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/include -I/home/rabemaru/DiligentEngine/build_linux/DiligentCore/ThirdParty/SPIRV-Tools -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Headers/include -g -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wextra-semi -fno-rtti -Wall -Wextra -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-self-assign -std=c++11 -fno-exceptions -Wno-long-long -Wshadow -Wundef -Wconversion -Wno-sign-conversion -ftemplate-depth=1024 -std=gnu++11 -MD -MT DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/util/string_utils.cpp.o -MF DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/util/string_utils.cpp.o.d -o DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/util/string_utils.cpp.o -c /home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/util/string_utils.cpp
/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/util/string_utils.cpp:15:10: fatal error: 'algorithm' file not found
#include
^~~~~~~~~~~
1 error generated.
[6/805] Building CXX object DiligentCo...ools-static.dir/assembly_grammar.cpp.o
FAILED: DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/assembly_grammar.cpp.o
/usr/lib/llvm-15/bin/clang++ -DSPIRV_COLOR_TERMINAL -DSPIRV_LINUX -DSPIRV_TIMER_ENABLED -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/include -I/home/rabemaru/DiligentEngine/build_linux/DiligentCore/ThirdParty/SPIRV-Tools -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Headers/include -g -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wextra-semi -fno-rtti -Wall -Wextra -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-self-assign -std=c++11 -fno-exceptions -Wno-long-long -Wshadow -Wundef -Wconversion -Wno-sign-conversion -ftemplate-depth=1024 -std=gnu++11 -MD -MT DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/assembly_grammar.cpp.o -MF DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/assembly_grammar.cpp.o.d -o DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/assembly_grammar.cpp.o -c /home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/assembly_grammar.cpp
In file included from /home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/assembly_grammar.cpp:15:
In file included from /home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/assembly_grammar.h:18:
/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/enum_set.h:18:10: fatal error: 'cstdint' file not found
#include
^~~~~~~~~
1 error generated.
[7/805] Building CXX object DiligentCo...es/SPIRV-Tools-static.dir/binary.cpp.o
FAILED: DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/binary.cpp.o
/usr/lib/llvm-15/bin/clang++ -DSPIRV_COLOR_TERMINAL -DSPIRV_LINUX -DSPIRV_TIMER_ENABLED -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/include -I/home/rabemaru/DiligentEngine/build_linux/DiligentCore/ThirdParty/SPIRV-Tools -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Headers/include -g -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wextra-semi -fno-rtti -Wall -Wextra -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-self-assign -std=c++11 -fno-exceptions -Wno-long-long -Wshadow -Wundef -Wconversion -Wno-sign-conversion -ftemplate-depth=1024 -std=gnu++11 -MD -MT DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/binary.cpp.o -MF DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/binary.cpp.o.d -o DiligentCore/ThirdParty/SPIRV-Tools/source/CMakeFiles/SPIRV-Tools-static.dir/binary.cpp.o -c /home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/binary.cpp
In file included from /home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/binary.cpp:17:
/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/binary.h:18:10: fatal error: 'string' file not found
#include
^~~~~~~~
1 error generated.
[8/805] Building CXX object DiligentCo...ir/eliminate_dead_functions_pass.cpp.o
FAILED: DiligentCore/ThirdParty/SPIRV-Tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/eliminate_dead_functions_pass.cpp.o
/usr/lib/llvm-15/bin/clang++ -DSPIRV_COLOR_TERMINAL -DSPIRV_LINUX -DSPIRV_TIMER_ENABLED -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/include -I/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Headers/include -I/home/rabemaru/DiligentEngine/build_linux/DiligentCore/ThirdParty/SPIRV-Tools -g -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wextra-semi -Wall -Wextra -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-self-assign -std=c++11 -fno-exceptions -Wno-long-long -Wshadow -Wundef -Wconversion -Wno-sign-conversion -ftemplate-depth=1024 -std=gnu++11 -MD -MT DiligentCore/ThirdParty/SPIRV-Tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/eliminate_dead_functions_pass.cpp.o -MF DiligentCore/ThirdParty/SPIRV-Tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/eliminate_dead_functions_pass.cpp.o.d -o DiligentCore/ThirdParty/SPIRV-Tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/eliminate_dead_functions_pass.cpp.o -c /home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/opt/eliminate_dead_functions_pass.cpp
In file included from /home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/opt/eliminate_dead_functions_pass.cpp:15:
In file included from /home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/opt/eliminate_dead_functions_pass.h:18:
/home/rabemaru/DiligentEngine/DiligentCore/ThirdParty/SPIRV-Tools/source/opt/def_use_manager.h:18:10: fatal error: 'set' file not found
#include
^~~~~
1 error generated.
ninja: build stopped: subcommand failed.

@TheMostDiligent
Copy link
Contributor

We've never tried clang-15 yet. clang-14 should work OK - can you try it?

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