Error 1 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup LI
2017-09-26 22:11
1481 查看
Error 1
error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
LIBCMT.lib
Error 2
fatal error LNK1120: 1 unresolved externals
F:\study file\training\test1\Debug\test1.exe
解决办法:在头文件中加入#include <tchar.h>。
该问题一般针对win32 console application出现。
error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
LIBCMT.lib
Error 2
fatal error LNK1120: 1 unresolved externals
F:\study file\training\test1\Debug\test1.exe
解决办法:在头文件中加入#include <tchar.h>。
该问题一般针对win32 console application出现。
相关文章推荐
- error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup 2011.10.29
- Error 1 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
- 关于 error LNK2019: unresolved external symbol _cvLoadImage referenced in function _main问题的解决办法
- error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartu
- LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup 问题的解决
- [转]error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
- error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
- 错误 1 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartu
- error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
- error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
- error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
- error LNK2019: unresolved external symbol _viOpen@20 referenced in function _main
- mfc程序报错libcmt.lib(crt0.obj) : error LNK2019: unresolved external symbol main referenced in function
- error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartu
- error LNK2019: unresolved external symbol _WinMain referenced in function
- error LNK2019: unresolved external symbol _WinMain referenced in function _WinMainCRTStartup
- error LNK2019: unresolved external symbol main referenced in function __tmainCRTStartup
- error LNK2019: unresolved external symbol _PrintList referenced in function _main
- error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
- error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup