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