[C++] Multiple "inconsistent dll linkage" errors

Hey guilledi-

There are a few things that may help get your code to compile successfully.

  1. In Line11 there is no class Identifier for the CalculateFitness() class. It should have UbuscarBomba:: preceding it.
  2. In Line30 if you are declaring the header for your class then you need to use UbuscarBomba::UbuscarBomba() instead of UBTTaskNode::UBTTaskNode().
  3. In Line36 if you are overriding the ExecuteTask() from the parent class then you would use UbuscarBomba in place of UBTTaskNode to indicate which function is being overridden.
  4. The same case applies to Line106 in that you need to use UbuscarBomba instead of UBTNode to indicate the function is being overridden in the child.

Due to references to other classes if you are still having compile issues after making these changes then you will need to post the exact errors as well as possibly supply the project to test directly.

Cheers