一个程序调试时老是出现下面的错误,那位大侠指教一下,怎么解决?Deleting intermediate files and output files for project 'mysend - Win32 Debug'.
--------------------Configuration: mysend - Win32 Debug--------------------
Compiling...
mysend.cpp
Linking...
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
mysend.obj : error LNK2001: unresolved external symbol _Netbios@4
mysend.obj : error LNK2001: unresolved external symbol "public: __thiscall CSendDlg::CSendDlg(class CWnd *)" (??0CSendDlg@@QAE@PAVCWnd@@@Z)
libcmtd.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/mysend.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.mysend.exe - 4 error(s), 1 warning(s)
--------------------Configuration: mysend - Win32 Debug--------------------
Compiling...
mysend.cpp
Linking...
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
mysend.obj : error LNK2001: unresolved external symbol _Netbios@4
mysend.obj : error LNK2001: unresolved external symbol "public: __thiscall CSendDlg::CSendDlg(class CWnd *)" (??0CSendDlg@@QAE@PAVCWnd@@@Z)
libcmtd.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/mysend.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.mysend.exe - 4 error(s), 1 warning(s)
Netapi32.lib
如果是Win32 Application
subsystem:windows
2,工程类型不对
Compiling...
Error spawning cl.exeMySend.exe - 1 error(s), 0 warning(s)
我在VC环境下找到了这个cl.exe,把它拷贝到应用程序目录下,可还是不行:-(,怎么办才好呢?我已给帖子又追加了20分,诸位帮帮忙吧,菜鸟线谢过了!
[Microsoft Visual Studio安装目录]\Common\MSDev98\Bin
[Microsoft Visual Studio安装目录]\VC98\BIN 等
不用考处理,因为不单单需要cl.exe,还有VCSPAWN.EXE
--------------------Configuration: MySend - Win32 Debug--------------------
Compiling...
Error spawning cl.exeMySend.exe - 1 error(s), 0 warning(s)上边这位高手麻烦你说的再详细点,怎么样才能正常运行!谢谢