acassiolink Posted January 11, 2011 Report Share Posted January 11, 2011 To compile on c++ will first need to have the solution, not you and gives error when removing Cmake solution. Please a bit of human intelligence. you can use the VS to make a solution.. Link to comment Share on other sites More sharing options...
Invalido Posted January 11, 2011 Report Share Posted January 11, 2011 you can use the VS to make a solution.. Explain how? Link to comment Share on other sites More sharing options...
Shauren Posted January 11, 2011 Report Share Posted January 11, 2011 Explain how? manually, rofl Link to comment Share on other sites More sharing options...
Jacky Posted January 12, 2011 Report Share Posted January 12, 2011 (edited) I solved this problem by choosing git/bin/git.exe file in CMake Edited January 12, 2011 by Jacky Link to comment Share on other sites More sharing options...
ipreferpapaya Posted January 13, 2011 Report Share Posted January 13, 2011 No patches, nothing fancy. I ran "hg pull" then "hg update." I run "hg summary," which tells me "parent: 10868:2279a6653bea tip" I use this command for cmake: cmake ../ -GXcode \ -DMYSQL_ADD_INCLUDE_PATH=/usr/local/mysql \ -DREADLINE_INCLUDE_DIR=/opt/local/include \ -DREADLINE_LIBRARY=/opt/local/lib/libreadline.dylib \ -DACE_INCLUDE_DIR=/opt/local/include \ -DACE_LIBRARY=/opt/local/lib/libACE.a \ -DPREFIX=/opt/trinitycore \ -DWARNINGS=0 and then open the xcode solution and type command-B to compile. After a few minutes we've got an error: File:source/trinitycore/src/server/authserver/Main.cpp Line 101: sLog->outString("%s (realm-daemon)", _FULLVERSION); Error: expected `)' before 'Debug' I suspect this might be the dreaded gd3 bug... I know someone on the gd3 should fix this "soon" , but until then is there something I can hack together that will make TC compile? I love this project, and I want to keep using it... Link to comment Share on other sites More sharing options...
Joy Posted January 13, 2011 Author Report Share Posted January 13, 2011 I've asked this in another thread before. This can be solved there, but when you come to G3D issue it won't let you go. Link to comment Share on other sites More sharing options...
maximt Posted January 13, 2011 Report Share Posted January 13, 2011 compile trinity on mandriva 2009.0, gcc 4.3.2 have error CMakeFiles/authserver.dir/Realms/RealmList.cpp.o: In function `RealmList::UpdateRealms(bool)': RealmList.cpp:(.text+0xfb5): undefined reference to `__sync_fetch_and_sub_4' I know that can be solved by cpp flag -march=i686 trying cmake ../ -DCMAKE_C_FLAGS="-O3 -pipe" -DCMAKE_CXX_FLAGS="${CMAKE_C_FLAGS} -march=i686" -DDO_RA=1 -DLARGE_CELL=1 -DPREFIX=~/release but that is not working Link to comment Share on other sites More sharing options...
Belfast Posted January 13, 2011 Report Share Posted January 13, 2011 hello, try this, hope it works cmake ../trinitycore/ -DPREFIX=/home/<usernam>/server -DSQL=1 -DTOOLS=1 -Wno-dev Link to comment Share on other sites More sharing options...
Paradox Posted January 13, 2011 Report Share Posted January 13, 2011 I assume the hack for this is still on the wiki in the mac install guide. Link to comment Share on other sites More sharing options...
maximt Posted January 13, 2011 Report Share Posted January 13, 2011 no.. Link to comment Share on other sites More sharing options...
ipreferpapaya Posted January 14, 2011 Report Share Posted January 14, 2011 I assume the hack for this is still on the wiki in the mac install guide. I'll take a look. I also missed the part where the repo switched over to git. I switched over and am now on commit 8d59953f9372c6876e0cd8078b44de6893082cbe. (How do I get the version number from git? I think this commit is version 11009, but I'm not 100% sure). Interestingly, my build still fails, but I get a different error: ~/source/TrinityCore/build/src/server/worldserver/Debug/worldserver Undefined symbols: "_Gestalt", referenced from: G3D::System::init() in libg3dlib.a(System.o) G3D::System::init() in libg3dlib.a(System.o) (maybe you meant: typeinfo name for ACE_Intrusive_Auto_Ptr<ACE_Service_Gestalt>, ld: symbol(s) not found collect2: ld returned 1 exit status This is definitely the dreaded G3D bug. I'll try applying my trusty mac patch now, and see if it builds. diff -r cbe929b901f8 dep/g3dlite/include/G3D/platform.h --- a/dep/g3dlite/include/G3D/platform.h Wed Aug 25 23:21:53 2010 +0300 +++ b/dep/g3dlite/include/G3D/platform.h Thu Aug 26 02:14:42 2010 +0200 @@ -51,7 +51,7 @@ #elif defined(__linux__) #define G3D_LINUX #elif defined(__APPLE__) - #define G3D_OSX + #define G3D_LINUX Link to comment Share on other sites More sharing options...
ipreferpapaya Posted January 14, 2011 Report Share Posted January 14, 2011 (edited) alright, the version I had from git builds, after applying the mac patch. Wahoo! Edited January 14, 2011 by ipreferpapaya Link to comment Share on other sites More sharing options...
Spring Posted January 19, 2011 Report Share Posted January 19, 2011 (edited) Hello I have the following problem when compiling the core ( The logs is in the attachement of the topic ) The results of this solution are 13 corrects 2 failed etc etc. The failed are the Authserver and worldserver I use Win7/x32, OpenSSL 1.0.0c, Cmake 2.6, GIT installed, Net 4.0, Visual 2009 Hopefully someone can help me .. thank you very much PD: Sorry for my englishBuildLogWorld.htmBuildLoglogin.htm Edited January 19, 2011 by Spring Link to comment Share on other sites More sharing options...
Paradox Posted January 20, 2011 Report Share Posted January 20, 2011 try a full rebuild, something is not being rebuilt properly. Link to comment Share on other sites More sharing options...
Spring Posted January 20, 2011 Report Share Posted January 20, 2011 still the problem, Any other ideas? Link to comment Share on other sites More sharing options...
Krill Posted January 20, 2011 Report Share Posted January 20, 2011 I had this problem to. I was compiling on a friends computer over Team-viewer. He runs on Win7 64bit and would get this same exact error.. How ever i run on Win Vista 32 bit and it compiles perfectly. Link to comment Share on other sites More sharing options...
Spring Posted January 20, 2011 Report Share Posted January 20, 2011 Help me plis i don't have any idea what is the problem Link to comment Share on other sites More sharing options...
Shadow Posted January 21, 2011 Report Share Posted January 21, 2011 (edited) Quite a simple request if anyone would do the honour. My PC cannot compile: https://triniguard.googlecode.com/hg and I was wonding if someone could compile it and upload it and share it here Thanks. Edited January 21, 2011 by Shadow Link to comment Share on other sites More sharing options...
MegaBlue Posted January 21, 2011 Report Share Posted January 21, 2011 404 Not Found No such file or directory. Link to comment Share on other sites More sharing options...
Shadow Posted January 21, 2011 Report Share Posted January 21, 2011 Sorry: https://triniguard.googlecode.com/hg Link to comment Share on other sites More sharing options...
Zze Posted January 22, 2011 Report Share Posted January 22, 2011 http://www.mediafire.com/file/ik6a8bswwj4k2ih/Release.rar 2 Link to comment Share on other sites More sharing options...
Paradox Posted January 22, 2011 Report Share Posted January 22, 2011 That's a pretty sad PC if it can't handle Visual Basic, available from microsoft.com for absolutely no money whatsoever. 1 Link to comment Share on other sites More sharing options...
Shadow Posted January 22, 2011 Report Share Posted January 22, 2011 http://www.mediafire.com/file/ik6a8bswwj4k2ih/Release.rar Thank you. + rep. Link to comment Share on other sites More sharing options...
Paradox Posted January 22, 2011 Report Share Posted January 22, 2011 Who ever this gregarious person is, I don't know what it is you think I have done to you, since you are too cowardly to confront me directly, but, stop negative repping me for no reason. 3 Link to comment Share on other sites More sharing options...
Zze Posted January 22, 2011 Report Share Posted January 22, 2011 Thank you. + rep. your welcome Link to comment Share on other sites More sharing options...
Recommended Posts