LINK : fatal error LNK1104: cannot open file ‚kernel32.lib‘
And I do not get the ptx obviously
Therefore I would like to know which is the proper way (this is valid also when I want to add any special option like -prec-div=true for more precise divisions for example…)
Although I can’t imagine why it should need the kernel32.lib, just a quick guess: It should be possible to pass the path to the lib as an additional argument
nvcc … -L"C:\Path\To\Kernel\Lib" …
If using one command to obtain the info, and the other command to create the PTX is not a feasilble option, I can try to reproduce the error later and see whether I find a solution.
[QUOTE=Marco13]Although I can’t imagine why it should need the kernel32.lib, just a quick guess: It should be possible to pass the path to the lib as an additional argument
nvcc … -L"C:\Path\To\Kernel\Lib" …
If using one command to obtain the info, and the other command to create the PTX is not a feasilble option, I can try to reproduce the error later and see whether I find a solution.[/QUOTE]
No, dont worry, it is totally feasible
I just care now how I can compile with some special options (like --prec-div=true)