<div>Hi</div>
<div><br>This is a beginner's question. I’m trying to compile Kaleidoscope Ch3 example under MinGW. As I understand most errors result from header file DataTypes.h be missing. <br></div>
<div>I was unable to find DataTypes.h header file in llvm/System folder. Instead, the folder contain <a href="http://DataTypes.h.in">DataTypes.h.in</a> and DataTypes.h.cmake files. Shall I use them to create DataTypes.h header file? Any help would be much appreaciated!<br>
 <br>Anton</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>g++ -c -g main.cpp </div>
<div> </div>
<div>In file included from /mingw/lib/gcc/mingw32/../../../include/llvm/DerivedTypes.h:21,                 from main.cpp:10:/mingw/lib/gcc/mingw32/../../../include/llvm/Type.h:15:35: error: llvm/System/DataTypes.h: No such file or directory </div>

<div><br>In file included from main.cpp:10:/mingw/lib/gcc/mingw32/../../../include/llvm/DerivedTypes.h:266: error: expected ';' before 'END_WITH_NULL'/mingw/lib/gcc/mingw32/../../../include/llvm/DerivedTypes.h:321: error: expected ';' before 'END_WITH_NULL'</div>

<div> </div>
<div>...</div>
<div> </div>