求助![求助]

我在编译DEBUG365出现下面的错误,咋回事呀~我是新手还请多指教!

EBUG365.OBJ : error LNK2001: unresolved external symbol _CH365mCloseDevice@4 DEBUG365.OBJ : error LNK2001: unresolved external symbol _CH365mOpenDevice@12 DEBUG365.OBJ : error LNK2001: unresolved external symbol _CH365mWriteIoDword@12 DEBUG365.OBJ : error LNK2001: unresolved external symbol _CH365mReadIoDword@12 DEBUG365.OBJ : error LNK2001: unresolved external symbol _CH365mWriteIoWord@12 DEBUG365.OBJ : error LNK2001: unresolved external symbol _CH365mReadIoWord@12 DEBUG365.OBJ : error LNK2001: unresolved external symbol _CH365mWriteIoByte@12 DEBUG365.OBJ : error LNK2001: unresolved external symbol _CH365mReadIoByte@12 DEBUG365.OBJ : error LNK2001: unresolved external symbol _CH365GetMemBaseAddr@4 DEBUG365.OBJ : error LNK2001: unresolved external symbol _CH365mGetIoBaseAddr@8 DEBUG365.OBJ : error LNK2001: unresolved external symbol _CH365mGetIntLine@8 DEBUG365.OBJ : error LNK2001: unresolved external symbol _CH365mWriteMemDword@12 DEBUG365.OBJ : error LNK2001: unresolved external symbol _CH365mReadMemDword@12 DEBUG365.OBJ : error LNK2001: unresolved external symbol _CH365mWriteMemByte@12 ……[/Emot]

现在是这个错误了:

LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/DEBUG365.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.

搞不懂了,帮忙亚~


you20054299104.jpg

如图所示,在菜单的“工程”下拉菜单中单击“设置”,出现如下图所示界面: you200542991211.jpg 把CH365DLL.LIB添加到LINK选项卡的“对象/库模块”中,并按确定 这样便把库链接到工程中了


谢谢!已解决!


只有登录才能回复,可以选择微信账号登录