c++eclipsevisual-studio

Build Eclipse C++ Docfrac project using Visual Studio 2012


Can someone please help me understand how to build the open source Docfrac C++ Eclipse project with Visual Studio 2012?

Docfrac

UPDATE 1:

When building project in VS 2012, I get:

Unexpected end of file while looking for precompiled header. Did you forget to add '#include "pch.h"' to your source?

UPDATE 2: Got past above issues thanks to Rowland.

Now i get, could not open #include vcl.h. No such file or directory.

CLOSING COMMENTS:

Unfortunately, what I wanted to achieve is not directly possible. Thanks to Rowland for pointing me in the right direction.


Solution

  • For the error relating to precompiled headers, select the source code files (.cpp or .c) that you added to the project in the Solution Explorer. Then right-click, choose Properties. Then in the C/C++ section under Precompiled Headers, select the option that says "Not using precompiled headers". Rebuild and bingo.

    Screenshot

    Alternatively, you can right-click the project itself and set it for all files.