Jump to content
TrinityCore

08keelr

Members
  • Posts

    28
  • Joined

  • Last visited

Posts posted by 08keelr

  1. +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.

  2. 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.

  3. 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.

×
×
  • Create New...