Paraview 编译
1. 编译到最后一步显示如下错误
error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
解决办法:
As the others mentioned you can change the SubSystem to Console and the error will go away.
Or if you want to keep the Windows subsystem you can just hint at what your entry point is, because you haven't defined ___tmainCRTStartup. You can do this by adding the following to Properties -> Linker -> Command line:
/ENTRY:"mainCRTStartup"
http://stackoverflow.com/questions/6626397/error-lnk2019-unresolved-external-symbol-winmain16-referenced-in-function
浙公网安备 33010602011771号