Installation Error

I am using MacOS 10.5.3, and I plan to install CUDA but failed. I am really appreciate any help here.

What I did is:

1). Install CUDA Toolkit

2). Reboot

3). Set up system variable:

export PATH=/usr/local/cuda/bin:$PATH

export DYLD_LIBRARY_PATH=/usr/local/cuda/lib:$DYLD_LIBRARY_PATH

4). Create an empty folder on my desktop, unpack CUDA SDK there, and enter the folder, type “make”.

I got error at step 4. Here is the error message:

q - obj/release/bank_checker.cpp_o

q - obj/release/cmd_arg_reader.cpp_o

q - obj/release/cutil.cpp_o

q - obj/release/stopwatch.cpp_o

q - obj/release/stopwatch_linux.cpp_o

q - obj/release/multithreading.cpp_o

q - obj/release/paramgl.cpp_o

q - obj/release/param.cpp_o

make -C projects/alignedTypes/

/usr/bin/ld: /usr/local/cuda/lib/libcuda.dylib load command 7 unknown cmd field

/usr/bin/ld: /usr/local/cuda/lib/libcudart.dylib load command 7 unknown cmd field

/usr/bin/ld: /System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib load command 7 unknown cmd field

/usr/bin/ld: /System/Library/Frameworks/OpenGL.framework/Libraries/libGLU.dylib load command 7 unknown cmd field

/usr/bin/ld: /usr/local/cuda/lib/libcuda.dylib load command 7 unknown cmd field

/usr/bin/ld: /usr/local/cuda/lib/libcudart.dylib load command 7 unknown cmd field

/usr/bin/ld: /System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib load command 7 unknown cmd field

/usr/bin/ld: /System/Library/Frameworks/OpenGL.framework/Libraries/libGLU.dylib load command 7 unknown cmd field

/usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/libstdc++.dylib load command 8 unknown cmd field

/usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/…/…/…/libSystem.dylib unknown flags (type) of section 6 (__TEXT,__literal16) in load command 0

/usr/bin/ld: /usr/lib/libSystem.B.dylib unknown flags (type) of section 6 (__TEXT,__literal16) in load command 0

collect2: ld returned 1 exit status

make[1]: *** […/…/bin/macosx/release/alignedTypes] Error 1

make: *** [projects/alignedTypes/Makefile.ph_build] Error 2

I had a very similar error (below) when I tried to make the CUDA 2.0 SDK. Turns out I had installed the XcodeTools when my Mac was running Tiger (10.4) and I hadn’t re-installed after I’d upgraded to Leopard (10.5). Putting the Leopard install disk in and running XcodeTools.mpkg from the Optional Installs > Xcode Tools directory did the trick for me.

Cheers

============================================

CUDA$ make

q - obj/release/bank_checker.cpp_o

q - obj/release/cmd_arg_reader.cpp_o

q - obj/release/cutil.cpp_o

q - obj/release/stopwatch.cpp_o

q - obj/release/stopwatch_linux.cpp_o

q - obj/release/multithreading.cpp_o

q - obj/release/paramgl.cpp_o

q - obj/release/param.cpp_o

q - obj/release/rendercheck_gl.cpp_o

make -C projects/alignedTypes/

/usr/bin/ld: /usr/local/cuda/lib/libcudart.dylib load command 7 unknown cmd field

/usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/libstdc++.dylib load command 8 unknown cmd field

/usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/…/…/…/libSystem.dylib unknown flags (type) of section 6 (__TEXT,__literal16) in load command 0

/usr/bin/ld: /usr/lib/libSystem.B.dylib unknown flags (type) of section 6 (__TEXT,__literal16) in load command 0

collect2: ld returned 1 exit status

make[1]: *** […/…/bin/darwin/release/alignedTypes] Error 1

make: *** [projects/alignedTypes/Makefile.ph_build] Error 2

i have the same problem and also my BOINC cant load libcudart