Athena Posted June 20, 2011 Report Share Posted June 20, 2011 Did you followed the wiki step-by-step? Notice that during the git extensions installation there is a option you have to select for everything to work. Also, did you checked if your firewall isn't blocking git from connecting to web? Link to comment Share on other sites More sharing options...
Paradox Posted June 21, 2011 Report Share Posted June 21, 2011 if you download the archived version from the repo, you still have to follow the rest of the wiki, such as running cmake, etc. Link to comment Share on other sites More sharing options...
paulchain Posted June 21, 2011 Report Share Posted June 21, 2011 I try to compile the code using make -j 2 and i get an error around 12-13% /home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp: In member function ‘bool MySQLConnection::_HandleMySQLErrno(uint32)’: /home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp:521:13: error: ‘sleep’ is not a member of ‘ACE_OS’ make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Database/MySQLConnection.cpp.o] Error 1 make[1]: *** [src/server/shared/CMakeFiles/shared.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp: In member function ‘bool MySQLConnection::_HandleMySQLErrno(uint32)’: /home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp:521:13: error: ‘sleep’ is not a member of ‘ACE_OS’ make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Database/MySQLConnection.cpp.o] Error 1 make[1]: *** [src/server/shared/CMakeFiles/shared.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp: In member function ‘bool MySQLConnection::_HandleMySQLErrno(uint32)’: /home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp:521:13: error: ‘sleep’ is not a member of ‘ACE_OS’ make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Database/MySQLConnection.cpp.o] Error 1 make[1]: *** [src/server/shared/CMakeFiles/shared.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp: In member function ‘bool MySQLConnection::_HandleMySQLErrno(uint32)’: /home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp:521:13: error: ‘sleep’ is not a member of ‘ACE_OS’ make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Database/MySQLConnection.cpp.o] Error 1 make[1]: *** [src/server/shared/CMakeFiles/shared.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... any input on the reason of this error, I been following the Linux Howto guide on the TrinityCore wikki Link to comment Share on other sites More sharing options...
paulchain Posted June 21, 2011 Report Share Posted June 21, 2011 I also get this error then the compile closes /home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp: In member function ‘bool MySQLConnection::_HandleMySQLErrno(uint32)’: /home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp:521:13: error: ‘sleep’ is not a member of ‘ACE_OS’ make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Database/MySQLConnection.cpp.o] Error 1 make[1]: *** [src/server/shared/CMakeFiles/shared.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 32%] Built target game make: *** [all] Error 2 Paul@linux-yvxi:~/TrinityCore/build> Link to comment Share on other sites More sharing options...
Paradox Posted June 22, 2011 Report Share Posted June 22, 2011 Could you be a bit more vague, i can almost tell what version of ACE libs Mysql and such you are using, and, knowing that info will keep me from being able to help you at all. Also, if you were to post the hash revision of the core or the DB revision, etc. the mods might just have to lock this topic! Link to comment Share on other sites More sharing options...
pie Posted June 25, 2011 Report Share Posted June 25, 2011 Hello i have a issue with my core, i updated my core and upated my sql db with the updates and i tried to compile in c++ 64 and 32 bits i get ========== Build: 17 succeeded, 2 failed, 0 up-to-date, 0 skipped========== Never had this issue before, please help Link to comment Share on other sites More sharing options...
Aokromes Posted June 25, 2011 Report Share Posted June 25, 2011 --- Canned message start --- I would love to be able to just say: "Look in upper right hand corner of the forum, there is a button labeled SEARCH, please use it", but I don't think that will be enough therefore I present to you: Please read it cover to cover, and don't bother posting again until you do! --- Canned message end --- 1 Link to comment Share on other sites More sharing options...
scarecrow Posted July 1, 2011 Report Share Posted July 1, 2011 Complete! root@server [/wow/build]# make [ 2%] Built target jemalloc [ 7%] Built target g3dlib [ 8%] Built target gsoap [ 8%] Built target revision.h [ 9%] Built target shared_pch_dephelp [ 9%] Built target pch_Generate_shared [ 11%] Built target shared [ 11%] Built target game_pch_dephelp [ 12%] Built target pch_Generate_game [ 12%] Building CXX object src/server/game/CMakeFiles/game.dir/Accounts/AccountMgr.cpp.o <command line>:1: fatal error: had to relocate PCH compilation terminated. Preprocessed source stored into /tmp/ccKats7p.out file, please attach this to your bugreport. make[2]: *** [src/server/game/CMakeFiles/game.dir/Accounts/AccountMgr.cpp.o] Error 1 make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2 make: *** [all] Error 2 ive set this up before but for some reason this time it wont work. Link to comment Share on other sites More sharing options...
Selven Posted July 3, 2011 Report Share Posted July 3, 2011 Hello, First, sorry for my bad english...^^ I've a problem during compilation : [ 55%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/EasternKingdoms/duskwood.cpp.o /home/trinity/TrinityCore/src/server/game/Spells/Spell.cpp: In member function âvoid Spell::SelectSpellTargets()â: /home/trinity/TrinityCore/src/server/game/Spells/Spell.cpp:770: error: âSPELL_ATTR0_UNK18â was not declared in this scope [ 56%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/EasternKingdoms/ScarletMonastery/boss_azshir_the_sleepless.cpp.o /home/trinity/TrinityCore/src/server/game/Spells/Spell.cpp: In member function âSpellCastResult Spell::CheckCast(bool)â: /home/trinity/TrinityCore/src/server/game/Spells/Spell.cpp:4875: error: âSPELL_ATTR0_UNK18â was not declared in this scope [ 56%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/EasternKingdoms/ScarletMonastery/boss_mograine_and_whitemane.cpp.o make[2]: *** [src/server/game/CMakeFiles/game.dir/Spells/Spell.cpp.o] Erreur 1 make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Erreur 2 make[1]: *** Attente des tâches non terminées.... And others errors : [ 99%] Built target scripts make: *** [all] Erreur 2 [ 2%] Built target jemalloc [ 7%] Built target g3dlib [ 8%] Built target gsoap [ 8%] Built target revision.h [ 9%] Built target shared_pch_dephelp [ 9%] Built target pch_Generate_shared [ 11%] Built target shared [ 11%] Built target game_pch_dephelp [ 12%] Built target pch_Generate_game [ 12%] Building CXX object src/server/game/CMakeFiles/game.dir/Spells/Spell.cpp.o /home/trinity/TrinityCore/src/server/game/Spells/Spell.cpp: In member function âvoid Spell::SelectSpellTargets()â: /home/trinity/TrinityCore/src/server/game/Spells/Spell.cpp:770: error: âSPELL_ATTR0_UNK18â was not declared in this scope /home/trinity/TrinityCore/src/server/game/Spells/Spell.cpp: In member function âSpellCastResult Spell::CheckCast(bool)â: /home/trinity/TrinityCore/src/server/game/Spells/Spell.cpp:4875: error: âSPELL_ATTR0_UNK18â was not declared in this scope make[2]: *** [src/server/game/CMakeFiles/game.dir/Spells/Spell.cpp.o] Erreur 1 make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Erreur 2 make: *** [all] Erreur 2 trinity@server1:~$ I don't understand, i've already do a server without error, 2 days ago, Today i've done the Debian updates with apt-get upgrade, and there wasn't any packet to remove... Only updates. Any idea ? Thanks in advance, Link to comment Share on other sites More sharing options...
ClanCC Posted July 3, 2011 Report Share Posted July 3, 2011 try a clean compile? Delete the build folder and try compiling again. Link to comment Share on other sites More sharing options...
Selven Posted July 3, 2011 Report Share Posted July 3, 2011 I've deleted the trinitycore folder with sources, and i use the git command for clone the repository... And it's the same problem.. Link to comment Share on other sites More sharing options...
Squeezee Posted July 22, 2011 Report Share Posted July 22, 2011 (edited) Greetings, I am not new here, at trinity forums, but this problem has occured me and i cant solve it... I am having a Windows Web Server 2008 R2 64bit. I installed Microsoft C++ 2010, and OpenSSL 32bit and 64bit, and all packages from microsoft... So i get newest revision from Trinity GitHub, i go to CMake, choose where i have put it, and put a Bulid Directory... I choose option Visual Studio 10 ( Not 64x, because there are errors, when you are doing 64x) When i press Configure, i get this... Can anyone help me? Thanks in advance.... Error: Check for working C compiler using: Visual Studio 10 Check for working C compiler using: Visual Studio 10 -- broken CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler "cl" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/World of Warcraft Server/Emulator & Database/TrinityBulid/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec Microsoft (R) Visual C++ 2010 Express Version 10.0.30319.1. Copyright (C) Microsoft Corp. All rights reserved. Unable to read the project file "ALL_BUILD.vcxproj". C:\World of Warcraft Server\Emulator & Database\TrinityBulid\CMakeFiles\CMakeTmp\ALL_BUILD.vcxproj(113,121): The project file could not be loaded. An error occurred while parsing EntityName. Line 113, position 121. Unable to read the project file "cmTryCompileExec.vcxproj". C:\World of Warcraft Server\Emulator & Database\TrinityBulid\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj(58,111): The project file could not be loaded. An error occurred while parsing EntityName. Line 58, position 111. Invalid project Use: vcexpress [solutionfile | projectfile | anyfile.ext] [switches] The first argument for vcexpress is usually a solution file or project file. You can also use any other file as the first argument if you want to have the file open automatically in an editor. When you enter a project file, the IDE looks for an .sln file with the same base name as the project file in the parent directory for the project file. If no such .sln file exists, then the IDE looks for a single .sln file that references the project. If no such single .sln file exists, then the IDE creates an unsaved solution with a default .sln file name that has the same base name as the project file. Command line builds: vcexpress solutionfile.sln /build [ solutionconfig ] [ /project projectnameorfile [ /projectconfig name ] ] Available command line switches: /Log Logs IDE activity to the specified file for troubleshooting. /ResetSettings Restores the IDE's default settings, optionally resets to the specified VSSettings file. /SafeMode Launches the IDE in safe mode loading minimal windows. Product-specific switches: /debugexe Open the specified executable to be debugged. The remainder of the command line is passed to this executable as its arguments. /useenv Use PATH, INCLUDE, LIBPATH, and LIB environment variables instead of IDE paths for VC++ builds. To attach the debugger from the command line, use: VsJITDebugger.exe -p <pid> CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:12 (project) Configuring incomplete, errors occurred! Kind Regards Squeezee Edited July 22, 2011 by Squeezee Link to comment Share on other sites More sharing options...
LihO Posted July 23, 2011 Report Share Posted July 23, 2011 Error: Check for working C compiler using: Visual Studio 10 Check for working C compiler using: Visual Studio 10 -- broken seems you have bad Visual Studio Link to comment Share on other sites More sharing options...
Paradox Posted July 23, 2011 Report Share Posted July 23, 2011 could you make your sig a bit bigger? I can't make out what it says, it is so small. 1 Link to comment Share on other sites More sharing options...
Squeezee Posted July 23, 2011 Report Share Posted July 23, 2011 I downloaded C++ from their Website... I mean microsoft ;S Link to comment Share on other sites More sharing options...
stevedev Posted August 2, 2011 Report Share Posted August 2, 2011 Need some help... I've tried a build and rebuild after cleaning but still getting compile errors. See errors attached. Thx. -Scompile-errors.txt Link to comment Share on other sites More sharing options...
stevedev Posted August 2, 2011 Report Share Posted August 2, 2011 Using visual c++ 2010 express. Git Extensions ver 2.22 Link to comment Share on other sites More sharing options...
Micha Posted August 2, 2011 Report Share Posted August 2, 2011 Have a look at this: https://github.com/TrinityCore/TrinityCore/commit/b0fe236265465a0f39aa98a8cee2916d1ccfaa02 Link to comment Share on other sites More sharing options...
stevedev Posted August 2, 2011 Report Share Posted August 2, 2011 Whups, missed the rerun cmake note on last commit I mentioned in topic. After rerunning cmake all is well. Thx. Link to comment Share on other sites More sharing options...
Aokromes Posted August 2, 2011 Report Share Posted August 2, 2011 --- 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...
08keelr Posted August 5, 2011 Report Share Posted August 5, 2011 Hey guys... When i try to compile trinitycore in Microsoft Visual 2010, i get an error with the Worldserver and authserver .rc files.. This error tells me that there is a numeric value missing and is expected to be there. Please fix this. Screeny for you to see. The link is: http://postimage.org/image/1vwvlsvr8 Link to comment Share on other sites More sharing options...
Micha Posted August 5, 2011 Report Share Posted August 5, 2011 Did you rerun cmake and cleaned up your build? Link to comment Share on other sites More sharing options...
08keelr Posted August 5, 2011 Report Share Posted August 5, 2011 Did you rerun cmake and cleaned up your build? Yea, i got the git from scratch, worked fully with Cmake, then when i try to compile it, i clean it first, then build it and the clean works but the build gives me that error.. Link to comment Share on other sites More sharing options...
Athena Posted August 5, 2011 Report Share Posted August 5, 2011 I answered you on your other topic. I will close this one because the problem is related. Link to comment Share on other sites More sharing options...
Eyo< Posted August 5, 2011 Report Share Posted August 5, 2011 this is the error 4>game.lib(ScriptLoader.obj) : error LNK2019: unresolved external symbol "void __cdecl AddSC_my_script(void)" (?AddSC_my_script@@YAXXZ) referenced in function "void __cdecl AddCustomScripts(void)" (?AddCustomScripts@@YAXXZ) 4>C:\Users\User\Desktop\build\bin\Release\worldserver.exe : fatal error LNK1120: 1 unresolved externals 5>------ Build started: Project: ALL_BUILD, Configuration: Release Win32 ------ 5> Build all projects 6>------ Skipped Build: Project: INSTALL, Configuration: Release Win32 ------ 6>Project not selected to build for this solution configuration ========== Build: 4 succeeded, 1 failed, 9 up-to-date, 1 skipped ========== How can i fix it ? :X Link to comment Share on other sites More sharing options...
Recommended Posts