Jump to content
TrinityCore

Compile or cmake problems


Joy
 Share

Recommended Posts

  • Replies 2.9k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

I am following: http://www.trinitycore.info/How-to:Linux

but when I need to "make" the build it goes wrong.

what am I doing wrong and what do I need to do to fix it.

Regards,

Chris (Bombo)

wow@SERVER3:~/build$ cmake ../TrinityCore/ -DPREFIX=/home/wow/server -DWITH_SQL=1

-- The C compiler identification is GNU

-- The CXX compiler identification is GNU

-- Check for working C compiler: /usr/bin/gcc

-- Check for working C compiler: /usr/bin/gcc -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Check for working CXX compiler: /usr/bin/c++

-- Check for working CXX compiler: /usr/bin/c++ -- works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detected 32-bit platform

-- UNIX: Using default configuration directory

-- UNIX: Using default library directory

-- UNIX: Configuring uninstall target

-- UNIX: Created uninstall target

-- GCC: All warnings disabled

-- Found ACE library: /usr/lib/libACE.so

-- Found ACE headers: /usr/include

-- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so

-- Using mysql-config: /usr/bin/mysql_config

-- Found MySQL library: /usr/lib/libmysqlclient_r.so

-- Found MySQL headers: /usr/include/mysql

-- Found Readline library: /usr/lib/libreadline.so

-- Include dir is: /usr/include

-- Found ZLIB: /usr/include

-- Found BZip2: /usr/lib/libbz2.so

-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so

-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so - found


* TrinityCore commithash : bbcfcabf3a37

* Build binaries in      : Release mode


* Install core to        : /home/wow/server

* Install libraries to   : /home/wow/server/lib

* Install configs to     : /home/wow/server/etc


* Build world/auth       : Yes (default)

* Build with scripts     : Yes (default)

* Build map/vmap tools   : No  (default)

* Build core w/PCH       : Yes (default)

* Build scripts w/PCH    : Yes (default)

* Use SFMT for RNG       : No  (default)

* Show compile-warnings  : No  (default)

* Use coreside debug     : No  (default)


-- SCRIPT PREPARATIONS

  -> Prepared: Spells

  -> Prepared: Commands

  -> Prepared: Examples

  -> Prepared: Custom

  -> Prepared: World

  -> Prepared: Outdoor PVP Zones

  -> Prepared: Eastern Kingdoms

  -> Prepared: Kalimdor

  -> Prepared: Outland

  -> Prepared: Northrend

-- SCRIPT PREPARATION COMPLETE


-- Configuring done

-- Generating done

-- Build files have been written to: /home/wow/build

wow@SERVER3:~/build$ make

Scanning dependencies of target jemalloc

[  0%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/mutex.c.o

[  0%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/tcache.c.o

[  0%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/jemalloc.c.o

[  0%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/base.c.o

[  0%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/rtree.c.o

[  0%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/extent.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/arena.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/prof.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_mmap.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/hash.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/ctl.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/stats.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_swap.c.o

[  1%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/huge.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/mb.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/chunk_dss.c.o

[  2%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/ckh.c.o

Linking C static library libjemalloc.a

[  2%] Built target jemalloc

Scanning dependencies of target g3dlib

[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/AABox.cpp.o

[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Any.cpp.o

[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryFormat.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryInput.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryOutput.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Box.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Capsule.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CollisionDetection.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CoordinateFrame.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Crypto.cpp.o

[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Cylinder.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/debugAssert.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/fileutils.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/format.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dfnmatch.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dmath.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Line.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/LineSegment.cpp.o

[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Log.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix3.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix4.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/MemoryManager.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/PhysicsFrame.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Plane.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/prompt.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Quat.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Random.cpp.o

[  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Ray.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/ReferenceCount.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/RegistryUtil.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Sphere.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/stringutils.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/System.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextInput.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextOutput.cpp.o

[  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Triangle.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/uint128.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/UprightFrame.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector2.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector3.cpp.o

[  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector4.cpp.o

Linking CXX static library libg3dlib.a

[  7%] Built target g3dlib

Scanning dependencies of target gsoap

[  8%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/stdsoap2.cpp.o

[  8%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/soapC.cpp.o

[  8%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/soapServer.cpp.o

Linking CXX static library libgsoap.a

[  8%] Built target gsoap

Scanning dependencies of target revision.h

[  8%] Built target revision.h

Scanning dependencies of target shared_pch_dephelp

[  9%] Building CXX object src/server/shared/CMakeFiles/shared_pch_dephelp.dir/shared_pch_dephelp.cxx.o

In file included from /home/wow/TrinityCore/src/server/shared/Threading/LockedQueue.h:26,

                 from /home/wow/TrinityCore/src/server/shared/Common.h:88,

                 from /home/wow/TrinityCore/src/server/shared/PrecompiledHeaders/sharedPCH.h:3,

                 from /home/wow/build/src/server/shared/shared_pch_dephelp.cxx:1:

/home/wow/TrinityCore/src/server/shared/Debugging/Errors.h:24: fatal error: ace/Stack_Trace.h: Bestand of map bestaat niet

compilation terminated.

make[2]: *** [src/server/shared/CMakeFiles/shared_pch_dephelp.dir/shared_pch_dephelp.cxx.o] Fout 1

make[1]: *** [src/server/shared/CMakeFiles/shared_pch_dephelp.dir/all] Fout 2

make: *** [all] Fout 2

wow@SERVER3:~/build$

Link to comment
Share on other sites

Hi can someone solve my problem.

DoCast(DUNGEON_MODE(SPELL_HOPELESSNESS,H_SPELL_HOPELESSNESS));  
Windows compile without problmes but linux:
Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Northrend/FrozenHalls/HallsOfReflection/boss_falric.cpp.o

/home/wow-emu/trinityCore_new6/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/boss_falric.cpp: In member function 'virtual void boss_falric::boss_falricAI::UpdateAI(uint32)':

/home/wow-emu/trinityCore_new6/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/boss_falric.cpp:264: error: no matching function for call to 'boss_falric::boss_falricAI::DUNGEON_MODE(, )'

make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/Northrend/FrozenHalls/HallsOfReflection/boss_falric.cpp.o] Error 1

make[1]: *** [src/server/scripts/CMakeFiles/scripts.dir/all] Error 2

make: *** [all] Error 2

Link to comment
Share on other sites

Hi can someone solve my problem.

DoCast(DUNGEON_MODE(SPELL_HOPELESSNESS,H_SPELL_HOPELESSNESS));  
Windows compile without problmes but linux:
Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Northrend/FrozenHalls/HallsOfReflection/boss_falric.cpp.o
/home/wow-emu/trinityCore_new6/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/boss_falric.cpp: In member function 'virtual void boss_falric::boss_falricAI::UpdateAI(uint32)':
/home/wow-emu/trinityCore_new6/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/boss_falric.cpp:264: error: no matching function for call to 'boss_falric::boss_falricAI::DUNGEON_MODE(, )'
make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/Northrend/FrozenHalls/HallsOfReflection/boss_falric.cpp.o] Error 1
make[1]: *** [src/server/scripts/CMakeFiles/scripts.dir/all] Error 2
make: *** [all] Error 2[/code]

Ah yes......It all makes sense now!

  • Upvote 1
Link to comment
Share on other sites

try deleting build folder, and recreate it, then try compiling.

the same ...

problem is in

DoCast(DUNGEON_MODE(SPELL_HOPELESSNESS,H_SPELL_HOPELESSNESS));  
because when i remove it compile is without errors complete script is here, It's all about understanding why it is not work on linux

#include "ScriptPCH.h"

#include "halls_of_reflection.h"


enum

{

    SAY_FALRIC_AGGRO                        = -1668050,

    SAY_FALRIC_DEATH                        = -1668053,

    SAY_FALRIC_SLAY01                       = -1668051,

    SAY_FALRIC_SLAY02                       = -1668052,

    SAY_FALRIC_SP01                         = -1668054,

    SAY_FALRIC_SP02                         = -1668055,


    SPELL_HOPELESSNESS                      = 72395,

    H_SPELL_HOPELESSNESS                    = 72390,

    SPELL_IMPENDING_DESPAIR                 = 72426,

    SPELL_DEFILING_HORROR_N                 = 72435,

    SPELL_DEFILING_HORROR_H                 = 72452,

    SPELL_QUIVERING_STRIKE_N                = 72422,

    SPELL_QUIVERING_STRIKE_H                = 72453,


    SPELL_BERSERK                           = 47008

};


class boss_falric : public CreatureScript

{

public:

    boss_falric() : CreatureScript("boss_falric") { }


	CreatureAI* GetAI(Creature* pCreature) const

    {

        return new boss_falricAI(pCreature);

    }


    struct boss_falricAI : public ScriptedAI

    {

        boss_falricAI(Creature *pCreature) : ScriptedAI(pCreature)

       {

            m_pInstance = (InstanceScript*)pCreature->GetInstanceScript();

            Regular = pCreature->GetMap()->IsRegularDifficulty();

            Reset();

       }


       InstanceScript* m_pInstance;

       bool Regular;

       bool m_bIsCall;

       //FUNCTIONS

       uint32 m_uiBerserkTimer;

       uint32 m_uiGrowlTimer;

       uint32 m_uiHorrorTimer;

       uint32 m_uiStrikeTimer;

       uint32 m_uiSummonTimer;

       uint32 m_uiLocNo;

       uint64 m_uiSummonGUID[16];

       uint32 m_uiCheckSummon;

       uint8 uiHopelessnessCount;


       uint8 SummonCount;


       uint64 pSummon;


        void Reset()

        {

          uiHopelessnessCount = 0;

          m_uiBerserkTimer = 180000;

          SummonCount = 0;

          m_bIsCall = false;

          m_uiGrowlTimer = 20000;

          m_uiHorrorTimer = urand(14000,20000);

          m_uiStrikeTimer = 2000;

          m_uiSummonTimer = 11000;

          me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);

          me->SetVisible(false);

        }


        void EnterCombat(Unit* pVictim)

        {

          //me->RemoveFlag(MOVEFLAG_WALK, NULL);

          DoScriptText(SAY_FALRIC_AGGRO, me);

          DoCast(me, SPELL_HOPELESSNESS);

        }


        void KilledUnit(Unit* pVictim)

        {

            switch(urand(0,1))

            {

                case 0: DoScriptText(SAY_FALRIC_SLAY01, me); break;

                case 1: DoScriptText(SAY_FALRIC_SLAY02, me); break;

            }

        }


        void JustDied(Unit* pKiller)

        {

          if(!m_pInstance) return;

             m_pInstance->SetData(TYPE_MARWYN, SPECIAL);

          DoScriptText(SAY_FALRIC_DEATH, me);

        }


        void AttackStart(Unit* who) 

        { 

            if(!m_pInstance) return;


               if(m_pInstance->GetData(TYPE_FALRIC) != IN_PROGRESS)

                 return; 


             ScriptedAI::AttackStart(who);

        }


        void Summon()

        {

             m_uiLocNo = 0;


             for(uint8 i = 0; i < 14; i++)

             {

                switch(urand(0,3))

                {

                   case 0:

                       switch(urand(1, 3))

                       {

                         case 1: pSummon = NPC_DARK_1; break;

                         case 2: pSummon = NPC_DARK_3; break;

                         case 3: pSummon = NPC_DARK_6; break;

                       }

                       break;

                   case 1: 

                       switch(urand(1, 3))

                       {

                         case 1: pSummon = NPC_DARK_2; break;

                         case 2: pSummon = NPC_DARK_3; break;

                         case 3: pSummon = NPC_DARK_4; break;

                       }

                       break;

                   case 2: 

                       switch(urand(1, 3))

                       {

                         case 1: pSummon = NPC_DARK_2; break;

                         case 2: pSummon = NPC_DARK_5; break;

                         case 3: pSummon = NPC_DARK_6; break;

                       }

                       break;

                   case 3: 

                       switch(urand(1, 3))

                       {

                         case 1: pSummon = NPC_DARK_1; break;

                         case 2: pSummon = NPC_DARK_5; break;

                         case 3: pSummon = NPC_DARK_4; break;

                       }

                       break;

                 }


                 m_uiCheckSummon = 0;


                 if(Creature* Summon = me->SummonCreature(pSummon, SpawnLoc[m_uiLocNo].x, SpawnLoc[m_uiLocNo].y, SpawnLoc[m_uiLocNo].z, SpawnLoc[m_uiLocNo].o, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 30000))

                 {

                    m_uiSummonGUID[i] = Summon->GetGUID();

                    Summon->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);

                    Summon->setFaction(974);

                    Summon->SetReactState(REACT_PASSIVE); 

                 }

                 m_uiLocNo++;

             }

        }


        void CallFallSoldier()

        {

             for(uint8 i = 0; i < 4; i++)

             {

                if(Creature* Summon = m_pInstance->instance->GetCreature(m_uiSummonGUID[m_uiCheckSummon]))

                {

                   Summon->setFaction(14);

                   Summon->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);

                   Summon->SetReactState(REACT_AGGRESSIVE);

                   Summon->SetInCombatWithZone();

                }

                m_uiCheckSummon++;

             }

        }


        void UpdateAI(const uint32 uiDiff)

        {

            if(!m_pInstance) return;


            if (m_pInstance->GetData(TYPE_FALRIC) == SPECIAL) 

            {

                if(!m_bIsCall) 

                {

                   m_bIsCall = true;

                   Summon();

                }


                if (m_uiSummonTimer < uiDiff) 

                {

                        ++SummonCount;

                        if(SummonCount > 4) 

                        {

                            m_pInstance->SetData(TYPE_FALRIC, IN_PROGRESS);

                            me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);

                            me->SetInCombatWithZone();

                        }

                        else CallFallSoldier();

                        m_uiSummonTimer = 60000;

                } else m_uiSummonTimer -= uiDiff;

            }


            if (!UpdateVictim())

                return;


            if(m_uiStrikeTimer < uiDiff)

            {

                DoCast(me->getVictim(), Regular ? SPELL_QUIVERING_STRIKE_N : SPELL_QUIVERING_STRIKE_H);

                m_uiStrikeTimer = (urand(7000, 14000));

            }

            else m_uiStrikeTimer -= uiDiff;


            if(m_uiHorrorTimer < uiDiff)

            {

                DoScriptText(SAY_FALRIC_SP01, me);

                if(Unit *pTarget = SelectTarget(SELECT_TARGET_RANDOM))

                   DoCast(pTarget, SPELL_IMPENDING_DESPAIR);

                m_uiHorrorTimer = (urand(15000, 25000));

            }

            else m_uiHorrorTimer -= uiDiff;


            if(m_uiGrowlTimer < uiDiff)

            {

                DoScriptText(SAY_FALRIC_SP02, me);

                DoCast(me->getVictim(), Regular ? SPELL_DEFILING_HORROR_N : SPELL_DEFILING_HORROR_H);

                m_uiGrowlTimer = (urand(25000, 30000));

            }

            else m_uiGrowlTimer -= uiDiff;


            if (m_uiBerserkTimer < uiDiff)

            {

                DoCast(me, SPELL_BERSERK);

                m_uiBerserkTimer = 180000;

            } else  m_uiBerserkTimer -= uiDiff;


            DoMeleeAttackIfReady();  


            return;

        }

    };


};


void AddSC_boss_falric()

{

    new boss_falric();

}

Link to comment
Share on other sites

Probably because on windows you use PCH and on linux you don't?

It possile, i compile only under windows, but my friend on linux. Can you me explain how to solve this? Thanks

EDIT: Is it this: Configuring for compiling -> -DUSE_SCRIPTPCH and -DUSE_COREPCH ?

Link to comment
Share on other sites

Hi just wondered if anyone could help, i seem to get a problem compiling the following git hash pull version. Just wondered if was just me as i noticed the error looks similar related the the latest changes,

Regards

Craig

New

252ac95e1b10bb266cb1639974fc3f42eaf4e901

Core/AI: Removed crappy and unused AOEAI

Error 1 error C2653: 'AOEAI' : is not a class or namespace name D:\TRINITYCORE\TRINITYCORE\src\server\game\AI\CoreAI\CombatAI.cpp 57 1 game

Error 5 error LNK1181: cannot open input file '..\game\Release\game.lib' D:\TRINITYCORE\TRINITYCORE FINAL\src\server\worldserver\LINK worldserver

Warning 2 warning C4018: '>=' : signed/unsigned mismatch D:\TRINITYCORE\TRINITYCORE\src\server\scripts\Northrend\Ulduar\ulduar\boss_hodir.cpp 830 1 scripts

Warning 3 warning C4018: '>=' : signed/unsigned mismatch D:\TRINITYCORE\TRINITYCORE\src\server\scripts\Northrend\Ulduar\ulduar\boss_xt002.cpp 813 1 scripts

Warning 4 warning C4018: '>=' : signed/unsigned mismatch D:\TRINITYCORE\TRINITYCORE\src\server\scripts\Northrend\Ulduar\ulduar\boss_xt002.cpp 846 1 scripts

Link to comment
Share on other sites

can somebody help me please with these errors i just pulled the latest updates 1 min ago and im getting some errors

6>Server\Protocol\Handlers\MiscHandler.cpp(1804): error C2227: left of '->AddPlayerToResurrectQueue' must point to class/struct/union/generic type

6>Server\Protocol\Handlers\MiscHandler.cpp(1804): error C2065: 'Bf' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1777): error C2065: 'sBattlegroundMgr' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1777): error C2228: left of '.SendAreaSpiritHealerQueryOpcode' must have class/struct/union

6> type is ''unknown-type''

6>Server\Protocol\Handlers\MiscHandler.cpp(1779): error C2065: 'Battlefield' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1779): error C2065: 'Bf' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1779): error C2065: 'sBattlefieldMgr' : undeclared identifier

10> boss_anubarak_trial.cpp

6>Server\Protocol\Handlers\MiscHandler.cpp(1779): error C2228: left of '.GetBattlefieldToZoneId' must have class/struct/union

10> boss_faction_champions.cpp

6> type is ''unknown-type''

10> boss_lord_jaraxxus.cpp

6>Server\Protocol\Handlers\MiscHandler.cpp(1780): error C2065: 'Bf' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1780): error C2227: left of '->SendAreaSpiritHealerQueryOpcode' must point to class/struct/union/generic type

6> type is ''unknown-type''

6>Server\Protocol\Handlers\MiscHandler.cpp(1786): error C2228: left of '.outDebug' must have class/struct/union

6> type is 'Log *'

6> did you intend to use '->' instead?

6>Server\Protocol\Handlers\MiscHandler.cpp(1803): error C2065: 'Battlefield' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1803): error C2065: 'Bf' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1803): error C2065: 'sBattlefieldMgr' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1803): error C2228: left of '.GetBattlefieldToZoneId' must have class/struct/union

6> type is ''unknown-type''

6>Server\Protocol\Handlers\MiscHandler.cpp(1804): error C2065: 'Bf' : undeclared identifier

6>Server\Protocol\Handlers\MiscHandler.cpp(1762): error C2228: left of '.outDebug' must have class/struct/union

can somebody help me please

Link to comment
Share on other sites

Hello.

I have problem with compile core for World Of Warcraft server. I read evrything about compile core and evry time have any problem i watch all videos for that. I saw there in core folder have folder with name "win" but evry one core archive not have that folder. When i saw to evry one link for download not have that folder i try to another things. I read about creating core in http://www.trinitycore.info/Main_Page i try that maybe 10 times but evry time have problem.The program Git have problem and i can`t download Core with it. The last i found 1 core + repack. I extract "maps" "vmaps" etc.. i have installed MySql Server and another programs but again nothing work. I create DataBase but when i start authserver.exe and worldserver.exe not work. Please Help if any can give me good links with programs versions and link for Core file.

Thanks in advance.

Link to comment
Share on other sites

The program Git have problem and i can`t download Core with it.. Please Help if any can give me good links with programs versions and link for Core file.

If you cant download the core...

but when i start authserver.exe and worldserver.exe not work

how is it possible to start the auth- and worldserver.exe?

For starting the servers you have to edit the authserver.conf and worldserver.conf. Even run the .exe in a windows-shell,

there you are able to read upcoming errors... :-)

Regards

Ashi

PS: Sorry for my bad english :-)

Link to comment
Share on other sites

If you cant download the core...

how is it possible to start the auth- and worldserver.exe?

For starting the servers you have to edit the authserver.conf and worldserver.conf. Even run the .exe in a windows-shell,

there you are able to read upcoming errors... :-)

Regards

Ashi

PS: Sorry for my bad english :-)

I read in .exe windows shell there give me error for MySql Database . I create database but again not work :S

Link to comment
Share on other sites

Dude... no links. Also we don't support repacks.

If you follow the wiki step-by-step you will get your core compiled and running.

Where do you get stuck?

i Read and try maybe more of 10 times. But i stuck to "Git" He stuck when i downloading core.

And after that i can`t follow next steps. I look for video clips when showing how to compile core becouse if there have any link for core files but nothing.

In trinitycore.org i download .zip but when i unarchive it there miss 1 folder "win" To evry one clip or tutorial about compile core have that folder with files in "Win" Folder. And with C++ need to open 1 of them files. I check all google.bg for find that files but nothing.

Edited by Bronzi
Link to comment
Share on other sites

  • Aokromes changed the title to Compile or cmake problems
  • Aokromes locked this topic
  • Carbenium unlocked this topic
  • Aokromes pinned and locked this topic
  • Aokromes featured and featured this topic
  • Aokromes pinned this topic
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...