error LNK2001: unresolved external symbol __imp__cutCheckCmdLineFlag@12

[复制链接]
查看11 | 回复3 | 2010-3-1 02:16:08 | 显示全部楼层 |阅读模式
请问一下:
error LNK2001: unresolved external symbol __imp__cutCheckCmdLineFlag@12
这个错误是咋回事??
回复

使用道具 举报

千问 | 2010-3-1 02:16:08 | 显示全部楼层



回复

使用道具 举报

千问 | 2010-3-1 02:16:08 | 显示全部楼层
好像是要包含cutil.h头文件!
回复

使用道具 举报

千问 | 2010-3-1 02:16:08 | 显示全部楼层
cutCheckCmdLineflag() is defined in cutil32.lib or cutil32D.lib, and your error indicated that you did not pass cutil32.lib to your compilation command line.
ie,
nvcc.exe (for cuda programming) xxxx.c cutil32.lib
but your INCLUDE and LIB environment must be setup to the path as well.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行