Jump to content
TrinityCore

cmatija

Plebs
  • Posts

    3
  • Joined

  • Last visited

Posts posted by cmatija

  1. I made the visual studio project files with cmake, but when I start to compile them i get an error: "Please define WIN32 in your project settings." in multiple files. How can I "define win32" in the project files?



    Again, I've fixed a problem on my own, sorry for the inconvenience of posting useless threads.

     

    The solution was to add the "-DWIN32" to the command line additional properties of every project that had that error.

  2. Solved the problem (Yaaay! :))

     

    If anyone's interested in how I did it:

     

    CMake didn't recognize my VS 2010 compiler path (o.O). So I specified it manually, in my case it was: "C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/vcvarsall.bat". The same error still persisted but "The X compiler identification is unknown" error has been solved. I unchecked the use MySql Sources and it went through.

  3. Hello,

     

    I run CMake and the first time i "generate" the build files, it has loads of errors, but the second time it has only one:

     

    
    

     

    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)

     

    Also at the start of the cmake log there's:
    
    

     

    The C compiler identification is unknown
    The CXX compiler identification is unknown

     

    Although I've selected VS 2010, and I have VS 2010 Ultimate on my machine.

     

    Here's the full log:

     

     

     

     

    The C compiler identification is unknown 
    
    The CXX compiler identification is unknown 
    
    Detected 32-bit platform 
    
    Using supplied MySQL sources  
    
    MSVC: Enabled large address awareness  
    
    MSVC: Enabled SSE2 support  
    
    MSVC: Overloaded standard names 
    
    MSVC: Disabled NON-SECURE warnings  
    
    MSVC: Disabled POSIX warnings
    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)
     
    * TrinityCore rev. hash : Archived
    * TrinityCore rev. date : 0000-00-00 00:00:00 +0000
     
    * Install core to : C:/Program Files (x86)/TrinityCore
     
    * Build world/auth : Yes (default)
    * Build with scripts : Yes (default)
    * Build map/vmap tools : No (default)
    * Build core w/PCH : Yes (default)
    * Build scripts w/PCH : Yes (default)
    * Show compile-warnings : No (default)
    * Use coreside debug : No (default)
    * Use MySQL sourcetree : Yes (default)
     
    -- MySQL 5.5.9
    Check if the system is big endian
    Searching 16 bit integer
    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!

     

    
    [spoiler]
    
    
    Could anyone please help me?

     

    EDIT: The bbcode is glitching out for me o.O. Sorry for the bad formatting.

     

    Also it says that I'm on a 32bit platform, when in reality I'm on a 64bit one.

×
×
  • Create New...