\begin{DoxyDate}{Date}
2015 (created)
\end{DoxyDate}
\hypertarget{evil_main_toc}{}\section{Table of Contents}\label{evil_main_toc}
\begin{DoxyItemize}
\item \mbox{\hyperlink{elua_main_elua_main_intro}{Introduction}} \item \mbox{\hyperlink{elua_main_elua_main_compiling}{How to compile}} \item \mbox{\hyperlink{elua_main_elua_main_next_steps}{Next Steps}}\end{DoxyItemize}
\hypertarget{elua_main_elua_main_intro}{}\section{Introduction}\label{elua_main_elua_main_intro}
The Elua library provides all necessary infrastructure required to set up a fully functional Lua state able of running Elua scripts. This is provided as a library in order to encourage reuse from different libraries and apps.\hypertarget{elua_main_elua_main_compiling}{}\section{How to compile}\label{elua_main_elua_main_compiling}
As Elua is a library, compiling is very simple.

Compiling C or C++ files into object files\+:

\begin{DoxyVerb}gcc -c -o main.o main.c `pkg-config --cflags elua`
\end{DoxyVerb}


Linking object files into a binary executable\+:

\begin{DoxyVerb}gcc -o my_application main.o `pkg-config --libs elua`
\end{DoxyVerb}


See \mbox{\hyperlink{pkgconfig}{pkgconfig}}\hypertarget{elua_main_elua_main_next_steps}{}\section{Next Steps}\label{elua_main_elua_main_next_steps}
There is a comperehensive A\+PI reference available that should get you up and running. 