1>------ Build started: Project: SigmaTel, Configuration: Debug Win32 ------
1>Linking...
1>   Creating library E:\Python_DM\dm_29xx\SigmaTel_29\Debug\SigmaTel.lib and object E:\Python_DM\dm_29xx\SigmaTel_29\Debug\SigmaTel.exp
1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
1>E:\Python_DM\dm_29xx\SigmaTel_29\Debug\SigmaTel.exe : fatal error LNK1120: 1 unresolved externals
1>Build log was saved at "file://e:\Python_DM\dm_29xx\SigmaTel_29\Debug\BuildLog.htm"
1>SigmaTel - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========原因:
我把项目的整个包换了个目录就出现这个问题
该项目是个DLL工程
整个DLL工程里的文件都在这个文件包里
试Rebuild过无效

解决方案 »

  1.   

    Release模式编译:
    1>Linking...
    1>   Creating library E:\Python_DM\dm_29xx\SigmaTel_29\Release\SigmaTel.lib and object E:\Python_DM\dm_29xx\SigmaTel_29\Release\SigmaTel.exp
    1>Generating code
    1>Finished generating code
    1>Embedding manifest...
    1>Performing Post-Build Event...
    1>copy /y "Release\SigmaTel.dll" ..\pyDM\.
    1>系统找不到指定的路径。
    1>已复制         0 个文件。
    1>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'.
    1>Build log was saved at "file://e:\Python_DM\dm_29xx\SigmaTel_29\Release\BuildLog.htm"
    1>SigmaTel - 1 error(s), 0 warning(s)
    ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========