我正在尝试设置AzerothCore using 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
答案 0 :(得分:0)
问题出在docker build缓存中,将其删除解决了该问题:
sudo ./bin/acore-docker-remove-build-cache
此命令将删除位于docker/build/cache
的构建缓存