Creating a DLL for 64-bit Error

Hello Everyone,

I’m having a compile error while trying to change to 64 bit for my DLL. I’m using Visual Studios 2010.

Do anyone know how to fix this?

Error 3 error C1083: Cannot open include file: ‘crtdefs.h’: No such file or directory c:\program files\nvidia gpu computing toolkit\cuda\v4.0\include\host_config.h 144

I’m trying to compile this on a 32-bit machine so I’m not even sure if this is possible.

also I’ve tried running my previous DLL, compiled to 32-bit and it won’t detect it on my other 64-bit machine. It works if it is another 32-bit.

Thank you.
previous question:

Update: looks like I’ve manage to get the 32-bit Dll to work on my 64-bit. I ended up going back to a previous revision. it was calling for another cudart_32_ dll that I Didn’t show up. I must have set the configuration wrong while trying to build it in the 64-bit setting. I still need to know what I need to do for getting the 64-bit to compile.