Please help me with the following error:
Code: Select all
....
9> Generating Code...
9>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol WinMain referenced in function __tmainCRTStartup
....
11>------ Skipped Build: Project: INSTALL, Configuration: Debug x64 ------
11>Project not selected to build for this solution configuration
========== Build: 9 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========
- Windows 7 Pro 64bit
- MS Visual Studio 2010 x64
- Qt 4.8.0
- CMake 2.8.12 (no plugin/CCViewer selected in the configuration option)
I followed the compilation wiki and used Visual Studio Win64 as the generator. Then, I opened the CloudCompareProjects solution, built it, and the above error came up. How do I solve this?