简体   繁体   中英

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.

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.

截图

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM