Hi, I am completely new to CUDA but i downloaded the getting started on MAC OS guide found here
[url=“http://developer.nvidia.com/object/cuda_3_0_downloads.html”]http://developer.nvidia.com/object/cuda_3_0_downloads.html[/url]
after following all the instructions on how to install all the CUDA drivers and software, I am stuck on the step where it says “You should compile them all by changing to /Developer/GPU Computing/C and typing make.”
The terminal spits out the following error message. Any help about how to solve this problem would be much appreciated!
make -C src/3DFD/
ld: warning: in obj/i386/release/3dfd.cu.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /usr/local/cuda/lib/libcudart.dylib, file was built for i386 which is not the architecture being linked (x86_64)
Undefined symbols:
“_main”, referenced from:
start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** […/…/bin/darwin/release/3dfd] Error 1
make: *** [src/3DFD/Makefile.ph_build] Error 2
wpa063029:C mohammed$ make
make -C src/3DFD/
ld: warning: in obj/i386/release/3dfd.cu.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /usr/local/cuda/lib/libcudart.dylib, file was built for i386 which is not the architecture being linked (x86_64)
Undefined symbols:
“_main”, referenced from:
start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** […/…/bin/darwin/release/3dfd] Error 1
make: *** [src/3DFD/Makefile.ph_build] Error 2