You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/project/src/files/WorldRegions.cpp: In constructor 'WorldRegions::WorldRegions(const std::filesystem::__cxx11::path&)':
/project/src/files/WorldRegions.cpp:90:76: error: use of deleted function 'RegionsLayer::RegionsLayer(RegionsLayer&&)'
90 | WorldRegions::WorldRegions(const fs::path& directory) : directory(directory) {
| ^
In file included from /project/src/files/WorldRegions.cpp:1:
/project/src/files/WorldRegions.hpp:73:8: note: 'RegionsLayer::RegionsLayer(RegionsLayer&&)' is implicitly deleted because the default definition would be ill-formed:
73 | struct RegionsLayer {
| ^~~~~~~~~~~~
/project/src/files/WorldRegions.hpp:73:8: error: use of deleted function 'std::mutex::mutex(const std::mutex&)'
In file included from /usr/include/c++/10/mutex:43,
from /project/src/files/../util/BufferPool.hpp:7,
from /project/src/files/WorldRegions.hpp:6,
from /project/src/files/WorldRegions.cpp:1:
/usr/include/c++/10/bits/std_mutex.h:94:5: note: declared here
94 | mutex(const mutex&) = delete;
| ^~~~~
make[2]: *** [CMakeFiles/VoxelEngine.dir/build.make:511: CMakeFiles/VoxelEngine.dir/src/files/WorldRegions.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/VoxelEngine.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
Техническая информация (заполните следующую информацию):
Дополнительный контекст
Версия gcc/g++ в контейнере:
user@InfiniteCoders-System:/project$ gcc --version
gcc (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
user@InfiniteCoders-System:/project$ g++ --version
g++ (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
user@InfiniteCoders-System:/project$ c++ --version
c++ (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
На хосте собирается (но не работает, скорее всего потому, что NixOS), версия gcc/g++ там:
➜ ~ gcc --version
gcc (GCC) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
➜ ~ g++ --version
g++ (GCC) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
➜ ~ c++ --version
g++ (GCC) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The text was updated successfully, but these errors were encountered:
Опишите ошибку
Docker сборка ломается, вероятно не тот компилятор
Для воспроизведения
Шаги для воспроизведения поведения:
docker build -t voxel-engine .
docker run --rm -it -v$(pwd):/project voxel-engine bash -c "cmake -DCMAKE_BUILD_TYPE=Release -Bbuild && cmake --build build"
Ожидаемое поведение
Сборка без ошибок
Скриншоты
Техническая информация (заполните следующую информацию):
Дополнительный контекст
Версия gcc/g++ в контейнере:
На хосте собирается (но не работает, скорее всего потому, что NixOS), версия gcc/g++ там:
The text was updated successfully, but these errors were encountered: