Hi
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.
I was unable to find DataTypes.h header file in llvm/System folder. Instead, the folder contain DataTypes.h.in and DataTypes.h.cmake files. Shall I use them to create DataTypes.h header file? Any help would be much appreaciated!
Anton
g++ -c -g main.cpp
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
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’
…