[DiscordArchive] updating to latest master on my server and im running into compilation errors related to precompiled
[DiscordArchive] updating to latest master on my server and im running into compilation errors related to precompiled
Archived author: SmilyContainer • Posted: 2022-05-13T01:17:02.168000+00:00
Original source
updating to latest master on my server and im running into compilation errors related to precompiled headers changing: ```fatal error: file '/azerothcore/src/common/Collision/Maps/MapDefines.h' has been modified since the precompiled header '/azerothcore/var/build/obj/src/server/scripts/CMakeFiles/scripts.dir/cmake_pch.hxx.pch' was built: size changed
note: please rebuild precompiled header '/azerothcore/var/build/obj/src/server/scripts/CMakeFiles/scripts.dir/cmake_pch.hxx.pch'
1 error generated.
make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/build.make:349: src/server/scripts/CMakeFiles/scripts.dir/Commands/cs_go.cpp.o] Error 1
```. I found https://stackoverflow.com/questions/6966...led-header with the same issue but the command `./acore.sh docker dev:dash compiler ccacheClean` suggested as the fix didn't resolve the issue, i still have the precompiled headers, is there a directory to nuke?
Archived author: SmilyContainer • Posted: 2022-05-13T01:19:56.705000+00:00
Original source
the steps i was following are here https://www.azerothcore.org/wiki/install...st-changes
Archived author: SmilyContainer • Posted: 2022-05-13T01:20:12.673000+00:00
Original source
just did the git pull and then tried the docker build
Archived author: SmilyContainer • Posted: 2022-05-13T01:37:44.081000+00:00
Original source
found this thread https://github.com/azerothcore/azerothco...ssues/8410
Archived author: SmilyContainer • Posted: 2022-05-13T01:37:51.242000+00:00
Original source
trying disabling PCH now
Archived author: SmilyContainer • Posted: 2022-05-13T01:39:36.097000+00:00
Original source
```diff --git a/CMakeLists.txt b/CMakeLists.txt
index f0b701bf6..8aeb94163 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -83,10 +83,10 @@ if(NOT CMAKE_BUILD_TYPE)
endif()
# turn off PCH totally if enabled (hidden setting, mainly for devs)
-if( NOPCH )
- set(USE_COREPCH 0)
- set(USE_SCRIPTPCH 0)
-endif()
+set(USE_COREPCH 0)
+set(USE_SCRIPTPCH 0)
+#if( NOPCH )
+#endif()
include(ConfigureBaseTargets)
include(CheckPlatform)
```
Archived author: SmilyContainer • Posted: 2022-05-13T01:39:49.243000+00:00
Original source
that got me building
Archived author: SmilyContainer • Posted: 2022-05-13T01:49:29.660000+00:00
Original source
oof and now after building, then running `./acore.sh client-data` i get a vmap mismatch error on launch
Archived author: SmilyContainer • Posted: 2022-05-13T02:17:23.246000+00:00
Original source
ok so i had client data v14 from 4/24 somehow, so nuked the data folder manually and downloaded the zip from the wiki and we're back in business, not sure why the script wasn't extracting