Installing CUDA troubles

I have a mac book pro running snow leopard 10.6.6, with a 64-bit processor, and an nvidia 9400m gpu.

I have spent considerable time trying to get CUDA 3.2 installed and running on this machine. Everything seems to check out okay, until I need to navigate to “/Developer/GPU Computing/C/” where i enter “make” and I get the following error message:

a - obj/i386/release/bank_checker.cpp.o
a - obj/i386/release/cmd_arg_reader.cpp.o
a - obj/i386/release/cutil.cpp.o
a - obj/i386/release/stopwatch.cpp.o
a - obj/i386/release/stopwatch_linux.cpp.o
a - obj/i386/release/multithreading.cpp.o
a - obj/i386/release/paramgl.cpp.o
a - obj/i386/release/param.cpp.o
a - obj/i386/release/rendercheck_gl.cpp.o
make -C src/alignedTypes/
/usr/libexec/gcc/i686-apple-darwin10/4.0.1/ld: unknown flag: -rpath
collect2: ld returned 1 exit status
make[1]: *** […/…/bin/darwin/release/alignedTypes] Error 1
make: *** [src/alignedTypes/Makefile.ph_build] Error 2

If anyone has any ideas as to what is happening, so that I can get CUDA running on this mac, it would be much appreciated.

Hey try to make individual examples in the src folder and run them.

Good Day!

I am having the same problem while trying to compile the right from src, if I try to use make in the “C” directory it always stops on deviceQuery.

Any ideas what might be wrong?

I have solved it by installing the components in right order.

1)Install toolkit

2)Install CUDA driver

3)compile sdk