I have no idea about compilation under windows, but under linux there is a switch to turn off 3DConnexion. With linux I'd ask you:
- did you try clean directory compilation?
- did you try compilation with default options?
- what do you run to start the compilation?
- do you see the files in the source code directory?
The 3dConnexion files are part of the repository and independent of the CMake switch it should build without errors.
1>D:\FreeCADGit\src\Gui\TaskView\TaskDialog.cpp(106): fatal error C1004: unexpected end-of-file found
How does the end of this file look like? Is it possible that with your source files something is wrong? Or is it possible that you have any hardware issues such as a dying HDD?