trying to compile for the LLVM tutorial

Hi LLVM community!

I am trying to compile for this tutorial document:

The issue is documented in the following question:

does one know about this? Is the tutorial out of date already or there is a better place to start?


Yeah, sounds like perhaps (as others mentioned on the Stack Overflow thread) you’re trying to build the examples from the source control/head version of the examples, against the last release of LLVM - generally LLVM is too frequently changed for that to work.

Best to either use the examples that came with the pre-built distribution of LLVM you’re using (if they came with the examples) or to build them against the source distribution you’ve got rather than the mismatched installed distribution.

  • Dave