View Full Version : Compile errors in map.cpp
Mortow
08-18-2018, 02:34 AM
It's been quite a while since I have done a compile. I am using VS2017 and all builds succeed except Zone. I get three C3861 errors in map.cpp.
Description Project File Line
'InflateData': identifier not found zone map.cpp 999
'EstimateDeflateBuffer': identifier not found zone map.cpp 1055
'DeflateData': identifier not found zone map.cpp 1059
I have tried pulling a fresh clone from git but still come up with the same errors. Anyone have any ideas of what I might have going on?
Thanks,
Mortow
Huppy
08-18-2018, 03:31 AM
I just compiled a fresh pull from git and got no errors. You got a recent version of cmake ? (3.10+) ?
========== Build: 16 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
John C
08-18-2018, 12:30 PM
When compiles fail for no obvious reason, it is usual a good idea to just delete everything in your output directories just to ensure an outdated file isn't messing things up. That's the first thing I would try.
Mortow
08-18-2018, 12:52 PM
My cmake was version 3.9.0 so I uninstalled it and installed 3.12.1. Rebooted and tried again. cmake threw the following warning but did compete.
CMake Warning (dev) at CMakeLists.txt:287 (FIND_PACKAGE):
Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
CMake variable ZLIB_ROOT is set to:
C:/EQ/Source/dependencies/zlib_x86
For compatibility, CMake is ignoring the variable.
This warning is for project developers. Use -Wno-dev to suppress it.
Still failed compile with exact same errors. I deleted everything in the output directory and tried again. Same result.
John C
08-18-2018, 01:36 PM
I just configured, generated, and built without a problem. When I configured, I received the following messages - which are very similar to what you received. So I don't think those warning messages point to your issue. I have no idea if boost is involve with compression, but I did have to update mine to 1.67 when I was getting setup so that is one thing you might consider.
CMake Warning (dev) at CMakeLists.txt:287 (FIND_PACKAGE):
Policy CMP0074 is not set: find_package uses PackageName_ROOT variables.
Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
CMake variable ZLIB_ROOT is set to:
U:/EQ_Server_Source/dependencies/zlib_x86
For compatibility, CMake is ignoring the variable.
This warning is for project developers. Use -Wno-dev to suppress it.
Boost version: 1.67.0
CMake version: 3.12.0
Version: 4.0.0
Build type: RelWithDebInfo
Configuring done
Mortow
08-18-2018, 01:57 PM
I do have Boost 1.67 already. I will try a repair on VS and see if that helps. I am not hopeful though.
Uleat
08-18-2018, 05:50 PM
Try doing a cache clear in cmake.
Mortow
08-18-2018, 07:14 PM
Tried that Uleat and still got the errors. I unchecked EQEMU_USE_MAP_MMFS in cmake before reconfiguring and it looks like it succeeded. Is this something that no longer works or is used?
Huppy
08-18-2018, 11:10 PM
I unchecked EQEMU_USE_MAP_MMFS in cmake before reconfiguring and it looks like it succeeded. Is this something that no longer works or is used?
Ya, those mmf's haven't been much use for anything since the navmesh came along.
Uleat
08-19-2018, 12:16 AM
I haven't reviewed the code to see what's been done...
But, yes..not a good idea to use them atm.
If you start running into problems with zones not loading, let me know.
I know my zoning times have shot up..but, not sure if it's navmesh or not using mmfs.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.