Closed darksworm closed 5 years ago
A CLI param parser library is probably necessary. Tried CLI11 - that shit don't compile.
So the difficulty with including CL11 was due to Xlib.
Xlib defines a variable Success
with #define
. CLI11 has some enum class which has the member Success
. When including CLI11 after Xlib, the enum class member in CLI11 is now recognized as the Success
variable, which is defined in Xlib.
Long story short - include CLI11 before Xlib, and you'll be just fine.