Aokromes Posted April 9, 2014 Report Share Posted April 9, 2014 You only can compile ACE on that way with ACE 6.0.3.Also you can use simply apt-get install libace-dev 1 Link to comment Share on other sites More sharing options...
Belitharian Posted April 13, 2014 Report Share Posted April 13, 2014 (edited) Hi!I'm trying since yesterday to compile TrinityCore in Debug (does not work in Release too). I let Visual Studio 2013 open all night but this morning the compilation was still blocked on the file wave.c... in deplibmpq project.I just get the following files: ace.dll ace.ilk ace.pdb authserver.conf.dist authserver.exe authserver.ilk authserver.pdb libmysql.dll libmysql.ilk libmysql.pdb vmap4assembler.exe vmap4assembler.ilk vmap4assembler.pdb worldserver.conf.dist worldserver.exe worldserver.ilk worldserver.pdb I tried to compile without TrinityTools for maps, vmaps, dbc and mmaps and it works, but if I do not have maps, etc : I can not start the server. mpq.log : http://pastebin.com/x0CH8DLm mpq.pdb : http://fbe.am/sby in ZiP file. Thank you for your response. I am at your disposal for further information. Edited April 13, 2014 by Belitharian Link to comment Share on other sites More sharing options...
whyamidead Posted April 14, 2014 Report Share Posted April 14, 2014 http://pastebin.com/0SHQdFh0 Oh, and don't call me an idiot. I don't have interest in hearing how much smarter you are than me. Thanks. :^) Link to comment Share on other sites More sharing options...
Belitharian Posted April 14, 2014 Report Share Posted April 14, 2014 (edited) The C compiler identification is unknown The CXX compiler identification is unknown I found it : http://cmake.3232098.n2.nabble.com/Visual-Studio-10-compiler-identification-unknown-td7585120.html Don't forget to clean your cMake Cache before rebuild. Maybe it could help you. PS : Have you solutions for my compilation problem? Edited April 14, 2014 by Belitharian Link to comment Share on other sites More sharing options...
Paradox Posted April 14, 2014 Report Share Posted April 14, 2014 Should we not tell birds they can fly? should we not tell dogs they bark too much? Link to comment Share on other sites More sharing options...
whyamidead Posted April 14, 2014 Report Share Posted April 14, 2014 The C compiler identification is unknown The CXX compiler identification is unknown I found it : http://cmake.3232098.n2.nabble.com/Visual-Studio-10-compiler-identification-unknown-td7585120.html Don't forget to clean your cMake Cache before rebuild. Maybe it could help you. PS : Have you solutions for my compilation problem? No dice, friend. Link to comment Share on other sites More sharing options...
smellbee Posted April 20, 2014 Report Share Posted April 20, 2014 I am about run trinity on a centos machine, and the system is centos 6.2 the compile process is as flows: -- The C compiler identification is GNU 4.7.2 -- The CXX compiler identification is GNU 4.7.2 -- Check for working C compiler: /usr/local/bin/cc -- Check for working C compiler: /usr/local/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/local/bin/c++ -- Check for working CXX compiler: /usr/local/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detected 64-bit platform -- UNIX: Using jemalloc -- UNIX: Configuring uninstall target -- UNIX: Created uninstall target -- UNIX: Detected compiler: /usr/local/bin/cc -- GCC: Enabled c++11 support -- GCC: Enabled C99 support -- GCC: SFMT enabled, SSE2 flags forced -- Found ACE library: /usr/local/lib/libACE.so -- Found ACE headers: /usr/local/include -- Found OpenSSL library: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so -- Found OpenSSL headers: /usr/include -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Using mysql-config: /usr/bin/mysql_config -- Found MySQL library: /usr/lib64/mysql/libmysqlclient.so -- Found MySQL headers: /usr/include/mysql -- Found Readline library: /usr/lib64/libreadline.so -- Include dir is: /usr/include -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.3") -- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.5") -- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so -- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so - found -- Found git binary : /usr/bin/git * TrinityCore revision : b717ce0edaf2+ 2014-04-07 09:56:06 +0200 (master branch) * TrinityCore buildtype : Release * Install core to : /home/trinity/server * Install libraries to : /home/trinity/server/lib * Install configs to : /home/trinity/server/conf * 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) * Show compile-warnings : No (default) * Use coreside debug : No (default) * Use GIT revision hash : Yes -- 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 -> Prepared: Events -> Prepared: Pet -- SCRIPT PREPARATION COMPLETE -- Configuring done -- Generating done -- Build files have been written to: /home/trinity/forcompile/build make -j 4 then it has errors as: Determining if the pthread_create exist failed with the following output: Change Dir: /home/trinity/forcompile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3516515598/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec3516515598.dir/build.make CMakeFiles/cmTryCompileExec3516515598.dir/build gmake[1]: Entering directory `/home/trinity/forcompile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake28 -E cmake_progress_report /home/trinity/forcompile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3516515598.dir/CheckSymbolExists.c.o /usr/local/bin/cc -std=gnu99 -o CMakeFiles/cmTryCompileExec3516515598.dir/CheckSymbolExists.c.o -c /home/trinity/forcompile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3516515598 /usr/bin/cmake28 -E cmake_link_script CMakeFiles/cmTryCompileExec3516515598.dir/link.txt --verbose=1 /usr/local/bin/cc -std=gnu99 CMakeFiles/cmTryCompileExec3516515598.dir/CheckSymbolExists.c.o -o cmTryCompileExec3516515598 -rdynamic CMakeFiles/cmTryCompileExec3516515598.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status gmake[1]: Leaving directory `/home/trinity/forcompile/build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTryCompileExec3516515598] Error 1 gmake: *** [cmTryCompileExec3516515598/fast] Error 2 File /home/trinity/forcompile/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <pthread.h> int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home/trinity/forcompile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2355673569/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec2355673569.dir/build.make CMakeFiles/cmTryCompileExec2355673569.dir/build gmake[1]: Entering directory `/home/trinity/forcompile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake28 -E cmake_progress_report /home/trinity/forcompile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2355673569.dir/CheckFunctionExists.c.o /usr/local/bin/cc -std=gnu99 -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec2355673569.dir/CheckFunctionExists.c.o -c /usr/share/cmake28/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2355673569 /usr/bin/cmake28 -E cmake_link_script CMakeFiles/cmTryCompileExec2355673569.dir/link.txt --verbose=1 /usr/local/bin/cc -std=gnu99 -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec2355673569.dir/CheckFunctionExists.c.o -o cmTryCompileExec2355673569 -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status gmake[1]: Leaving directory `/home/trinity/forcompile/build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTryCompileExec2355673569] Error 1 gmake: *** [cmTryCompileExec2355673569/fast] Error 2 if I compile without DTOOLS then this whole thing runs smooth without problem, however when I add -DTOOLS=1 , the error occurs, coould anyone give me some help on how to solve this. thanks! Link to comment Share on other sites More sharing options...
Frøøzen Posted April 21, 2014 Report Share Posted April 21, 2014 (edited) Hi ! I have restore my computer today and reinstalled all the software for build trinitycore but today CMake will not build the source. I have build with new sources from the trintycore repository and here's the CMake logs : http://pastebin.com/6c6NSb6h Configuration : Windows 8.1 CMake 2.8.12.2 Visual Studio 2012 Openssl 1.0.1g Edited April 21, 2014 by Frøøzen Link to comment Share on other sites More sharing options...
Paradox Posted April 21, 2014 Report Share Posted April 21, 2014 visual studio 2013 is required, afaik. Link to comment Share on other sites More sharing options...
Kapperjoe Posted April 21, 2014 Report Share Posted April 21, 2014 When i hit configure, and choose Visual Studio 10, and default native compilers, then it comes up with an error: Error in configuration process, project files may be invalid It's really annoying, and i cant find a fix for it, please help.. I've attached a screenshot. Link to comment Share on other sites More sharing options...
Kapperjoe Posted April 21, 2014 Report Share Posted April 21, 2014 When i hit configure, and choose Visual Studio 10, and default native compilers, then it comes up with an error: Error in configuration process, project files may be invalid It's really annoying, and i cant find a fix for it, please help.. I've attached a screenshot. Link to comment Share on other sites More sharing options...
Aokromes Posted April 21, 2014 Report Share Posted April 21, 2014 Stop creating new threads for cmake issues. use the existing thread for cmake issues (where your previous post is). Link to comment Share on other sites More sharing options...
Frøøzen Posted April 21, 2014 Report Share Posted April 21, 2014 (edited) visual studio 2013 is required, afaik. Same error with Visual Studio 2013 (I've choose Visual Studio 12 on CMake) CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process): execute_process given COMMAND argument with no value. Call Stack (most recent call first): C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR) C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:12 (project) The C compiler identification is unknown CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process): execute_process given COMMAND argument with no value. Call Stack (most recent call first): C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR) C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:12 (project) Configuration : Windows 8.1 CMake 2.8.12.2 Visual Studio 2012 - Visual Studio 2013 Openssl 1.0.1g Edited April 21, 2014 by Frøøzen Link to comment Share on other sites More sharing options...
CDawg Posted April 22, 2014 Report Share Posted April 22, 2014 Hey Smellbee, What version of g++ & gcc & cmake are you running? I haven't compiled on my CentOS box for quite some time and will try it out since TC changed the cmake configuration to allow newer compilers. Also something that I noticed before you ran anything... -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found Link to comment Share on other sites More sharing options...
smellbee Posted April 24, 2014 Report Share Posted April 24, 2014 Hey Smellbee, What version of g++ & gcc & cmake are you running? I haven't compiled on my CentOS box for quite some time and will try it out since TC changed the cmake configuration to allow newer compilers. Also something that I noticed before you ran anything... -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found gcc is 4.7.2 , you can see in my previous post as: -- The C compiler identification is GNU 4.7.2 -- The CXX compiler identification is GNU 4.7.2 cmake : 2.8 I think pthread is there, and you can see it as : -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found it found pthread in pthread I dont know what is wrong Link to comment Share on other sites More sharing options...
Frøøzen Posted April 28, 2014 Report Share Posted April 28, 2014 Hello, I just would know how i can build TrinityCore on windows 7 because he require Visual Studio 2013 and VS 2013 is juste available on Win 8 Help me Link to comment Share on other sites More sharing options...
Paradox Posted April 28, 2014 Report Share Posted April 28, 2014 Install the proper version... http://stackoverflow.com/questions/20516271/install-visual-studio-2013-on-windows-7 Link to comment Share on other sites More sharing options...
Rochet2 Posted April 28, 2014 Report Share Posted April 28, 2014 Express for Windows Desktop that is Link to comment Share on other sites More sharing options...
Frøøzen Posted April 29, 2014 Report Share Posted April 29, 2014 Yep ! I have install all the software (cmake 2.8.12, VS 2013, openssl, etc..) but when I try to build the solution, I have a cmake error : "The C compiler identification is unknow"... WTF ? Link to comment Share on other sites More sharing options...
Rochet2 Posted April 29, 2014 Report Share Posted April 29, 2014 Delete cmake cache maybe and retry? Link to comment Share on other sites More sharing options...
Frøøzen Posted April 29, 2014 Report Share Posted April 29, 2014 Nop... doesn't work CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process): execute_process given COMMAND argument with no value. Call Stack (most recent call first): C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR) C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:12 (project) The C compiler identification is unknown CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process): execute_process given COMMAND argument with no value. Call Stack (most recent call first): C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR) C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:12 (project) The CXX compiler identification is unknown Link to comment Share on other sites More sharing options...
Rochet2 Posted April 29, 2014 Report Share Posted April 29, 2014 and which compiler did you choose in Cmake? Link to comment Share on other sites More sharing options...
Frøøzen Posted April 29, 2014 Report Share Posted April 29, 2014 (edited) Visual Studio 12 (Visual Studio 2013) Configuration : Windows 7 (64bits) Visual Studio 2013 CMake 2.8.12 (32bits) GitExtension (2.47.03) > GitVersion 1.8.3 > KDiff3 .NET Framework 4.5 and 4.5.1 (+ SDK) Visual C++ 2008 (x86) Visual C++ 2010 (x86 & x64) Visual C++ 2012 (x86 & x64) Openssl 1.0.1g (32bits) Microsoft Windows SDK for Windows 7(7.1) Microsoft Visual C++ Compilers 2010 SP1 (x86 & x64) WampServer 2.4 Edited April 29, 2014 by Frøøzen Link to comment Share on other sites More sharing options...
Rochet2 Posted April 29, 2014 Report Share Posted April 29, 2014 Try this? http://stackoverflow.com/questions/20632860/the-cxx-compiler-identification-is-unknown Link to comment Share on other sites More sharing options...
Frøøzen Posted April 29, 2014 Report Share Posted April 29, 2014 (edited) Doesn't work with CMake 2.8.11.2, and the others older versions doesn't build with Visual Studio 12 What is your configuration ? Can you try to compile the basics sources with your configuration ? Edited April 29, 2014 by Frøøzen Link to comment Share on other sites More sharing options...
Recommended Posts