cuda编译错误

来源:互联网 发布:网络金融部怎么样 编辑:程序博客网 时间:2024/05/17 23:16

error LNK2019: 无法解析的外部符号 cudaDeviceSynchronize
error LNK2019: 无法解析的外部符号 cudaConfigureCall
error LNK2019: 无法解析的外部符号 cudaSetupArgument
error LNK2019: 无法解析的外部符号 _cudaRegisterFatBinary
error LNK2019: 无法解析的外部符号 _cudaUnregisterFatBinary
error LNK2019: 无法解析的外部符号 _cudaRegisterFunction

解决:链接器-输入-附加依赖项-“cudart.lib”

原创粉丝点击