ike3 / mangosbot

This is a modification of MaNGOS (Zero, One, R2, Trinity) server which brings a number of bots online and available for any player. Also allows you to use your account/guild characters as bots.
http://ike3.github.io/mangosbot-docs/
GNU General Public License v2.0
185 stars 79 forks source link

Not compiling VS 2015 #83

Open HerrTrigger opened 8 years ago

HerrTrigger commented 8 years ago

Description: 455ebe80b65956eb09d8e349ee54b458ba2f7e12 Win 10 X64 VS 2015 Fails to build, following error(s):

22>LINK : fatal error LNK1181: cannot open input file '..\..\plugins\Release\plugins.lib'
23>------ Build started: Project: ALL_BUILD, Configuration: Release x64 ------
23>  Building Custom Rule F:/Ike 04-11-16/CMakeLists.txt
23>  CMake does not need to re-run because F:\Ike 04-11-16 Build\CMakeFiles\generate.stamp is up-to-date.
========== Build: 21 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========

CheckIncludeFile.c

F:\Ike 04-11-16 Build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [F:\Ike 04-11-16 Build\CMakeFiles\CMakeTmp\cmTC_aaa06.vcxproj]

Done Building Project "F:\Ike 04-11-16 Build\CMakeFiles\CMakeTmp\cmTC_aaa06.vcxproj" (default targets) -- FAILED.

Build FAILED.

"F:\Ike 04-11-16 Build\CMakeFiles\CMakeTmp\cmTC_aaa06.vcxproj" (default target) (1) ->

(ClCompile target) -> 

  F:\Ike 04-11-16 Build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [F:\Ike 04-11-16 Build\CMakeFiles\CMakeTmp\cmTC_aaa06.vcxproj]

    0 Warning(s)

    1 Error(s)

14>f:\ike 04-11-16\src\plugins\ahbot\ConsumableCategory.h(81): error C2065: 'ITEM_FLAG_UNK6': undeclared identifier (compiling source file F:\Ike 04-11-16\src\plugins\ahbot\ConsumableCategory.cpp)
14>  ChatFilter.cpp
14>f:\ike 04-11-16\src\plugins\ahbot\ConsumableCategory.h(81): error C2065: 'ITEM_FLAG_UNK6': undeclared identifier (compiling source file F:\Ike 04-11-16\src\plugins\ahbot\ItemBag.cpp)

Branch(es): 335

Operating system: Win 10

Thank you in advance @ike3

snoopsis commented 7 years ago

I am having the same error, not compiling and giving same error, can anyone helps us? Thanks in advance.

LordPsyan commented 7 years ago

ITEM_FLAG_UNK6 should be ITEM_FIELD_FLAG_UNK6

Check out the fixed trinitycore patch at https://bitbucket.org/lordpsyan/lordpsyan-patches/

LordPsyan commented 7 years ago

Working on updating this to latest TC, which is not an easy task. Check out my progress at http://git.realmsofwarcraft.com/LordPsyanGroup/LordPsyanBots