\chapter{Elua library (BETA)}
\hypertarget{elua_main}{}\label{elua_main}\index{Elua library (BETA)@{Elua library (BETA)}}
\begin{DoxyDate}{Date}
2015 (created)
\end{DoxyDate}
\hypertarget{elua_main_elua_toc}{}\doxysection{\texorpdfstring{Table of Contents}{Table of Contents}}\label{elua_main_elua_toc}
\begin{DoxyItemize}
\item \doxysectlink{elua_main_elua_main_intro}{Introduction}{1} \item \doxysectlink{elua_main_elua_main_compiling}{How to compile}{1} \item \doxysectlink{elua_main_elua_main_next_steps}{Next Steps}{1}\end{DoxyItemize}
\hypertarget{elua_main_elua_main_intro}{}\doxysection{\texorpdfstring{Introduction}{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}{}\doxysection{\texorpdfstring{How to compile}{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 \doxysectlink{pkgconfig}{pkgconfig}{0}\hypertarget{elua_main_elua_main_next_steps}{}\doxysection{\texorpdfstring{Next Steps}{Next Steps}}\label{elua_main_elua_main_next_steps}
There is a comperehensive API reference available that should get you up and running. 