• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

AHBot && Eluna Not Compile

Status
Not open for further replies.

BlackRock

Enthusiast
visual studio 2013
Clear version of eluna 13.08.2014 9ae8aa74a4b3e97fdab13c44cf894a74cd06e081
patch AHBot ahbot.2014-07-16.8c10ffa.boost.patch from
http://www.trinitycore.org/f/topic/...at-for-trinitycore-2014-08-09-df3b08d/page-31

My build output.

3>------ Сборка начата: проект: LuaEngine, Конфигурация: Release Win32 ------
3> HookMgr.cpp
3> LuaEngine.cpp
3>d:\avangard\repositary\source\elunatrinitywotlk\src\server\game\auctionhouse\AuctionHouseBot/AuctionHouseBot.h(1247): error C2061: синтаксическая ошибка: идентификатор "AuctionEntry" (D:\AVANGARD\repositary\source\ElunaTrinityWotlk\src\LuaEngine\HookMgr.cpp)
3>d:\avangard\repositary\source\elunatrinitywotlk\src\server\game\auctionhouse\AuctionHouseBot/AuctionHouseBot.h(1247): error C2061: синтаксическая ошибка: идентификатор "AuctionEntry" (D:\AVANGARD\repositary\source\ElunaTrinityWotlk\src\LuaEngine\LuaEngine.cpp)
3>d:\avangard\repositary\source\elunatrinitywotlk\src\server\game\auctionhouse\AuctionHouseBot/AuctionHouseBot.h(1248): error C2061: синтаксическая ошибка: идентификатор "AuctionEntry" (D:\AVANGARD\repositary\source\ElunaTrinityWotlk\src\LuaEngine\HookMgr.cpp)
3>d:\avangard\repositary\source\elunatrinitywotlk\src\server\game\auctionhouse\AuctionHouseBot/AuctionHouseBot.h(1248): error C2061: синтаксическая ошибка: идентификатор "AuctionEntry" (D:\AVANGARD\repositary\source\ElunaTrinityWotlk\src\LuaEngine\LuaEngine.cpp)
3> LuaFunctions.cpp
3>d:\avangard\repositary\source\elunatrinitywotlk\src\server\game\auctionhouse\AuctionHouseBot/AuctionHouseBot.h(1247): error C2061: синтаксическая ошибка: идентификатор "AuctionEntry" (D:\AVANGARD\repositary\source\ElunaTrinityWotlk\src\LuaEngine\LuaFunctions.cpp)
3>d:\avangard\repositary\source\elunatrinitywotlk\src\server\game\auctionhouse\AuctionHouseBot/AuctionHouseBot.h(1248): error C2061: синтаксическая ошибка: идентификатор "AuctionEntry" (D:\AVANGARD\repositary\source\ElunaTrinityWotlk\src\LuaEngine\LuaFunctions.cpp)

This is my error list
Ошибка 1 error C2061: синтаксическая ошибка: идентификатор "AuctionEntry" (D:\AVANGARD\repositary\source\ElunaTrinityWotlk\src\LuaEngine\HookMgr.cpp) d:\avangard\repositary\source\elunatrinitywotlk\src\server\game\auctionhouse\AuctionHouseBot\AuctionHouseBot.h 1247 1 LuaEngine
Ошибка 2 error C2061: синтаксическая ошибка: идентификатор "AuctionEntry" (D:\AVANGARD\repositary\source\ElunaTrinityWotlk\src\LuaEngine\LuaEngine.cpp) d:\avangard\repositary\source\elunatrinitywotlk\src\server\game\auctionhouse\AuctionHouseBot\AuctionHouseBot.h 1247 1 LuaEngine
Ошибка 3 error C2061: синтаксическая ошибка: идентификатор "AuctionEntry" (D:\AVANGARD\repositary\source\ElunaTrinityWotlk\src\LuaEngine\HookMgr.cpp) d:\avangard\repositary\source\elunatrinitywotlk\src\server\game\auctionhouse\AuctionHouseBot\AuctionHouseBot.h 1248 1 LuaEngine
Ошибка 4 error C2061: синтаксическая ошибка: идентификатор "AuctionEntry" (D:\AVANGARD\repositary\source\ElunaTrinityWotlk\src\LuaEngine\LuaEngine.cpp) d:\avangard\repositary\source\elunatrinitywotlk\src\server\game\auctionhouse\AuctionHouseBot\AuctionHouseBot.h 1248 1 LuaEngine
Ошибка 5 error C2061: синтаксическая ошибка: идентификатор "AuctionEntry" (D:\AVANGARD\repositary\source\ElunaTrinityWotlk\src\LuaEngine\LuaFunctions.cpp) d:\avangard\repositary\source\elunatrinitywotlk\src\server\game\auctionhouse\AuctionHouseBot\AuctionHouseBot.h 1247 1 LuaEngine
Ошибка 6 error C2061: синтаксическая ошибка: идентификатор "AuctionEntry" (D:\AVANGARD\repositary\source\ElunaTrinityWotlk\src\LuaEngine\LuaFunctions.cpp) d:\avangard\repositary\source\elunatrinitywotlk\src\server\game\auctionhouse\AuctionHouseBot\AuctionHouseBot.h 1248 1 LuaEngine
Ошибка 7 error LNK1181: не удается открыть входной файл "..\..\LuaEngine\Release\LuaEngine.lib" D:\AVANGARD\repositary\build\ElunaTrinityWotlk\src\server\worldserver\LINK worldserver

Any body can me tell why compiler don't see param AuctionEntry in eluna?
On the same version trinitycore 8402570bb84f7299132350eaa93e068566b5c5c5 all work fine.

Help me please.
 

Rochet2

Moderator / Eluna Dev
ah bot is faulty. Its using a class that is not declared in header and requires a specific order of includes.

Try see this
Hmm, some other scripts hit this problem with AH bot as well, but I cant find where we discussed them and solved..
AuctionEntry is not used in any of eluna files. So the AH bot is at fault most likely. And seeing how it is failing with other scripts as well.

For future, include links to the patches and sources regarding the issue.
There are multiple versions and releases and modifications of patches all around.

Did you try to make this change only? Try it.
#include "AuctionHouseMgr.h" to AuctionHouseBot.h

Also try adding this only to AuctionHouseBot.h right below the includes.
struct AuctionEntry;

The reason it is not working probably (or a part of it) is that auction entry struct is not defined or declared before the header file AuctionHouseBot.h.
When this is then included to files (probably through other headers that this header is included to), before the definitions or declarations of AuctionEntry, it will fail.
Try the changes and report back.
Full error messages are appreciated.

May try to fix this soon as its a common problem.
 
Status
Not open for further replies.
Top