I am quite new to coding and I am trying to build an example project of an openframework addon, called ofxReprojection. When I go:
cd /Users/Macbookpro/Documents/openframeworks/addons/ofxReprojection/example-ofxKinect
and then
make
I get this error:
ld: unknown option: -rpath=./libs
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [bin/example-ofxKinect] Error 1
make: *** [Release] Error 2
Macbooks-MacBook-Pro:example-ofxKinect Macbookpro$
I have Mac OS 10.7.5.
I hope someone can help, for the sake of art :)
Use a ,
instead of =
to pass arguments. Using =
is a GNU linker feature. For instance, use -Wl,-rpath,./libs
to set RPATH
.
From the clang
man
page:
If option contains commas, it is split into multiple options at the commas. You can use this syntax to pass an argument to the option.
I got similar error while compiling other source code on my Mac. After removing '=' from '-rpath', the compilation error is resolved.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With