Paradox Posted June 18, 2014 Report Share Posted June 18, 2014 See also "C:/Users/Premal/Desktop/Build/CMakeFiles/CMakeOutput.log". See also "C:/Users/Premal/Desktop/Build/CMakeFiles/CMakeError.log". what do these say, also, you aren't giving any info at all, is this win 7, 8, XP, Vista? exactly what versions of 2013 have you tried? (ARM is most likely not the one you need, as it is the CPU used in tablets and smart phones) if using 7, you need desktop, if using XP, I think you mightbe Shit out of luck, unless Desktop also works there. Link to comment Share on other sites More sharing options...
Sicarius Posted June 18, 2014 Report Share Posted June 18, 2014 I have windows 7, could you link me the version i am suppose to be using as i have different versions of it on my laptop but i have no idea which one i should be using. Also i use ARM by mistake i have been using the win64 versions mainly but i still get the same error. CMakeError: Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: Build flags: Id flags: The output was: The system cannot find the file specified Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: Build flags: Id flags: The output was: The system cannot find the file specified CMakeOutput: The system is: Windows - 6.1 - AMD64 Link to comment Share on other sites More sharing options...
CodeRus Posted June 20, 2014 Report Share Posted June 20, 2014 Hello, I ran into a problem when I went to use Cmake after I pulled the repo. Attached screenshot has both the error box and CMakeError shown. Sorry if this is an easy fix. Setup: just pulled from repo today (6/20/14) VS Ultimate 2012 Windows 7 on Core i7 processor CMake 3.0.0 If any more information is needed I will gladly give it! Thanks for your time! Link to comment Share on other sites More sharing options...
Paradox Posted June 20, 2014 Report Share Posted June 20, 2014 Maybe you should check out the required dependencies part of the wiki... VS Ultimate 2012 Especially this... Link to comment Share on other sites More sharing options...
CodeRus Posted June 21, 2014 Report Share Posted June 21, 2014 ok I feel like an idiot about that oversight but now it says that it can't find Open SSL even though I have the most recent version installed. I tried running CMake after reinstalling both 1.0.1h light and regular but it gives the same error: CMake Error at D:/CMake/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:136 (message): Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) Call Stack (most recent call first): D:/CMake/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE) cmake/macros/FindOpenSSL.cmake:176 (find_package_handle_standard_args) CMakeLists.txt:56 (find_package) Link to comment Share on other sites More sharing options...
Thugly Posted June 21, 2014 Report Share Posted June 21, 2014 Hi , The answer is in the error . (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) In Cmake check the tab that says advanced and check where Cmake is looking for the OpenSSL Libraries if it is not the location you have installed OpenSSL then change it to the correct Dir . example = C:OpenSSL-Win64/include This issue is common when you install Cmake or OpenSSL to directories other than C: without telling Cmake where to look for OpenSSL as default it will look at C: in less told other wise. I would suggest if you are a novice to compiling Trinity Core that you only use your C: drive to install all the required components and compiling as adding/changing directories will confuse you or cause errors like the issue you have . Link to comment Share on other sites More sharing options...
CodeRus Posted June 21, 2014 Report Share Posted June 21, 2014 Thank you, it's working now! Sorry for the dumb questions, I really appreciate your guys' help Link to comment Share on other sites More sharing options...
mitar95x Posted June 27, 2014 Report Share Posted June 27, 2014 Hello There. Can someone help me about this? http://prntscr.com/3ww9d0 - the picture Link to comment Share on other sites More sharing options...
Aokromes Posted June 27, 2014 Report Share Posted June 27, 2014 What's that unclear on logs? TC NEEDS Visual Studio 2013, no 2008. Link to comment Share on other sites More sharing options...
mitar95x Posted June 27, 2014 Report Share Posted June 27, 2014 (edited) Yep i know,but when i try with 2013 i get this http://prntscr.com/3x02gv - http://prntscr.com/3x0yxk - PICTURE Edited June 27, 2014 by mitar95x Link to comment Share on other sites More sharing options...
mitar95x Posted June 27, 2014 Report Share Posted June 27, 2014 I reinstaled the 2013 version and i got again but another error - - http://prntscr.com/3x0ydo - Pictures Link to comment Share on other sites More sharing options...
Paradox Posted June 27, 2014 Report Share Posted June 27, 2014 - Link to comment Share on other sites More sharing options...
mitar95x Posted June 27, 2014 Report Share Posted June 27, 2014 Yep, i instaled it xD http://prntscr.com/3x0zu9 alot of versions xD ... If you can give me the links and i will reinstal it again ... Link to comment Share on other sites More sharing options...
Warx Posted June 27, 2014 Report Share Posted June 27, 2014 (edited) cmake ../ -DPREFIX=/home/desktop/Escritorio/TrinityCore/src/server -DCONF_DIR=/home/desktop/Escritorio/TrinityCore/src/server/conf -DLIBSDIR=/home/desktop/Escritorio/TrinityCore/dep/lib -DTOOLS=1 -DWITH_WARNINGS=1 -- The CXX compiler identification is unknown CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Detected 64-bit platform -- UNIX: Using jemalloc -- UNIX: Configuring uninstall target -- UNIX: Created uninstall target -- UNIX: Detected compiler: /usr/bin/gcc CMake Error at cmake/compiler/gcc/settings.cmake:7 (message): GCC: TrinityCore requires version 4.7.2 to build but found Call Stack (most recent call first): cmake/platform/unix/settings.cmake:37 (include) cmake/macros/CheckPlatform.cmake:15 (include) CMakeLists.txt:48 (include) -- Configuring incomplete, errors occurred! Cmake 2.8.11 GCC 4.7.3 Edited June 27, 2014 by Fanatixwow Link to comment Share on other sites More sharing options...
Aokromes Posted June 27, 2014 Report Share Posted June 27, 2014 Cmake 2.8.11GCC 4.7.3Witch linux? 1 Link to comment Share on other sites More sharing options...
Warx Posted June 27, 2014 Report Share Posted June 27, 2014 Ubuntu Desktop 12.04 and x2go Dedicado Kimsufi de OVH Link to comment Share on other sites More sharing options...
mitar95x Posted June 27, 2014 Report Share Posted June 27, 2014 Maybe to help me? xD Link to comment Share on other sites More sharing options...
Thugly Posted June 27, 2014 Report Share Posted June 27, 2014 Hi mitar95x , Your error is simple "ITS IN RED AT THE BOTTOM OF CMAKE" Install Git correctly ! Follow the wiki guide it is there to help you . Also if the path is incorrect too because you used directories other than C: to install Git then check the "Advanced box" in Cmake and see where it is looking for the Git extensions . You would not have this issue if you had read the wiki , as it states the required software and setup , Please take time to read it ! Link to comment Share on other sites More sharing options...
MrSmite Posted June 27, 2014 Report Share Posted June 27, 2014 Having trouble getting CMake to recognize VS 2013 on Windows 7. Note: I have not had problems with VS9 or VS10 in the past... Installed VS 2013 Ultimate Ran "vcvarsall.bat" from VS install dir to set environment variables This actually doesn't seem to do anything so I ran vcvars32.bat directly which also seems to do nothing Installed CMake 3.0.0 Ran CMake Tools -> Configure "Visual Studio 12 2013" Use default native compilers Finish Got the following errors: The C compiler identification is unknown The CXX compiler identification is unknown CMake error log says it failed to compile a test program error LNK1181: cannot open input file 'kernel32.lib' CMake error log also has an error: MSB8003 - Could not find WindowsSDKDir in registry Cleared CMake cache and ran it again Tools -> Configure Visual Studio 12 2013 Specify native compilers Selected the VS 2103 "cl.exe" for both C and C++ Finish Got the same errors as before Checked Google Not very useful. Looked at similar topics about VS 2010 where it is mentioned that you need to run vcvars32.bat before installing CMake which I had done. Other posts say to run the IDE first (which I tried) and to uninstall / reinstall CMake which I did. Also no helpful information on the "WindowsSDKDir" error either Link to comment Share on other sites More sharing options...
MrSmite Posted June 28, 2014 Report Share Posted June 28, 2014 Well, I guess you need an internet connection while installing Visual Studio. I connected my computer to the internet and ran a repair of VS and after about 30 minutes it finished and rebooted. CMake now works properly. Link to comment Share on other sites More sharing options...
Aokromes Posted June 28, 2014 Report Share Posted June 28, 2014 Ubuntu Desktop 12.04 and x2goDedicado Kimsufi de OVHFor sure you have installed both one lower version of gcc and 4.7.3 i recommend you to update to Ubuntu 14. Link to comment Share on other sites More sharing options...
MrSmite Posted June 28, 2014 Report Share Posted June 28, 2014 I'm getting strange build errors trying to compile but the build continues anyway... Hash: c28345e279f31af2fa32df2411325ccfabe06fc8 CMake: 3.0.0 Git: Git-1.9.4-preview20140611 OS: Windows 7 Compiler: Visual Studio 2013 Ultimate Error: error MSB6006 "cmd.exe" exited with code 1 Note: This is repeated several times throughout the build process and is related to the following: CMake error at EnsureVersion.cmake:95 NORMALIZE_VERSION macro invoked with incorrect arguments CMake error at FindGit.cmake:42 Git was found but is OUTDATED you need at least version 1.7 CMake Configure step failed. Build files cannot be regenerated correctly Git version too old So is this a problem with the sources or with my installation? After cloning the repo, CMake worked fine to generate the source files. To test GIT, I created a branch and merged a dummy patch which was successful. Any advice? Edit: I looked in FindGit.cmake and saw this: hint git git.cmd Is it possible that this is failing because GIT stopped including git.cmd in 1.8? Link to comment Share on other sites More sharing options...
Aokromes Posted June 28, 2014 Report Share Posted June 28, 2014 I sugest you to stay on cmake 2.8.12 Link to comment Share on other sites More sharing options...
Paradox Posted June 28, 2014 Report Share Posted June 28, 2014 and, git 1.7? Link to comment Share on other sites More sharing options...
Warx Posted June 28, 2014 Report Share Posted June 28, 2014 (edited) For sure you have installed both one lower version of gcc and 4.7.3 i recommend you to update to Ubuntu 14. with version 4.8 should work Edited June 28, 2014 by Fanatixwow Link to comment Share on other sites More sharing options...
Recommended Posts