Gin88 Posted February 10, 2012 Report Share Posted February 10, 2012 Wiki suggest to install the zlib1g-dev and libbz2-dev packets. Are zlib-devel and bzip2-devel something different? Link to comment Share on other sites More sharing options...
Brian Posted February 10, 2012 Report Share Posted February 10, 2012 Sorry -- didn't pay attention to the fact that you were running Ubuntu. I use Centos, and that is the equvalant packages. If you installed the -dev packages, you shouldn't have issues. -- Brian Link to comment Share on other sites More sharing options...
Gin88 Posted February 10, 2012 Report Share Posted February 10, 2012 I have both zlib1g-dev and libbz2-dev on my OS... I don't know why they don't work... Link to comment Share on other sites More sharing options...
telsamat Posted February 10, 2012 Report Share Posted February 10, 2012 me too, it is general problem of ubuntu try this https://github.com/filius/TrinityCore/commit/fa8a085ab085fd38a9625bc017adab2a0fe4d22c Link to comment Share on other sites More sharing options...
Gin88 Posted February 10, 2012 Report Share Posted February 10, 2012 Ok. Solved with https://github.com/filius/TrinityCore/commit/fa8a085ab085fd38a9625bc017adab2a0fe4d22c . Link to comment Share on other sites More sharing options...
LatinP Posted February 11, 2012 Report Share Posted February 11, 2012 Must be VS 2010 pro then. I use VS 2009 Pro with SP1 and have no problems. Yes it's VS 2010 - compiler works fine it's just something with sp1. Link to comment Share on other sites More sharing options...
Betaman2k Posted February 11, 2012 Report Share Posted February 11, 2012 Heya i compiled on linux ( debian ) where are the tools ? or i forget it to compile ? i hope u can help me i need this map_extractor vmap3_assembler vmap3_extractor Link to comment Share on other sites More sharing options...
4m1g0 Posted February 11, 2012 Report Share Posted February 11, 2012 Confirm the problem on ubuntu and this works to me too https://github.com/filius/TrinityCore/commit/fa8a085ab085fd38a9625bc017adab2a0fe4d22c Link to comment Share on other sites More sharing options...
click Posted February 11, 2012 Report Share Posted February 11, 2012 me too, it is general problem of ubuntu try this https://github.com/filius/TrinityCore/commit/fa8a085ab085fd38a9625bc017adab2a0fe4d22c Ok. Solved with https://github.com/f...7adab2a0fe4d22c . Confirm the problem on ubuntu and this works to me too https://github.com/f...7adab2a0fe4d22c Erm, ok? One note here, since libmpq requires both the libbz2-library and zlib-library objects to already exist before it will do anything... The entire linking is controlled by the sequence given in the original file, meaning libmpq will be linked in AFTER the other two has been compiled/linked in, and thus allowing for libMPQ itself to find the requested functions. Why this alledgedly happens for you beats me, but for the sake of it, post the parameters you use for make during compilation (that means -j flags and whatnot). I can't see the reason for moving libMPQ -up- in the chain, it kind of counters the entire link-sequence. Unless they changed CMake somewhere and never posted it in their changelogs... (Also, supply the entire cmake-configuration phase output so I can see where CMake actually grabs the headers from - it might be that it finds something you've installed locally, ie. not systemwide). Link to comment Share on other sites More sharing options...
Gin88 Posted February 11, 2012 Report Share Posted February 11, 2012 I've used this cmake config: cmake ../Trinitycore -DPREFIX=home/user/server -DTOOLS=1 and then make -j 9 (normally) make -d (for more error detalis) Link to comment Share on other sites More sharing options...
_root Posted February 11, 2012 Report Share Posted February 11, 2012 use a fresh trinitycore and re test Link to comment Share on other sites More sharing options...
click Posted February 11, 2012 Report Share Posted February 11, 2012 Care to post the complete output from CMake during configurationphase, please? Link to comment Share on other sites More sharing options...
Gin88 Posted February 11, 2012 Report Share Posted February 11, 2012 -- 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: /usr/lib/libACE.so -- Found ACE headers: /usr/include -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/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/x86_64-linux-gnu/libz.so (found version "1.2.3.4") -- 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 rev. hash : 231b849ac4b2 * TrinityCore rev. date : 2012-02-11 11:05:37 -0500 * TrinityCore buildtype : Release * Install core to : /home/user/server * Install libraries to : /home/user/server/lib * Install configs to : /home/user/server/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) -- 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/user/build Link to comment Share on other sites More sharing options...
Paradox Posted February 12, 2012 Report Share Posted February 12, 2012 -DTOOLS=1 when running cmake, If I remember correctly. Link to comment Share on other sites More sharing options...
bloodfangx Posted February 13, 2012 Report Share Posted February 13, 2012 Did you re cmake before adding in the custom scripts? Did you correctly add the scriptnames found within the cpp file in the correct area on scriptloader file? Link to comment Share on other sites More sharing options...
Mino Posted February 14, 2012 Report Share Posted February 14, 2012 Hi, I have a problem ... during compilation i´ve got this error ... please how fix it ? Thank you. In file included from /home/mino/wow/tc/TrinityCore/src/server/game/Maps/MapManager.h:26, from /home/mino/wow/tc/TrinityCore/src/server/game/PrecompiledHeaders/gamePCH.h:7, from /home/mino/wow/tc/TrinityCore/src/server/game/game_pch_dephelp.cxx:1: /home/mino/wow/tc/TrinityCore/src/server/game/Maps/Map.h:169: error: declaration of ‘uint16 GridMap::_liquidType’ /home/mino/wow/tc/TrinityCore/src/server/game/Maps/Map.h:166: error: conflicts with previous declaration ‘uint8* GridMap::_liquidType’ In file included from /home/mino/wow/tc/TrinityCore/src/server/game/Entities/Unit/Unit.h:33, from /home/mino/wow/tc/TrinityCore/src/server/game/Entities/Pet/Pet.h:23, from /home/mino/wow/tc/TrinityCore/src/server/game/Entities/Player/Player.h:33, from /home/mino/wow/tc/TrinityCore/src/server/game/Globals/ObjectAccessor.h:31, from /home/mino/wow/tc/TrinityCore/src/server/game/PrecompiledHeaders/gamePCH.h:9, from /home/mino/wow/tc/TrinityCore/src/server/game/game_pch_dephelp.cxx:1: /home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:85: error: ‘_Ty’ was not declared in this scope /home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:85: error: template argument 1 is invalid /home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:85: error: template argument 2 is invalid /home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:88: error: ‘_Ty’ has not been declared /home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:109: error: ‘_Ty’ does not name a type /home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:110: error: ‘_Ty’ does not name a type /home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:112: error: ‘_Ty’ has not been declared /home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:113: error: ‘_Ty’ has not been declared /home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h: In member function ‘void MotionMaster::push(int)’: /home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:88: error: invalid conversion from ‘int’ to ‘MovementGenerator*’ make[2]: *** [src/server/game/CMakeFiles/game_pch_dephelp.dir/game_pch_dephelp.cxx.o] Error 1 make[1]: *** [src/server/game/CMakeFiles/game_pch_dephelp.dir/all] Error 2 make: *** [all] Error 2 Link to comment Share on other sites More sharing options...
Aokromes Posted February 14, 2012 Report Share Posted February 14, 2012 update your core. Link to comment Share on other sites More sharing options...
Aokromes Posted February 14, 2012 Report Share Posted February 14, 2012 --- Canned message startIt appears the issue in the original post was solved, so this thread shall be closed. Should you encounter any other difficulties, please open a new thread.--- Canned message end --- Link to comment Share on other sites More sharing options...
alex15963 Posted February 23, 2012 Report Share Posted February 23, 2012 4>------ Build started: Project: worldserver, Configuration: Release Win32 ------ 4>Build started 2/23/2012 4:41:59 PM. 4>InitializeBuildStatus: 4> Touching "worldserver.dir\Release\worldserver.unsuccessfulbuild". 4>CustomBuild: 4> All outputs are up-to-date. 4>ClCompile: 4> All outputs are up-to-date. 4> All outputs are up-to-date. 4>ResourceCompile: 4> All outputs are up-to-date. 4>Link: 4> Creating library C:/Users/N A T U R A L/Desktop/Build/src/server/worldserver/Release/worldserver.lib and object C:/Users/N A T U R A L/Desktop/Build/src/server/worldserver/Release/worldserver.exp 4>game.lib(ScriptLoader.obj) : error LNK2019: unresolved external symbol "void __cdecl AddSC_npc_beastmaster(void)" (?AddSC_npc_beastmaster@@YAXXZ) referenced in function "void __cdecl AddCustomScripts(void)" (?AddCustomScripts@@YAXXZ) 4>game.lib(ScriptLoader.obj) : error LNK2019: unresolved external symbol "void __cdecl AddSC_npc_keep_out(void)" (?AddSC_npc_keep_out@@YAXXZ) referenced in function "void __cdecl AddCustomScripts(void)" (?AddCustomScripts@@YAXXZ) 4>game.lib(ScriptLoader.obj) : error LNK2019: unresolved external symbol "void __cdecl AddSC_world_chat(void)" (?AddSC_world_chat@@YAXXZ) referenced in function "void __cdecl AddCustomScripts(void)" (?AddCustomScripts@@YAXXZ) 4>C:\Users\N A T U R A L\Desktop\Build\bin\Release\worldserver.exe : fatal error LNK1120: 3 unresolved externals 4> 4>Build FAILED. Link to comment Share on other sites More sharing options...
Subv Posted February 23, 2012 Report Share Posted February 23, 2012 --- Canned message start ---This thread is not related to the official Trinity codebase and was moved to the Custom Code section.Please read the stickies next time.--- Canned message end --- Link to comment Share on other sites More sharing options...
Izze Posted February 25, 2012 Report Share Posted February 25, 2012 (edited) Hi Team, i found an Error in your rSource-Code, here it goes: [ 15%] Building CXX object src/server/game/CMakeFiles/game.dir/Calendar/CalendarMgr.cpp.o In file included from /home/wow_trinity/TrinityCore/src/server/game/Calendar/CalendarMgr.h:22, from /home/wow_trinity/TrinityCore/src/server/game/Calendar/CalendarMgr.cpp:49: /home/wow_trinity/TrinityCore/src/server/game/Calendar/Calendar.h: In constructor 'CalendarAction::CalendarAction()': /home/wow_trinity/TrinityCore/src/server/game/Calendar/Calendar.h:219: error: class 'CalendarAction' does not have any field named '_guid' compilation terminated due to -Wfatal-errors. make[2]: *** [src/server/game/CMakeFiles/game.dir/Calendar/CalendarMgr.cpp.o] Error 1 make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2 make: *** [all] Error 2 wow_trinity@***************:~/TrinityCore$ git pull Already up-to-date. wow_trinity@***************:~/TrinityCore$ Compiled with (Folders existing): cmake ../TrinityCore/ -DSERVERS=1 -DSCRIPTS=1 -DTOOLS=1 -DWITH_WARNINGS=1 -DPREFIX=/home/wow_trinity/0_auth -DCONF_DIR=/home/wow_trinity/0_auth/conf -DLIBSDIR=/home/wow_trinity/0_auth/libs System Debian Squeeze 64bit (vServer) -> All Depencies installed Edited February 25, 2012 by Izze Link to comment Share on other sites More sharing options...
Aokromes Posted February 25, 2012 Report Share Posted February 25, 2012 Update to head. Link to comment Share on other sites More sharing options...
Aokromes Posted February 25, 2012 Report Share Posted February 25, 2012 --- Canned message startIt appears the issue in the original post was solved, so this thread shall be closed. Should you encounter any other difficulties, please open a new thread.--- Canned message end --- Link to comment Share on other sites More sharing options...
yashirotcm Posted February 28, 2012 Report Share Posted February 28, 2012 Greetings community, Im wondering if there is a way so that, when I clone the trinity source, I can do it from an specific date or commit number, for.example. Clone the source updated up to Jan-31, (It's February now) so that i can avoid certain recent updates that have been breaking important stuff in the game. Thanks in advance. Link to comment Share on other sites More sharing options...
Nay Posted February 28, 2012 Report Share Posted February 28, 2012 you can use the git checkout <hash> command http://schacon.github.com/git/git-checkout.html 1 Link to comment Share on other sites More sharing options...
Recommended Posts