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:
http://forums.nvidia.com/index.php?showtopic=224013&st=0&p=1376335&#entry1376335

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.
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:

http://forums.nvidia.com/index.php?showtopic=224013&st=0&p=1376335&#entry1376335



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.

#1
Posted 04/02/2012 08:35 PM   
Scroll To Top