I am trying to create a component diagram using MetaUml embedded in TeX using LuaLaTeX. Every example form the manual I tried, worked well except from components.
\documentclass{article}
\usepackage{luamplib}
\title{Algo}
\author{Paul}
\begin{document}
\maketitle
\newpage
\tableofcontents
\newpage
\section{Reengineering Algo Architecture}
\subsection{Current System Structure}
\subsection{Restructured System}
\subsection{Extended Restructured System}
\subsubsection{System Component Structure}
\begin{mplibcode}
input metauml;
beginfig(1);
Component.C("Business Logic")();
drawObject(C);
endfig;
end
\end{mplibcode}
\subsubsection{Inner Component Structure}
\subsubsection{Usecasses}
\end{document}
This does not work for me, but it should, see page 14.
Error Message is:
Cannot figure it out. Sorry.
Edit: Automatic installation was not correct:
But it is still not working.

![Error Message]](../../images/8089c597efbc6956adfb219bff77615e.webp)
[...]– David Carlisle Jan 20 '18 at 12:25input metauml;line, I get the same errors as you are seeing in your log. So my guess is that you don't have metauml installed properly. – Thruston Jan 20 '18 at 12:54endinstruction of MetaPost is not necessary in amplibcodeenvironment. – Franck Pastor Jan 20 '18 at 12:59MPINPUTSto include"D:\Program Files\MiKTeX 2.9\metapost\generic\metauml"or have a look attexmf.cnf. See also: https://tex.stackexchange.com/questions/484017/mpinputs-of-metapost, https://mailman.speleo.sk/pipermail/therion/2015-June/005478.html – Ovidiu Gheorghies May 14 '19 at 17:02