Re: [opensource-dev] Building viewer-release on OS X.

2013-10-04 Thread Cinder Biscuits
On 4 Oct 2013, at 9:45, Ash Qin wrote: >> Shouldn't need an environment variable. Xcodebuild is directed to use >> the system's llvm-gcc > > I had tried already without ccache (and a clean build directory). What > I hadn't tried though was not defining CXX and CC variables to LLVM. > > Surprising

Re: [opensource-dev] Building viewer-release on OS X.

2013-10-04 Thread Ash Qin
Just an update if anyone else is interested in using ccache on OS X. Replacing the symlinks used for compilers in /Applications/Xcode.app/Contents/Developer/usr/bin/ to the ccache binary was sufficient to use ccache. I will say that I am not very big on the whole replacing of system files instead

Re: [opensource-dev] Building viewer-release on OS X.

2013-10-04 Thread Ash Qin
> Shouldn't need an environment variable. Xcodebuild is directed to use the > system's llvm-gcc I had tried already without ccache (and a clean build directory). What I hadn't tried though was not defining CXX and CC variables to LLVM. Surprisingly, I am able to compile the viewer now despite th

Re: [opensource-dev] Building viewer-release on OS X.

2013-10-04 Thread Cinder Biscuits
On 4 Oct 2013, at 8:32, Ash Qin wrote: >> Did you install Command Line Tools with Xcode and CMake? > > Yes. > >> (from your logs) >> -- The C compiler identification is unknown >> -- The CXX compiler identification is unknown > > That's only because I defined the CC and CXX environment variables t

Re: [opensource-dev] Building viewer-release on OS X.

2013-10-04 Thread Ash Qin
> Did you install Command Line Tools with Xcode and CMake? Yes. > (from your logs) > -- The C compiler identification is unknown > -- The CXX compiler identification is unknown That's only because I defined the CC and CXX environment variables to use LLVM-GCC through ccache using: export CXX=/u

Re: [opensource-dev] Building viewer-release on OS X.

2013-10-04 Thread Cinder Biscuits
Building with Clang only works after a great deal of frustrating warnings clean up. On 4 Oct 2013, at 7:39, Mike Chase wrote: > On 10/04/2013 09:37 AM, Cinder Biscuits wrote: >> Did you install Command Line Tools with Xcode and CMake? >> >> (from your logs) >> -- The C compiler identification is

Re: [opensource-dev] Building viewer-release on OS X.

2013-10-04 Thread Mike Chase
On 10/04/2013 09:37 AM, Cinder Biscuits wrote: > Did you install Command Line Tools with Xcode and CMake? > > (from your logs) > -- The C compiler identification is unknown > -- The CXX compiler identification is unknown > > That's not good. :O > > (from my logs) > > -- The C compiler identificatio

Re: [opensource-dev] Building viewer-release on OS X.

2013-10-04 Thread Cinder Biscuits
Did you install Command Line Tools with Xcode and CMake? (from your logs) -- The C compiler identification is unknown -- The CXX compiler identification is unknown That's not good. :O (from my logs) -- The C compiler identification is Clang 4.2.0 -- The CXX compiler identification is Clang 4.2.