我正在运行最新版本的 dockerized 版本。
我的问题是,当我添加mod-eluna-lua-engine模块时,我收到以下错误:
[ 16%] Building CXX object src/common/CMakeFiles/common.dir/Database/Implementation/WorldDatabase.cpp.o
/azerothcore/src/common/Database/QueryResult.cpp:189:18: fatal error: out-of-line definition of 'GetFieldName' does not match any declaration in 'ResultSet'
char* ResultSet::GetFieldName(uint32 index) const
^~~~~~~~~~~~
1 error generated.
make[2]: *** [src/common/CMakeFiles/common.dir/Database/QueryResult.cpp.o] Error 1
我查了也没找到类似的报道,应该是我吧?我错过了什么?
编辑:运行 cmake 会导致以下结果:
CMake Error at src/cmake/platform/unix/settings.cmake:22 (configure_file):
configure_file attempted to configure a file:
/mnt/wowstuff/server/cmake_uninstall.cmake into a source directory.
Call Stack (most recent call first):
src/cmake/macros/CheckPlatform.cmake:15 (include)
CMakeLists.txt:90 (include)
最终编辑:在正确重新运行 cmake 后,根据需要复制构建文件,然后删除构建缓存并重新运行 acore-docker-build,编译工作正常。