Please use these instructions : Getting error "linker command failed with exit code 1 (use -v to see invocation)