I added a file that corresponds to what I was trying to achieve in the begining. Working with the strategy object of Abs type from inside the B class
added main testing - a trimmed version that is investigated in the stack overflow thread.
almost got the object parsing to work...
now I get a seg fault in strategyCppTest.cpp. At least it compiles.
Made strategyCppTest.cpp to work.
  I have fixed the testing version of the interface of individual with
the objective function strategy.

  I don't really understand where was the problem.

  There seems to have been some problem with the order of declarations.
get the code to compile and run.

Implement default constructors and destructors of the base
strategy class. Note that you cannot derive from a class with an
undeclared virtual function such as objectiveFunctionStrategy's destructor.

Also it is confusing (also for the compiler I think) to include cpp files
so i moved the ObjectiveFunctionhyperBowl definition into it's header
and included that.

tested compiling with gcc 4.7 with --std=c++11. Compiling works and code
runs without errors.