nguyentantrung012 / orthanc

Automatically exported from code.google.com/p/orthanc
GNU General Public License v3.0
1 stars 0 forks source link

Building on OS X > 10.8 #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Few notes while building for OS X 10.10 Yosemite:

1. Clang > 3.4 needs a couple of patches to Boost 1.5.55 obtained from: 
https://trac.macports.org/ticket/42282#comment:9

2. GTest 1.6 won't compile on 10.10, so I've upgraded to 1.7 via:

--- a/Resources/CMake/GoogleTestConfiguration.cmake Mon Jul 28 13:31:35 2014 
+0200
+++ b/Resources/CMake/GoogleTestConfiguration.cmake Sun Aug 03 22:02:48 2014 
+1200
@@ -8,10 +8,10 @@
   endif()

 elseif (STATIC_BUILD OR NOT USE_SYSTEM_GOOGLE_TEST)
-  SET(GTEST_SOURCES_DIR ${CMAKE_BINARY_DIR}/gtest-1.6.0)
+  SET(GTEST_SOURCES_DIR ${CMAKE_BINARY_DIR}/gtest-1.7.0)
   DownloadPackage(
-    "4577b49f2973c90bf9ba69aa8166b786"
-    
"http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/gtest-1.6.
0.zip"
+    "2d6ec8ccdf5c46b05ba54a9fd1d130d7"
+    "https://googletest.googlecode.com/files/gtest-1.7.0.zip"
     "${GTEST_SOURCES_DIR}")

Hope this helps!

Original issue reported on code.google.com by ryanwalk...@gmail.com on 3 Aug 2014 at 10:13

GoogleCodeExporter commented 9 years ago
Thanks for reporting this problem! I will upgrade the mainline to use Google 
Test 1.7.0 and Boost 1.56.0 as soon as the latter is released (this release is 
planned for today).

Original comment by s.jodo...@gmail.com on 4 Aug 2014 at 9:57

GoogleCodeExporter commented 9 years ago
The mainline of Orthanc now uses Google Test 1.7.0. The patch reported by Ryan 
is included. I have not upgraded to Boost 1.56.0 yet, as there seems to be 
delays with the release.

Original comment by s.jodo...@gmail.com on 5 Aug 2014 at 2:22