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