nvlink fatal : Could not find fatten in 'source.o'

Hi, I’m using Mac and trying to use cuda.

i setup cuda 7.0 and xcode 6.2 , command line tool

deviceQuery and other checking programs are right. and other samples are easily compiled.

but my prof’s program doesn’t compiled…

when i compile in 3_imaging/myprogram there are error like this

-nvlink fatal : Could not find fatten in ‘my source.o’
-nvlink fatal : elfLink internal error
make: *** [myprogram] Error 1

when i compile in sample using make all ./3_Imaging/myprogram

-make[1]: Nothing to be done for all'. -make[1]: *** No rule to make target 3_Imaging/airwc50/’. Stop.
-make: *** [0_Simple/asyncAPI/Makefile.ph_build] Error 2

How can i fix it…

it is working good 0_Simple/asyncAPI/asyncAPI

Thanks .

Trying to drop your own program into the sample structure and then using the samples makefile to try and build it is probably not a good idea.

Figure out what nvcc commands are needed to compile and link your program, and use those directly.