-
Couldn't load subscription status.
- Fork 270
Open
Description
Hello, I am trying to learn vulkan and started with you guide. I installed 2 branches:
├── vulkan-guide-all-chapters-2
└── vulkan-guide-starting-point-2
now i wanted to build it with following script configure.sh in root of :
#!/bin/bash
fullpath="$(dirname $(readlink -f $0))"
if command -v ccache &> /dev/null; then
export CMAKE_CXX_COMPILER_LAUNCHER="ccache";
export CMAKE_C_COMPILER_LAUNCHER="ccache";
fi
export CMAKE_BUILD_PARALLEL_LEVEL=#threads
CMAKE_CXX_COMPILER="x86_64-linux-gnu-g++"
CMAKE_CXX_FLAGS="-O0 -ggdb"
BUILD_DIR="bin"
mkdir -p "$BUILD_DIR"
if command -v ninja &> /dev/null; then
CMAGE_GEN="-G Ninja"
else
CMAGE_GEN=""
fi
cmake $CMAGE_GEN -B $BUILD_DIR -S "${fullpath}" \
-D CMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS" \
-D CMAKE_CXX_COMPILER="$CMAKE_CXX_COMPILER" \
-D CMAKE_BUILD_TYPE=debug
if command -v ninja &> /dev/null; then
ninja -C "$BUILD_DIR" -j12
else
make -C "$BUILD_DIR" -j12
fi
then i get following errors:
1st build.
FAILED: third_party/fastgltf/CMakeFiles/fastgltf.dir/src/base64.cpp.o
ccache /usr/bin/x86_64-linux-gnu-g++ -DFASTGLTF_DISABLE_CUSTOM_MEMORY_POOL=0 -DFASTGLTF_ENABLE_DEPRECATED_EXT=0 -DFASTGLTF_USE_64BIT_FLOAT=0 -DFASTGLTF_USE_CUSTOM_SMALLVECTOR=0 -DSIMDJSON_TARGET_VERSION=\"3.3.0\" -I/home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/include -I/home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/deps/simdjson -O0 -ggdb -g -Og -finline-functions -MD -MT third_party/fastgltf/CMakeFiles/fastgltf.dir/src/base64.cpp.o -MF third_party/fastgltf/CMakeFiles/fastgltf.dir/src/base64.cpp.o.d -o third_party/fastgltf/CMakeFiles/fastgltf.dir/src/base64.cpp.o -c /home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/src/base64.cpp
In file included from /home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/src/base64.cpp:35:
/home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/deps/simdjson/simdjson.h: In member function ‘void simdjson::internal::base_formatter<formatter>::call_print_newline()’:
/home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/deps/simdjson/simdjson.h:6109:13: error: ‘class simdjson::internal::base_formatter<formatter>’ has no member named ‘print_newline’; did you mean ‘call_print_newline’? [-Wtemplate-body]
6109 | this->print_newline();
| ^~~~~~~~~~~~~
| call_print_newline
/home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/deps/simdjson/simdjson.h: In member function ‘void simdjson::internal::base_formatter<formatter>::call_print_indents(size_t)’:
/home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/deps/simdjson/simdjson.h:6113:13: error: ‘class simdjson::internal::base_formatter<formatter>’ has no member named ‘print_indents’; did you mean ‘call_print_indents’? [-Wtemplate-body]
6113 | this->print_indents(depth);
| ^~~~~~~~~~~~~
| call_print_indents
/home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/deps/simdjson/simdjson.h: In member function ‘void simdjson::internal::base_formatter<formatter>::call_print_space()’:
/home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/deps/simdjson/simdjson.h:6117:13: error: ‘class simdjson::internal::base_formatter<formatter>’ has no member named ‘print_space’; did you mean ‘call_print_space’? [-Wtemplate-body]
6117 | this->print_space();
| ^~~~~~~~~~~
| call_print_space
[141/396] Building CXX object third_part...akeFiles/fastgltf.dir/src/fastgltf.cpp.o
FAILED: third_party/fastgltf/CMakeFiles/fastgltf.dir/src/fastgltf.cpp.o
ccache /usr/bin/x86_64-linux-gnu-g++ -DFASTGLTF_DISABLE_CUSTOM_MEMORY_POOL=0 -DFASTGLTF_ENABLE_DEPRECATED_EXT=0 -DFASTGLTF_USE_64BIT_FLOAT=0 -DFASTGLTF_USE_CUSTOM_SMALLVECTOR=0 -DSIMDJSON_TARGET_VERSION=\"3.3.0\" -I/home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/include -I/home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/deps/simdjson -O0 -ggdb -g -Og -finline-functions -MD -MT third_party/fastgltf/CMakeFiles/fastgltf.dir/src/fastgltf.cpp.o -MF third_party/fastgltf/CMakeFiles/fastgltf.dir/src/fastgltf.cpp.o.d -o third_party/fastgltf/CMakeFiles/fastgltf.dir/src/fastgltf.cpp.o -c /home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/src/fastgltf.cpp
In file included from /home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/src/fastgltf.cpp:48:
/home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/deps/simdjson/simdjson.h: In member function ‘void simdjson::internal::base_formatter<formatter>::call_print_newline()’:
/home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/deps/simdjson/simdjson.h:6109:13: error: ‘class simdjson::internal::base_formatter<formatter>’ has no member named ‘print_newline’; did you mean ‘call_print_newline’? [-Wtemplate-body]
6109 | this->print_newline();
| ^~~~~~~~~~~~~
| call_print_newline
/home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/deps/simdjson/simdjson.h: In member function ‘void simdjson::internal::base_formatter<formatter>::call_print_indents(size_t)’:
/home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/deps/simdjson/simdjson.h:6113:13: error: ‘class simdjson::internal::base_formatter<formatter>’ has no member named ‘print_indents’; did you mean ‘call_print_indents’? [-Wtemplate-body]
6113 | this->print_indents(depth);
| ^~~~~~~~~~~~~
| call_print_indents
/home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/deps/simdjson/simdjson.h: In member function ‘void simdjson::internal::base_formatter<formatter>::call_print_space()’:
/home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/fastgltf/deps/simdjson/simdjson.h:6117:13: error: ‘class simdjson::internal::base_formatter<formatter>’ has no member named ‘print_space’; did you mean ‘call_print_space’? [-Wtemplate-body]
6117 | this->print_space();
| ^~~~~~~~~~~
| call_print_space
[143/396] Building CXX object third_part...imdjson.dir/deps/simdjson/simdjson.cpp.o
ninja: build stopped: subcommand failed.
2nd build.
/home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/SDL/src/audio/pipewire/SDL_pipewire.c:593:37: error: passing argument 1 of ‘pw_node_enum_params’ from incompatible pointer type [-Wincompatible-pointer-types]
593 | pw_node_enum_params(node->proxy, 0, info->params[i].id, 0, 0, NULL);
| ~~~~^~~~~~~
| |
| struct pw_proxy *
In file included from /usr/include/pipewire-0.3/pipewire/pipewire.h:30,
from /home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/SDL/src/audio/pipewire/SDL_pipewire.h:28,
from /home/lich/dev/gpustand/vkguide_learn/vulkan-guide-all-chapters-2/third_party/SDL/src/audio/pipewire/SDL_pipewire.c:29:
/usr/include/pipewire-0.3/pipewire/node.h:208:58: note: expected ‘struct pw_node *’ but argument is of type ‘struct pw_proxy *’
208 | PW_API_NODE_IMPL int pw_node_enum_params(struct pw_node *object,
| ~~~~~~~~~~~~~~~~^~~~~~
[12/141] Building C object third_party/S...SDL2.dir/src/video/x11/SDL_x11window.c.o
ninja: build stopped: subcommand failed.
what am I doing wrong? Errors appearing in third_party libs and I don`t know what to do.. please help
Metadata
Metadata
Assignees
Labels
No labels