Forums WoW Modding Support Archives Azerothcore Discord Archives [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

[DiscordArchive] updating to latest master on my server and im running into compilation errors related to precompiled

rektbyfaith
Administrator
0
05-13-2022, 01:17 AM
#1
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?
rektbyfaith
05-13-2022, 01:17 AM #1

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?

rektbyfaith
Administrator
0
05-13-2022, 01:19 AM
#2
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
rektbyfaith
05-13-2022, 01:19 AM #2

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

rektbyfaith
Administrator
0
05-13-2022, 01:20 AM
#3
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
rektbyfaith
05-13-2022, 01:20 AM #3

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

rektbyfaith
Administrator
0
05-13-2022, 01:37 AM
#4
Archived author: SmilyContainer • Posted: 2022-05-13T01:37:44.081000+00:00
Original source

found this thread https://github.com/azerothcore/azerothco...ssues/8410
rektbyfaith
05-13-2022, 01:37 AM #4

Archived author: SmilyContainer • Posted: 2022-05-13T01:37:44.081000+00:00
Original source

found this thread https://github.com/azerothcore/azerothco...ssues/8410

rektbyfaith
Administrator
0
05-13-2022, 01:37 AM
#5
Archived author: SmilyContainer • Posted: 2022-05-13T01:37:51.242000+00:00
Original source

trying disabling PCH now
rektbyfaith
05-13-2022, 01:37 AM #5

Archived author: SmilyContainer • Posted: 2022-05-13T01:37:51.242000+00:00
Original source

trying disabling PCH now

rektbyfaith
Administrator
0
05-13-2022, 01:39 AM
#6
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)
```
rektbyfaith
05-13-2022, 01:39 AM #6

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)
```

rektbyfaith
Administrator
0
05-13-2022, 01:39 AM
#7
Archived author: SmilyContainer • Posted: 2022-05-13T01:39:49.243000+00:00
Original source

that got me building
rektbyfaith
05-13-2022, 01:39 AM #7

Archived author: SmilyContainer • Posted: 2022-05-13T01:39:49.243000+00:00
Original source

that got me building

rektbyfaith
Administrator
0
05-13-2022, 01:49 AM
#8
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
rektbyfaith
05-13-2022, 01:49 AM #8

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

rektbyfaith
Administrator
0
05-13-2022, 02:17 AM
#9
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
rektbyfaith
05-13-2022, 02:17 AM #9

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

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)