Energizer11 Posted December 8, 2012 Report Share Posted December 8, 2012 How not to debug version? Thanks Link to comment Share on other sites More sharing options...
Zaranthos Posted December 8, 2012 Report Share Posted December 8, 2012 Click the wiki link at the top of the forums and find the directions for your OS. Link to comment Share on other sites More sharing options...
Zze Posted December 8, 2012 Report Share Posted December 8, 2012 What compiler did you select from the window prompted my cmake after pressing 'configure'? What version of visual studio is installed? PS: could you be awesome, an use spoiler/code tags, next time. thanks. Link to comment Share on other sites More sharing options...
08keelr Posted December 9, 2012 Report Share Posted December 9, 2012 I am having this issue also. I have not used Cmake is DEBUG at all.. But when I try and configure it to Visual 10 / 8 (x64 for my system) it gives me a tonne of errors.. Here is one of them: CMake Error: Internal CMake error, TryCompile configure of cmake failed Check size of unsigned long - failed CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/TestBigEndian.cmake:44 (message): no suitable type found Call Stack (most recent call first): dep/mysqllite/configure.cmake:522 (TEST_BIG_ENDIAN) dep/mysqllite/CMakeLists.txt:48 (include) Configuring incomplete, errors occurred! AND CMake Error: Internal CMake error, TryCompile configure of cmake failed Looking for rint - not found Performing Test HAVE_ISINF CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCXXInformation.cmake:37 (get_filename_component): get_filename_component called with incorrect number of arguments Call Stack (most recent call first): CMakeLists.txt:3 (PROJECT) EDIT: Downscaling my Cmake version from 2.8.10 TO 2.6.4 - DIDN'T WORK. Link to comment Share on other sites More sharing options...
08keelr Posted December 9, 2012 Report Share Posted December 9, 2012 I am getting a real big problem with my Cmake.. I've reinstalled EVERYTHING, deleted the repo and re-cloned it.. ect, ect.. I have tried Visual C++ 2008 / 2010 and they both give same errors.. NOTE: WHEN I CONFIGURE THE 1ST TIME, IT GIVES ERROR.. THEN I UNTICK THE MYSQL SOURCES BOX AND IT GETS RID OF THE ERRORS, BUT STILL DOESN'T FULLY GENERATE. Here is the error:- http://pastebin.com/0VHMP5Lu I hope someone can help me with this, as I am really struggling to resolve it.. (I HAVE LOOKED ON THE FORUMS FOR SIMILAR ISSUES.. :S) Fixing my GITEXTENSIONS programme as I had not installed it correctly.. EDIT: DID NOT FIX. Link to comment Share on other sites More sharing options...
Aokromes Posted December 9, 2012 Report Share Posted December 9, 2012 You have one # on your cmake path when trying to compile. Removing it will fix it. Link to comment Share on other sites More sharing options...
08keelr Posted December 9, 2012 Report Share Posted December 9, 2012 You have one # on your cmake path when trying to compile. Removing it will fix it. Is this to me or Energizer? And my Cmake path? I don't have one when trying to configure / generate through Cmake. Link to comment Share on other sites More sharing options...
Zze Posted December 9, 2012 Report Share Posted December 9, 2012 WARNING - Missing or outdated git - did you forget to install a recent version? WARNING - Observe that for revision hash/date to work you need at least version 1.7 WARNING - Missing repository tags - you may need to pull tags with git fetch -t WARNING - Continuing anyway - note that the versionstring will be set to 0000-00-00 00:00:00 (Archived) this might be trying to tell you something.. just maybe Link to comment Share on other sites More sharing options...
08keelr Posted December 9, 2012 Report Share Posted December 9, 2012 this might be trying to tell you something.. just maybe Well i've tried the revision fix and it's not worked.. I'll look into it more. EDIT: GOT RID OF THOSE "WARNING'S", BUT STILL GET THE SAME ISSUE.. http://pastebin.com/rqpE7a67 Link to comment Share on other sites More sharing options...
Zze Posted December 9, 2012 Report Share Posted December 9, 2012 EDIT: GOT RID OF THOSE "WARNING'S", BUT STILL GET THE SAME ISSUE..http://pastebin.com/rqpE7a67The C compiler identification is unknown The CXX compiler identification is unknown Detected 32-bit platform What compiler did you select from the window prompted my cmake after pressing 'configure'?What version of visual studio is installed? Link to comment Share on other sites More sharing options...
08keelr Posted December 10, 2012 Report Share Posted December 10, 2012 The C compiler identification is unknown The CXX compiler identification is unknown Detected 32-bit platform I have visual C++ 2010 express with service pack 1.. I got the 2008 aswell... So you're asking I redownload them? Well i've done it, so i'll do it again.. -.-' Link to comment Share on other sites More sharing options...
Zze Posted December 10, 2012 Report Share Posted December 10, 2012 who said redownload? Link to comment Share on other sites More sharing options...
08keelr Posted December 10, 2012 Report Share Posted December 10, 2012 who said redownload? Right, well what do I do then? You need to add some sort of description / fix when you reply instead of making it just quotes. Link to comment Share on other sites More sharing options...
MrSmite Posted December 10, 2012 Report Share Posted December 10, 2012 +08keelr Did you actually specify the compiler or did you just click "use default native compilers"? I've found on my sytem (with both VS6 and VS9 installed) that doesn't work and I need to manually input them: 1. Delete your CMake cache (File -> Delete Cache) 2. Click "Configure" 3. On the dialog select "specify native compilers" 4. Click Next 5. In the box for "C" and "C++", browse to your C++ installation and select "CL.exe" 6. Click "Finish" 7. Select (or deselect) any options you want on the main screen 8. Click "Configure" 9. Cick "Configure" 10. Click "Generate" This shoud work with both VS9 and VS10. For whatever reason the "use default native compilers" option seems broken on some systems. The nice thing is when you rerun CMake later, the path you chose for CL.exe is saved so you can skip step #5 and just click "next". Link to comment Share on other sites More sharing options...
08keelr Posted December 10, 2012 Report Share Posted December 10, 2012 +08keelr Did you actually specify the compiler or did you just click "use default native compilers"? I've found on my sytem (with both VS6 and VS9 installed) that doesn't work and I need to manually input them: 1. Delete your CMake cache (File -> Delete Cache) 2. Click "Configure" 3. On the dialog select "specify native compilers" 4. Click Next 5. In the box for "C" and "C++", browse to your C++ installation and select "CL.exe" 6. Click "Finish" 7. Select (or deselect) any options you want on the main screen 8. Click "Configure" 9. Cick "Configure" 10. Click "Generate" This shoud work with both VS9 and VS10. For whatever reason the "use default native compilers" option seems broken on some systems. The nice thing is when you rerun CMake later, the path you chose for CL.exe is saved so you can skip step #5 and just click "next". Thanks a lot for that, I am going to test it once i've finished installing my Visual Studio. Link to comment Share on other sites More sharing options...
Zze Posted December 11, 2012 Report Share Posted December 11, 2012 3. On the dialog select "specify native compilers" 4. Click Next or select the Visual studio *Version *Proc platform (ex: Visual studio 8 Win32) http://www.trinitycore.info/How-to:Win#Configuring_and_Generating_Visual_C.2B.2B_solutions_with_CMake -> step 6 Link to comment Share on other sites More sharing options...
MrSmite Posted December 11, 2012 Report Share Posted December 11, 2012 or select the Visual studio *Version *Proc platform (ex: Visual studio 8 Win32) http://www.trinitycore.info/How-to:Win#Configuring_and_Generating_Visual_C.2B.2B_solutions_with_CMake -> step 6 Doesn't work for me. It still picks up my VS6 installation first and the CL.exe in that is way too old for VS9 projects. Link to comment Share on other sites More sharing options...
Paradox Posted December 11, 2012 Report Share Posted December 11, 2012 Yeah, I used to have this problem when I had an IDE based on VS for building WOW Addons (WOW Addon Studio) installed, it kept picking up the cl.exe from that, even though I clearly told it I was using the latest compiler at the time... Sounds like someone needs to open (or add on to, if already existing) an issue on the cmake bug tracker. Link to comment Share on other sites More sharing options...
DoxramosPS Posted December 11, 2012 Report Share Posted December 11, 2012 Same as Paradox I have the issue if I try to configure on my Windows Environment, so I'd say the issue may lie in WoW Addon Studio if you have that. Link to comment Share on other sites More sharing options...
Paradox Posted December 12, 2012 Report Share Posted December 12, 2012 The issue is either with CMake, and the way it finds the compiler components, or, your PATH variable needs to be reorganized, to be sure the newest version is found first. Link to comment Share on other sites More sharing options...
DoxramosPS Posted December 12, 2012 Report Share Posted December 12, 2012 My fix was to stop developing on Windows and maybe do some scripting on windows then push to my linux box and do all my development on linux. 1 Link to comment Share on other sites More sharing options...
kcking Posted December 14, 2012 Report Share Posted December 14, 2012 Hello all, I am trying to compile TrinityCore on MacOSX 10.8.2. I get a compilation error at 99% of the following: /Users/kking/ws/TrinityCore/src/tools/vmap4_extractor/vmapexport.cpp:472:9: fatal error: no matching function for call to 'mkdir' if (mkdir(szWorkDirWmo ^~~~~ /usr/include/sys/stat.h:434:5: note: candidate function not viable: requires 2 arguments, but 1 was provided int mkdir(const char *, mode_t); ^ 1 error generated. make[2]: *** [src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/vmapexport.cpp.o] Error 1 make[1]: *** [src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/all] Error 2 make: *** [all] Error 2 This seems like a problem with including the right sys headers, but I really am not sure. Does anyone have an idea on how to remedy this? Thanks so much in advance. I am excited to contribute to this awesome product. -Kevin Link to comment Share on other sites More sharing options...
kcking Posted December 14, 2012 Report Share Posted December 14, 2012 I was not compiling with -GXcode, but after adding this flag to cmake, I believe the problem has been fixed. Link to comment Share on other sites More sharing options...
myraje Posted January 5, 2013 Report Share Posted January 5, 2013 Hi, I have a problem whith compilation : (at 34%) make[2]: *** Pas de règle pour fabriquer la cible « /usr/lib/libssl.so », nécessaire pour « src/server/authserver/authserver ». Arrêt. make[1]: *** [src/server/authserver/CMakeFiles/authserver.dir/all] Erreur 2 make[1]: *** Attente des tâches non terminées.... What is the problem ? I use this line to make : cmake ../ -DPREFIX=/home/*********/Bureau/TrinityCoreBin make -j 2 regards Link to comment Share on other sites More sharing options...
locario Posted January 5, 2013 Report Share Posted January 5, 2013 What distro do you have? have you installed libssl before compile? Link to comment Share on other sites More sharing options...
Recommended Posts