Windows install fix (try #2) - #47
Conversation
As before, I've modified the file by changing `CUDA_PATH` to `CUDA_PATH_V7_5` and pointed the library directories to the correct location. It might be worth checking out whether like on Windows, Linux also has `CUDA_PATH_V7_5` before accepting this fix.
|
Thanks for the patch! Sorry for the super late reply; busy weekend and start of the week... The linux boxes I have access to have neither @mwu-tow does the change to library directories look right to you? |
|
How about making |
|
Preferring It will also mean that the toolkit version the was installed as the last will be used by default but I don't think it is a big problem. Also, the latest released version is 8, not 7.5. The previous paths worked for me and my colleagues for quite a long time. I suspect that they must have been changed with Cuda 8 release. I can confirm that that Cuda 8 installation requires the proposed change. I'm not sure why your other Cuda installations (7.5 and below) also don't get recognized properly — perhaps Nvidia updated the older toolkits as well to follow the new structure? At the moment I believe the best approach would be to check both locations and use the directory that exists. |
I really do not understand this. It is unlikely that Nvidia would do this, and even more so as the Cuda 6.5 SDK which I installed over a year ago has the same directory structure. |
|
You are right, it is extremely unlikely. Still, the previous paths worked for me on many machines with Cuda 7 and 7.5 and I quite can't understand why we end up with different structures of Cuda Toolkit. I'd confirm the paths on my older installations but currently I'm sick — I'll have a look at this when I get to my workplace. For now you'll have to believe me that I did not make these paths up. ;-) |
|
I checked this, I was wrong here. The path in the Toolkit has always been where was replaced with The paths should be |
|
|
As before, I've modified the file by changing
CUDA_PATHtoCUDA_PATH_V7_5and pointed the library directories to the correct location. It might be worth checking out whether like on Windows, Linux also hasCUDA_PATH_V7_5before accepting this fix.