WITH_HISTORY not working
If I compile with WITH_HISTORY=ON
, I still don't get any history. The compiler command for building the examples does not define WITH_HISTORY
. If I try to manually compile with option -DWITH_HISTORY
, I get lots of errors:
In file included from /home/maximilian/git/corsika2/corsika/framework/core/Cascade.hpp:27,
from /home/maximilian/git/corsika2/examples/hybrid_MC.cpp:25:
/home/maximilian/git/corsika2/corsika/setup/SetupStack.hpp:26:29: error: 'HistorySecondaryProducer' does not name a type; did you mean 'DefaultSecondaryProducer'?
using StackViewProducer = HistorySecondaryProducer<T1, M2>;
^~~~~~~~~~~~~~~~~~~~~~~~
DefaultSecondaryProducer
/home/maximilian/git/corsika2/corsika/setup/SetupStack.hpp:61:21: error: 'make_view' does not name a type; did you mean 'MakeView'?
using StackView = make_view<setup::Stack, StackViewProducer>::type;
^~~~~~~~~
MakeView
In file included from /home/maximilian/git/corsika2/examples/hybrid_MC.cpp:25:
/home/maximilian/git/corsika2/corsika/framework/core/Cascade.hpp:66:51: error: 'StackView' in namespace 'corsika::setup' does not name a type
typename TStackView = corsika::setup::StackView>
^~~~~~~~~
/home/maximilian/git/corsika2/corsika/framework/core/Cascade.hpp:66:35: note: suggested alternative: 'Stack'
typename TStackView = corsika::setup::StackView>
^~~~~~~
Stack
It also seems wrong to me to define WITH_HISTORY
during the build of CORSIKA 8 instead of the examples.