Jump to content
TrinityCore

Recommended Posts

You have a linking problem.

When you installed ACE, did you installed it with root priviledges to be used by all system? Or did you installed it with a simple user only to be used by him?

Try reading the wiki about ACE instalation and correct the problem.

Link to comment
Share on other sites

Thanks a lot One0, Marlichsi and Athena!!!

I tried to re.compile trinity by using ace-6.0.2 and cmake-2.8.2 but anything has been changed.

As you commented that there were three undesirable WARNING which seems to be related to ACE library linking.

My question was that why those warning messages are not disappeared after re.compiling several versions of ACE and OTHER PACKAGES.

So I judged that those warning comes from cmake or cmake configuring script, Not from the ACE or OPENSSL.

By trying following cmake option, I solved this compile problem.

May be someone who install ACE on /usr/local(the default prefix directory) can avoid this kind of trouble. :-)

===================================================================================

[email protected]:build$ cmake ../ -DTOOLS=1 -DACE_LIBRARY=/opt/ace-6.0.2/lib/libACE.so -DACE_INCLUDE_DIR=/opt/ace-6.0.2/include

-- 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 64-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: /opt/ace-6.0.2/lib/libACE.so

-- Found ACE headers: /opt/ace-6.0.2/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/lib/libz.so

-- 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 : b9d6706377b0+

* Build binaries in : Release mode

* Install core to : /usr/local

* Install libraries to : /usr/local/lib

* Install configs to : /usr/local/etc

* Build world/auth : Yes (default)

* Build with scripts : Yes (default)

* Build map/vmap tools : Yes

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

* Install SQL-files : 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/garam/tmp/Wow/TrinityCore/build

[email protected]:build$

===================================================================================

Compilation was successful.

Thanks again guys!!

Ciao

P.S.

by the way, how can I make this topic to [solved] ??

Actually my question was silly one...

We can find following line on the wiki tutorial : http://www.trinitycore.org/w/How-to:Linux

===================================================================================

-DACE_LIBRARY=<path to ACE library> (full path to your libACE.so file INCLUDING the filename - do not use if you have ACE installed systemwide)

===================================================================================

Edited by garam
Link to comment
Share on other sites

  • 2 weeks later...

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.

Please set them or make sure they are set and tested correctly in the CMake files:

ACE_INCLUDE_DIR (ADVANCED)

used as include directory in directory /Users/Name/Github/TrinityCore/src/server/shared

used as include directory in directory /Users/Name/Github/TrinityCore/src/server/game

used as include directory in directory /Users/Name/Github/TrinityCore/src/server/collision

used as include directory in directory /Users/Name/Github/TrinityCore/src/server/authserver

used as include directory in directory /Users/Name/Github/TrinityCore/src/server/scripts

used as include directory in directory /Users/Name/Github/TrinityCore/src/server/worldserver

ACE_LIBRARY (ADVANCED)

linked by target "shared" in directory /Users/Name/Github/TrinityCore/src/server/shared

linked by target "worldserver" in directory /Users/Name/Github/TrinityCore/src/server/worldserver

i get this error when i make.. any ideas?

Link to comment
Share on other sites

Same Error here, maybe it has to do something with the thingy that when you try to pull from github.com/trinitycore/trinitycore.git it shows a fatal and if you pull from github.com/trinitycore/trinitycore everything goes fine.... that was what happened to me.

Sorry for Bad English, headache and from germany :P

Link to comment
Share on other sites

Hi,

I'm on Ubuntu 11.04/GNOME

I've got a problem with the compiliation of TrinityCore (make install) :

[email protected]:/home/trinity/TrinityCore/Build# make install

[  2%] Built target jemalloc

[  7%] Built target g3dlib

[  7%] Built target gsoap

[  7%] Built target revision.h

[  8%] Built target shared_pch_dephelp

[  8%] Built target pch_Generate_shared

[ 10%] Built target shared

[ 11%] Built target game_pch_dephelp

[ 12%] Built target pch_Generate_game

[ 32%] Built target game

[ 32%] Built target collision_pch_dephelp

[ 32%] Built target pch_Generate_collision

[ 33%] Built target collision

[ 33%] Built target authserver_pch_dephelp

[ 33%] Built target pch_Generate_authserver

[ 33%] Built target authserver

[ 34%] Built target scripts_pch_dephelp

[ 34%] Built target pch_Generate_scripts

[ 99%] Built target scripts

[100%] Built target worldserver_pch_dephelp

[100%] Built target pch_Generate_worldserver

[100%] Built target worldserver

Install the project...

-- Install configuration: "Release"

-- Up-to-date: /home/trinity/Serveur/bin/authserver

-- Up-to-date: /home/trinity/Serveur/etc/authserver.conf.dist

-- Installing: /home/trinity/Serveur/bin/worldserver

CMake Error at src/server/worldserver/cmake_install.cmake:45 (FILE):

  file RPATH_CHANGE could not write new RPATH:


    /usr/local/lib:/home/trinity/.sys/lib


  to the file:


    /home/trinity/Serveur/bin/worldserver


  No valid ELF RPATH or RUNPATH entry exists in the file; Error reading ELF

  identification.

Call Stack (most recent call first):

  src/server/cmake_install.cmake:42 (INCLUDE)

  src/cmake_install.cmake:38 (INCLUDE)

  cmake_install.cmake:38 (INCLUDE)



make: *** [install] Erreur 1

Could you help me ?

Thank you

AngelKiller98 (excuse me for my bad English : I'm French :rolleyes: )

Link to comment
Share on other sites

hi i just pulled again some updates stashed my things before and pulled and just apply my stash again but now im compiling and getting errors why?

6>..\..\..\..\Backup\scripts\Npc_Beastmaster.cpp(25) : error C2039: 'CloseGossip' : is not a member of 'PlayerMenu'

6> H:\TrinityCore\src\server\game\Entities\Creature\GossipDef.h(249) : see declaration of 'PlayerMenu'

6>..\..\..\..\Backup\scripts\Npc_Beastmaster.cpp(31) : error C2039: 'CloseGossip' : is not a member of 'PlayerMenu'

6> H:\TrinityCore\src\server\game\Entities\Creature\GossipDef.h(249) : see declaration of 'PlayerMenu'

6>..\..\..\..\Backup\scripts\Npc_Beastmaster.cpp(71) : error C2039: 'CloseGossip' : is not a member of 'PlayerMenu'

6> H:\TrinityCore\src\server\game\Entities\Creature\GossipDef.h(249) : see declaration of 'PlayerMenu'

6>..\..\..\..\Backup\scripts\Npc_Beastmaster.cpp(166) : error C2039: 'SEND_VENDORLIST' : is not a member of 'Player'

it has something to do with my Beastmaster script but before it was working fine with no problems so please can somebody help me?

Link to comment
Share on other sites

hi i just pulled again some updates stashed my things before and pulled and just apply my stash again but now im compiling and getting errors why?

6>..\..\..\..\Backup\scripts\Npc_Beastmaster.cpp(25) : error C2039: 'CloseGossip' : is not a member of 'PlayerMenu'

6> H:\TrinityCore\src\server\game\Entities\Creature\GossipDef.h(249) : see declaration of 'PlayerMenu'

6>..\..\..\..\Backup\scripts\Npc_Beastmaster.cpp(31) : error C2039: 'CloseGossip' : is not a member of 'PlayerMenu'

6> H:\TrinityCore\src\server\game\Entities\Creature\GossipDef.h(249) : see declaration of 'PlayerMenu'

6>..\..\..\..\Backup\scripts\Npc_Beastmaster.cpp(71) : error C2039: 'CloseGossip' : is not a member of 'PlayerMenu'

6> H:\TrinityCore\src\server\game\Entities\Creature\GossipDef.h(249) : see declaration of 'PlayerMenu'

6>..\..\..\..\Backup\scripts\Npc_Beastmaster.cpp(166) : error C2039: 'SEND_VENDORLIST' : is not a member of 'Player'

it has something to do with my Beastmaster script but before it was working fine with no problems so please can somebody help me?

Why don't you look at the last commit. hint "CloseGossip"

Another hint......


-#define CLOSE_GOSSIP_MENU() PlayerTalkClass->CloseGossip()
+#define CLOSE_GOSSIP_MENU() PlayerTalkClass->SendCloseGossip()[/code]

Link to comment
Share on other sites

Why don't you look at the last commit. hint "CloseGossip"

Another hint......

-#define CLOSE_GOSSIP_MENU()        PlayerTalkClass->CloseGossip()

+#define CLOSE_GOSSIP_MENU()        PlayerTalkClass->SendCloseGossip()

sorry man i dont know what you mean? can you be a little bit specifiek

Link to comment
Share on other sites

Hi,

After update new revision (2d1b3ccaa143f11d7cab), my compilation has returning an error.

[ 33%] Built target pch_Generate_scripts

[ 33%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Northrend/Ulduar/ulduar/boss_general_vezax.cpp.o

/home/trinity/TrinityCore/src/server/scripts/Northrend/Ulduar/ulduar/boss_general_vezax.cpp: In member function âvirtual void boss_general_vezax::boss_general_vezaxAI::JustDied(Unit*)â:

/home/trinity/TrinityCore/src/server/scripts/Northrend/Ulduar/ulduar/boss_general_vezax.cpp:223: warning: âvoid InstanceScript::DoCompleteAchievement(uint32)â is deprecated (declared at /home/trinity/TrinityCore/src/server/game/Instances/InstanceScript.h:173)

/home/trinity/TrinityCore/src/server/scripts/Northrend/Ulduar/ulduar/boss_general_vezax.cpp:226: warning: âvoid InstanceScript::DoCompleteAchievement(uint32)â is deprecated (declared at /home/trinity/TrinityCore/src/server/game/Instances/InstanceScript.h:173)

/home/trinity/TrinityCore/src/server/scripts/Northrend/Ulduar/ulduar/boss_general_vezax.cpp: In member function âvoid boss_general_vezax::boss_general_vezaxAI::CheckShamanisticRage()â:

/home/trinity/TrinityCore/src/server/scripts/Northrend/Ulduar/ulduar/boss_general_vezax.cpp:235: error: âSelectRandomTargetâ was not declared in this scope

compilation terminated due to -Wfatal-errors.

make[2]: ** [src/server/scripts/CMakeFiles/scripts.dir/Northrend/Ulduar/ulduar/boss_general_vezax.cpp.o] Erro 1

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

make: ** [all] Erro 2

I've cleaned all build directory too. Error persists. Some idea?

Link to comment
Share on other sites

Hi,

I've got a problem to compile worldserver :

[...]

Linking CXX executable worldserver

../game/libgame.a(ScriptLoader.cpp.o): In function `AddOutlandScripts()':

/home/trinity/TrinityCore/src/server/game/Scripting/ScriptLoader.cpp:971: undefined reference to `AddSC_black_temple()'

/home/trinity/TrinityCore/src/server/game/Scripting/ScriptLoader.cpp:975: undefined reference to `AddSC_boss_gurtogg_bloodboil()'

/home/trinity/TrinityCore/src/server/game/Scripting/ScriptLoader.cpp:976: undefined reference to `AddSC_boss_mother_shahraz()'

/home/trinity/TrinityCore/src/server/game/Scripting/ScriptLoader.cpp:977: undefined reference to `AddSC_boss_reliquary_of_souls()'

/home/trinity/TrinityCore/src/server/game/Scripting/ScriptLoader.cpp:979: undefined reference to `AddSC_boss_najentus()'

/home/trinity/TrinityCore/src/server/game/Scripting/ScriptLoader.cpp:981: undefined reference to `AddSC_instance_black_temple()'

collect2: ld returned 1 exit status

make[2]: *** [src/server/worldserver/worldserver] Erreur 1

make[1]: *** [src/server/worldserver/CMakeFiles/worldserver.dir/all] Erreur 2

make: *** [all] Erreur 2

.

I use Ubuntu-11.04, ACE 6.0.2 and OpenSSL 1.0.0d.

Edited by AngelKiller98
Link to comment
Share on other sites

i pulled the last updates 91b572d6693be64d0ff9b7fff501d4db3a535fff.

11>c1xx : fatal error C1083: Cannot open source file: '.\World\boss_ysondre.cpp': No such file or directory

11>c1xx : fatal error C1083: Cannot open source file: '.\World\boss_taerar.cpp': No such file or directory

11>c1xx : fatal error C1083: Cannot open source file: '.\Northrend\ObsidianSanctum\boss_sartharion.cpp': No such file or directory

11>c1xx : fatal error C1083: Cannot open source file: '.\World\boss_lethon.cpp': No such file or directory

11>c1xx : fatal error C1083: Cannot open source file: '.\World\boss_emeriss.cpp': No such file or directory

this are the errors from the latest pull.

so can somebody help me about it?

Link to comment
Share on other sites

im still getting the same errors on the latest pull d1307ee47baa1f4bd95905c8d94ff7fd847d5923

11>c1xx : fatal error C1083: Cannot open source file: '.\World\boss_ysondre.cpp': No such file or directory

11>c1xx : fatal error C1083: Cannot open source file: '.\World\boss_taerar.cpp': No such file or directory

11>c1xx : fatal error C1083: Cannot open source file: '.\Northrend\ObsidianSanctum\boss_sartharion.cpp': No such file or directory

11>c1xx : fatal error C1083: Cannot open source file: '.\World\boss_lethon.cpp': No such file or directory

11>c1xx : fatal error C1083: Cannot open source file: '.\World\boss_emeriss.cpp': No such file or directory

somebody told me this

rebuild projectfiles with cmake how to do that?

and now im also getting some problems with my teleporter

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(62) : error C2065: 'TEXTEMOTE_DANCE' : undeclared identifier

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(62) : error C2051: case expression not constant

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(66) : error C2065: 'TEXTEMOTE_SALUTE' : undeclared identifier

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(66) : error C2051: case expression not constant

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(70) : error C2065: 'TEXTEMOTE_ROFL' : undeclared identifier

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(70) : error C2051: case expression not constant

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(71) : error C2065: 'TEXTEMOTE_LAUGH' : undeclared identifier

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(71) : error C2051: case expression not constant

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(75) : error C2065: 'TEXTEMOTE_WAVE' : undeclared identifier

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(75) : error C2051: case expression not constant

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(76) : error C2065: 'TEXTEMOTE_BYE' : undeclared identifier

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(76) : error C2051: case expression not constant

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(80) : error C2065: 'TEXTEMOTE_RUDE' : undeclared identifier

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(80) : error C2051: case expression not constant

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(81) : error C2065: 'TEXTEMOTE_SPIT' : undeclared identifier

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(81) : error C2051: case expression not constant

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(82) : error C2065: 'TEXTEMOTE_SLAP' : undeclared identifier

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(82) : error C2051: case expression not constant

6>..\..\..\..\Backup\scripts\universal_teleporter.cpp(86) : warning C4060: switch statement contains no 'case' or 'default' labels

Link to comment
Share on other sites

As I said in the previous thread: REGENERATE THE PROJECT FILES WITH CMAKE.

If you really need help to understand that, I suggest you read the wiki : http://www.trinitycore.info/ - read the Windows-part there. Thank you.

thank you its already fixed! mods can close this

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


  • Similar Content

    • By xgamerninjax
      Hello all, first time posting here and it's really got me scratching my head.
      I've compiled everything on my own computer, and then transferred everything to a host computer so the server can stay live. The server was running fine for a month or so and then suddenly it just crashes when it hits "Loading C++ scripts", exiting saying "caught signal 22"
      I tried setting up the host computer from scratch and transferred everything over fresh and it's still happening for some reason. (Note, I can run the server perfectly on my personal pc where I compiled it.)
      Any help would be greatly appreciated, thanks!
      3d7e3a40e2b3+_worldserver.exe_[1-4_15-19-45].dmp 3d7e3a40e2b3+_worldserver.exe_[1-4_15-19-45].txt
    • By Deer_Hunter
      Hello all,
      I just updated from the latest Git 
      Trinity Core REV. ac6baa547376 + 2020-02-21  3.3.5 Branch.
      I'm getting this error after crash.
      Problem signature:
        Problem Event Name:    APPCRASH
        Application Name:    worldserver.exe
        Application Version:    0.0.0.0
        Application Timestamp:    5e50a462
        Fault Module Name:    StackHash_f12f
        Fault Module Version:    6.3.9600.19629
        Fault Module Timestamp:    5e2fdc0d
        Exception Code:    c0000374
        Exception Offset:    PCH_9E_FROM_ntdll+0x0000000000090D0A
        OS Version:    6.3.9600.2.0.0.272.7
        Locale ID:    1033
        Additional Information 1:    f12f
        Additional Information 2:    f12f0934d3e965f73c68e60f20f2cd40
        Additional Information 3:    7595
        Additional Information 4:    7595e4d8d703db9dcd3d2f6ea540e357
      the exception code says its a Heap error,  I'm not sure how to troubleshoot this.
      Thanks
    • By 939h
      Hi,

      The chat channel Lookup for group is not available when a player isn't in a city. I tried to modify the worldserver.conf file with:
      #
      #    Channel.RestrictedLfg
      #        Description: Restrict LookupForGroup channel to characters registered in the LFG tool.
      #        Default:     1 - (Enabled, Allow join to channel only if registered in LFG)
      #                     0 - (Disabled, Allow join to channel in any time)
      Channel.RestrictedLfg = 0

      I restarted the server but it didn't help.

      Thanks
    • By meeek
      Hey, I've been trying to compile from github the core from 6.2.3/6.2.4, I'm well aware its stopped developing. I cannot get it to configure properly in CMake, nor can I obviously build it.
       
      I'd be willing to pay for help and get this working and running. I want to develop my own server on my freetime as a learning project and for entertainment. I can't find any core for WoD, sadly.. Very hard, would appreciate any quick help
       
    • By Probie_Wan_Kenobi
      I believe everything I have done up to this point has been correct. When I go to launch worldserver.exe a console window opens up for a second and closes right away and nothing else seems to have happened. I skipped a head a little in the instructions to see what is left and step 5 seems skippable since I am running this only for this computer and step 6 has me launch to a log in screen which I can not get to. I tried going to the faq but the page was not loading properly so I am forced to post here.
×
×
  • Create New...