Я пытаюсь настроить AzerothCore с помощью Docker , однако, когда я даю команду:
./bin/acore-docker-build
Сбой при:
make[2]: *** No rule to make target '../src/server/game/Entities/Item/ItemPrototype.h', needed by 'src/server/game/cotire/game_CXX_prefix.hxx.pch'. Stop. CMakeFiles/Makefile2:936: recipe for target 'src/server/game/CMakeFiles/game.dir/all' failed make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: *** No rule to make target '../src/server/game/Entities/Item/ItemPrototype.h', needed by 'src/server/scripts/cotire/scripts_CXX_prefix.hxx.pch'. Stop. CMakeFiles/Makefile2:1122: recipe for target 'src/server/scripts/CMakeFiles/scripts.dir/all' failed make[1]: *** [src/server/scripts/CMakeFiles/scripts.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2
Проблема была в кеше сборки докера, и удаление ее решило проблему:
sudo ./bin/acore-docker-remove-build-cache
эта команда удалит кэш сборки, расположенный в docker/build/cache
docker/build/cache