Engine.cpp: error: 'Rf_allocLang' was not declared in this scope
In file included from .../R/include/Rdefines.h
Recent R releases have removed or deprecated parts of the old API that GenSA still uses, so the error
comes from the fact that Rdefines.h is considered legacy and no longer fully supported for new code.
Some macros/functions (including Rf_allocLang) are no longer exposed unless very old compatibility flags are set.
New R recommends including Rinternals.h directly and using its constructors and PROTECT discipline.
Engine.cpp: error: 'Rf_allocLang' was not declared in this scope
In file included from .../R/include/Rdefines.h
Recent R releases have removed or deprecated parts of the old API that GenSA still uses, so the error
comes from the fact that Rdefines.h is considered legacy and no longer fully supported for new code.
Some macros/functions (including Rf_allocLang) are no longer exposed unless very old compatibility flags are set.
New R recommends including Rinternals.h directly and using its constructors and PROTECT discipline.