<div dir="ltr"><div><div><div>Hi, <br><br>I am compiling CLP (downloaded from <a href="http://www.coin-or.org/download/source/Clp/Clp-1.16.9.zip">http://www.coin-or.org/download/source/Clp/Clp-1.16.9.zip</a>) in Visual Studio 2013 VC++ on win 7.<br><br></div>In order to reduce compile time, I put all .h and .hpp filenames in stdafx.h so that I only need ot compile them once and then just used the pre-compiled headers for the following work. <br><br></div><div>I have added <br><br>    MSVisualStudio\v10\libClp\*.cpp,*.hpp<br>    CLP\CoinUtils\src\*.cpp, *.hpp<br>    CLP\Clp\src*.cpp, *.hpp<br></div><div><br></div><div>as project to my VC++ solution. <br><br></div><div>They can be compiled well without problems. <br></div><div><br></div><div>Then, in VS2013 VC++, I added a new VC++ project and followed the instructions at <br></div><br><a href="http://manski.net/2011/11/precompiled-headers/#compiling_the_header">http://manski.net/2011/11/precompiled-headers/#compiling_the_header</a><br><br></div>to build the stdafx.h file. But, when I compiled the new added project, I got error:<br><div><div><div><div><div><br>error C1083: Cannot open include file: 'endian.h': No such file or directory<br>error C2027: use of undefined type 'CoinIndexedVector'<br>error C2228: left of '.clear' must have class/struct/union<br>IntelliSense: #error directive: "don't have header file for math"<br>IntelliSense: cannot open source file "endian.h"<br>IntelliSense: cannot open source file "taucs.h"<br>IntelliSense: identifier "EKKfactinfo" is undefined<br>IntelliSense: identifier "EKKfactinfo" is undefined<br>IntelliSense: identifier "EKKfactinfo" is undefined<br>IntelliSense: identifier "EKKfactinfo" is undefined<br>IntelliSense: identifier "EKKfactinfo" is undefined<br>IntelliSense: identifier "EKKfactinfo" is undefined<br>IntelliSense: identifier "EKKfactinfo" is undefined<br>IntelliSense: identifier "EKKfactinfo" is undefined<br>IntelliSense: identifier "EKKfactinfo" is undefined<br>IntelliSense: identifier "fact" is undefined<br>IntelliSense: identifier "taucs_ccs_matrix" is undefined<br>IntelliSense: incomplete type is not allowed<br>IntelliSense: incomplete type is not allowed<br><br></div><div>How to make the correct stdafx.h file in VC++ so that I can compiled the files that are changed each time without compiling hpp files ? <br><br></div><div>Thanks! <br></div></div></div></div></div></div>