Solve fatal error: helper_math.h: No such file or directory


 

When the 'fatal error: helper_math.h: No such file or directory' occurs, it means the 'helper_math.h' file is missing.

In fact, 'helper_math.h' locates at '/usr/local/cuda/samples/common/inc/helper_math.h' if you've installed cuda successfully, so just copy the missing file to where the error occurs.

 

cp /usr/local/cuda/samples/common/inc/helper_math.h [Where the error occurs]

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM