FXNook Vendor Docs

Compile Errors and What They Mean

Every licensing compile error, its cause and the fix.

Updated September 19, 2026 1 min read

A wrong answer on the download page is designed to stop the compile, so an unprotected EA can never be built by mistake. Find your error below.

Errors and fixes

MetaEditor saysCauseFix
'start' - function already definedYour EA is old-style but Old-style code was not ticked.Download again with Old-style code ticked.
'OnTick' - function already definedYou answered “no OnTick” but your EA has one.Answer Yes to the OnTick question.
'OnInit' - function already definedYou answered “No OnInit()” but your EA has one.Correct the OnInit answer.
'OnTimer' - function already definedYou answered “No OnTick() and no OnTimer()” but your EA has an OnTimer.Answer “No, it runs on OnTimer()”.
identifier already used near init or startOld-style mode renames those words, including a variable of that name.Rename the variable, or use Manual mode.
An error where your code calls OnTimer(); or OnChartEvent(...) itselfThe file guards those handlers; calling them directly cannot compile.Move that logic into its own function and call that, or use Manual mode.
cannot open include fileThe .mqh is not in Include/FXNook/.Extract the ZIP into the Include folder.
FXNook: this licence file is included more than onceTwo include lines.Keep one, at the top.
void function returns a value or function must have a bodyThe OnInit answer does not match (void vs int), or a function you said exists does not.Download again with the correct answers.

Warnings

Warnings from your own code (for example “deprecated”) are unrelated to licensing. The licensing file itself compiles with no warnings.

    Was this guide helpful?
    Need help? Most questions are answered by the guides above. If yours is not, our team will help.
    Open Support Ticket