I've spent the whole day reading different things and I'm just not sure why it is creating an empty file. I'm still getting the same error messages even when using winemaker correctly.<br><br>shelnutt@Ubuntu32-L:~/wine/patches/cuda$ make<br>
winegcc -shared cuda.dll.spec -mno-cygwin -o <a href="http://cuda.dll.so">cuda.dll.so</a> cudart.o /usr/local/cuda/lib/libcudart.so.2.0 -lodbc32 -lole32 -loleaut32 -lwinspool -luuid -lcudart<br>gcc: /usr/local/cuda/lib/libcudart.so.2.0: linker input file unused because linking not done<br>
winebuild: libcudart.so.2-jP21n2.o is an empty file<br>winegcc: winebuild failed<br>make: *** [<a href="http://cuda.dll.so">cuda.dll.so</a>] Error 2<br><br>Can someone at least point me in the right direction? Google gives me nothing and I can't find anything about this.<br>
I know the linking part is just saying that there is no need to link in this file.<br><br>Now I thought it might be because I don't have a proper .res file as winemaker didn't set it up to build one. I used winebuild <br>
winebuild --dll -fPIC -o -spec -Ecuda.dll.spec<br><br>and now I the -spec file which has some interesting code but I have no clue what to do with it. I think I need to use wrc to compile a .res file but it wants a .res file as input.<br>
<br>My coding is good, now I'm just trying to figure out how to get wine to compile the damn thing.<br>