Jan 10, 2014 at 2:16 AM
Edited Jan 10, 2014 at 2:19 AM
After cloning the git repository (under my home folder), I did:
which went well with no errors. However when I try to compile the samples, I get the following error:
Compiling pplx/apple/pplxapple.cpp -> pplx/apple/pplxapple..o
Building library /libcasablanca.so
ld: can't open output file for writing '/libcasablanca.so.ld_Jq3zc8', errno=13 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/libcasablanca.so] Error 1
make: *** [src] Error 2
(Is build script really trying to save the library onto the root folder?!)
I tried a suggestion provided by people encountering the same linker error:
export ARCHFLAGS='-arch i386 -arch x86_64'
but that didn't help either!
(I am using the latest version of clang provided with Xcode:
$ clang --version
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Thread model: posix
Any hint/input is appreciated.