Linking...
   Creating library ReleaseUMinDependency/TSPGAATL.lib and object ReleaseUMinDependency/TSPGAATL.exp
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
ReleaseUMinDependency/TSPGAATL.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.TSPGAATL.dll - 2 error(s), 0 warning(s)

解决方案 »

  1.   

    TSPGAATL.lib把它的.h文件include了没?
      

  2.   

    ReleaseUMinDependency是Unicode版本,改为非Unicode版看看
      

  3.   

    Windows子系统设置错误, 提示:libcmtd.lib(crt0.obj) : error LNK2001: unresolved external symbol _mainWindows项目要使用Windows子系统, 而不是Console, 可以这样设置:[Project] --> [Settings] --> 选择"Link"属性页,在Project Options中将/subsystem:console改成/subsystem:windows
      

  4.   

    我改了以后就成这样,急死我了!
    Linking...
    LINK : fatal error LNK1117: syntax error in option "subsystem:windows/dll/incremental:no"
    Error executing link.exe.
    我的project options里面的内容
    kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /incremental:no /pdb:"ReleaseUMinDependency/TSPGAATL.pdb" /machine:I386 /def:".\TSPGAATL.def" /out:"ReleaseUMinDependency/TSPGAATL.exe" /subsystem:windows/dll/incremental:no 
      

  5.   

    并且在别人的电脑中就能正确地运行,我晕倒了,我把别人的projcet options选项的内容拷贝到我的电脑里就不行了,是不是还有那个地方的错误,,!