Jump to content
TrinityCore

epicblood

Members
  • Posts

    27
  • Joined

  • Last visited

Posts posted by epicblood

  1. What patch are you trying to apply?

    I have tried both the patches provided in the wiki

    the latest of which I posted in the topic

    
    diff -r 1ca0c2d9d6ca cmake/compiler/xcode/settings.cmake
    
    --- a/cmake/compiler/xcode/settings.cmake       Sun Oct 17 03:09:01 2010 +0200
    
    +++ b/cmake/compiler/xcode/settings.cmake       Tue Oct 19 02:18:07 2010 +0200
    
    @@ -1,3 +1,2 @@
    
     # Set build-directive (used in core to tell which buildtype we used)
    
     add_definitions(-D_BUILD_DIRECTIVE="$(CONFIGURATION)")
    
    -
    
    diff -r 1ca0c2d9d6ca cmake/platform/osx/settings.cmake
    
    --- a/cmake/platform/osx/settings.cmake Sun Oct 17 03:09:01 2010 +0200
    
    +++ b/cmake/platform/osx/settings.cmake Tue Oct 19 02:18:07 2010 +0200
    
    @@ -27,3 +27,5 @@
    
       "${CMAKE_COMMAND}" -P "${CMAKE_BINARY_DIR}/cmake_uninstall.cmake"
    
     )
    
     message(STATUS "OSX: Created uninstall target")
    
    +
    
    +include(${CMAKE_SOURCE_DIR}/cmake/compiler/xcode/settings.cmake)
    
    
    diff -r cbe929b901f8 dep/g3dlite/include/G3D/platform.h
    
    --- a/dep/g3dlite/include/G3D/platform.h        Wed Aug 25 23:21:53 2010 +0300
    
    +++ b/dep/g3dlite/include/G3D/platform.h        Thu Aug 26 02:14:42 2010 +0200
    
    @@ -51,7 +51,7 @@
    
     #elif defined(__linux__)
    
            #define G3D_LINUX
    
     #elif defined(__APPLE__)
    
    -       #define G3D_OSX
    
    +       #define G3D_LINUX
    
    

  2. hey,

    I am running Mac OSX Snow Leopard 10.6.8

    I am trying to use trinitcore Hash "872c2d4d6386+"

    I was following the wiki to the letter, and tried applying the patch which gave me

    
    Patching file cmake/compiler/xcode/settings.cmake
    
    Hunk #1 succceeded at 1 with fuzz 2.
    
    patching file cmake/platform/osx/settings.cmake
    
    patching file dep/g3dlite/include/G3D/platform.h
    
    patch unexpectedly ends in the middle of line
    
    patch: **** unexpected end of file in patch
    
    
    I am using this patch
    
    diff -r 1ca0c2d9d6ca cmake/compiler/xcode/settings.cmake
    
    --- a/cmake/compiler/xcode/settings.cmake       Sun Oct 17 03:09:01 2010 +0200
    
    +++ b/cmake/compiler/xcode/settings.cmake       Tue Oct 19 02:18:07 2010 +0200
    
    @@ -1,3 +1,2 @@
    
     # Set build-directive (used in core to tell which buildtype we used)
    
     add_definitions(-D_BUILD_DIRECTIVE="$(CONFIGURATION)")
    
    -
    
    diff -r 1ca0c2d9d6ca cmake/platform/osx/settings.cmake
    
    --- a/cmake/platform/osx/settings.cmake Sun Oct 17 03:09:01 2010 +0200
    
    +++ b/cmake/platform/osx/settings.cmake Tue Oct 19 02:18:07 2010 +0200
    
    @@ -27,3 +27,5 @@
    
       "${CMAKE_COMMAND}" -P "${CMAKE_BINARY_DIR}/cmake_uninstall.cmake"
    
     )
    
     message(STATUS "OSX: Created uninstall target")
    
    +
    
    +include(${CMAKE_SOURCE_DIR}/cmake/compiler/xcode/settings.cmake)
    
    
    diff -r cbe929b901f8 dep/g3dlite/include/G3D/platform.h
    
    --- a/dep/g3dlite/include/G3D/platform.h        Wed Aug 25 23:21:53 2010 +0300
    
    +++ b/dep/g3dlite/include/G3D/platform.h        Thu Aug 26 02:14:42 2010 +0200
    
    @@ -51,7 +51,7 @@
    
     #elif defined(__linux__)
    
            #define G3D_LINUX
    
     #elif defined(__APPLE__)
    
    -       #define G3D_OSX
    
    +       #define G3D_LINUX
    
    
    so I decided that the error didn't seem too bad so i figured it might still compile (I know stupid but it was 3 am) but alas, Xcode gives me 46 warnings and 1 error
    
    BoundingIntervalHierarchy.cpp
    
       '*' was not declared in this scope
    
       'isnan' was not declared in this scope
    
    

  3. So I recently figured out that I seem to be unable to compile TrinityCore on my VPS as I get the error "Virtual memory exhausted: cannot allocate memory"

    I am running Cent OS 5

    I pulled the core 5 minutes ago on my VPS, didnt give me a revision so IDK

    grabbed from github

    all dependencys are installed correctly

    not exactly sure what their version is, but they are the latest for CentOS (when i try to update it says everything is up to date)

    I was following the wiki

    the database is correctly installed

    mysql is also up to date (again not sure exact version)

    using navicat 9.1.6

    mysql is running

    all ports are open

    I have no patches on core at present

×
×
  • Create New...