/** @page Building Building %DarkMark

@note Several binary packages for %DarkMark are typically released along with the source.  If you don't want to build it yourself, <a target="_blank" href="https://www.ccoderun.ca/download/?C=M;O=D">see if a binary package is available</a> for your operating system.

Extremely simple easy-to-follow tutorial on how to build Darknet, DarkHelp, and DarkMark:

@htmlonly[block]
<iframe width="560" height="315" src="https://www.youtube.com/embed/pJ2iyf_E9PM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
@endhtmlonly

%DarkMark has several dependencies which must be built and/or installed first:

@li JUCE is a C++ framework.  It has several required development libraries.
@li Magic
@li OpenCV
@li Darknet
@li DarkHelp

Before attempting to build %DarkMark, please see the instructions for building DarkHelp:  https://github.com/stephanecharette/DarkHelp/.

The order in which you build and install the packages is important, since DarkHelp depends on @p libdarknet.so, and DarkMark depends on @p libdarkhelp.so.  After you've successfully built and installed DarkHelp, %DarkMark is built in a similar manner:

~~~~{.sh}
sudo apt-get install build-essential cmake libopencv-dev libx11-dev libfreetype6-dev libxrandr-dev libxinerama-dev libxcursor-dev libmagic-dev libpoppler-cpp-dev
cd ~/src
git clone https://github.com/stephanecharette/DarkMark.git
cd DarkMark
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
make package
~~~~

Once the @p .deb package has been created, install it with @p "sudo dpkg -i darkmark*.deb".  Then run the command @p DarkMark.

@note If you are using WSL2, Docker, or a Linux distro that does not come with the default fonts typically found on Ubuntu, you'll also need to install this:
~~~~{.sh}
sudo apt-get install fonts-liberation
~~~~

*/
