Chriss-15-MacBook-Pro:orthanc-stone-build chafey$ cmake -GXcode -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12 -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON -DALLOW_DOWNLOADS=ON ../orthanc-stone
-- The C compiler identification is AppleClang 8.0.0.8000038
-- The CXX compiler identification is AppleClang 8.0.0.8000038
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/local/bin/python (found version "2.7.12")
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.1")
-- Looking for include file uuid/uuid.h
-- Looking for include file uuid/uuid.h - found
CMake Error at Resources/CMake/CairoConfiguration.cmake:209 (message):
Support your platform here
Call Stack (most recent call first):
Resources/CMake/OrthancStone.cmake:51 (include)
CMakeLists.txt:4 (include)
-- Configuring incomplete, errors occurred!
See also "/Users/chafey/srcc/orthanc-stone/orthanc-stone-build/CMakeFiles/CMakeOutput.log".
Here is the output: [...]
o /Users/chafey/srcc/orthanc-stone/orthanc-stone-build/OrthancStone.build/Debug/OrthancStone.build/Objects-normal/x86_64/SDL_dynapi.o
In file included from /Users/chafey/srcc/orthanc-stone/orthanc-stone-build/SDL2-2.0.4/src/dynapi/SDL_dynapi.c:31:
/Users/chafey/srcc/orthanc-stone/orthanc-stone-build/SDL2-2.0.4/include/SDL_syswm.h:72:10: fatal error:
'X11/Xlib.h' file not found
#include <X11/Xlib.h>
^
1 error generated.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/chafey/srcc/orthanc-stone/orthanc-stone-build/OrthancStone.build/Debug/OrthancStone.build/Objects-normal/x86_64/SDL_events.o /Users/chafey/srcc/orthanc-stone/orthanc-stone-build/SDL2-2.0.4/src/events/SDL_events.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
W1024 07:32:54.097577 IBasicApplication.cpp:210] URL to the Orthanc REST API: http://localhost:8042/
E1024 07:32:54.106630 MessagingToolbox.cpp:211] Cannot connect to your Orthanc server
E1024 07:32:54.106754 IBasicApplication.cpp:267] EXCEPTION: Error in the network protocol
Chriss-15-MacBook-Pro:debug chafey$ ./OrthancStoneTestPattern --username orthanc --password orthanc --verbose
W1024 08:42:07.891548 IBasicApplication.cpp:174] Initial display size: 1024x768
W1024 08:42:07.891630 IBasicApplication.cpp:179] OpenGL is enabled, disable it with option "--opengl=off" if the application crashes
W1024 08:42:07.891660 IBasicApplication.cpp:210] URL to the Orthanc REST API: http://localhost:8042/
I1024 08:42:07.895032 HttpClient.cpp:638] Error in HTTP request, received HTTP status 401 (Unauthorized)
E1024 08:42:07.895170 MessagingToolbox.cpp:211] Cannot connect to your Orthanc server
E1024 08:42:07.895200 IBasicApplication.cpp:267] EXCEPTION: Error in the network protocol