Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: Compiling on OSX 10.9

$
0
0
Hello,

After cloning the git repository (under my home folder), I did:

make all

which went well with no errors. However when I try to compile the samples, I get the following error:
make samples
...
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[1]: *** [/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'
make samples
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)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
)

Any hint/input is appreciated.

Thanks

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>