linker problem with libstdc++.so.6 in connection with cuda

僤鯓⒐⒋嵵緔 提交于 2019-12-05 13:33:14

adding

-L/usr/lib64 -lstdc++

to my makefile/commandlineparameters fixed it.

bckohan

You could also use g++ instead of gcc. This will automatically link against stdc++ without you having to specify it explicitly.

What is the difference between g++ and gcc?

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!