Fix meta example when ´-DENABLE_TESTING=OFF` #3553

karlnapf opened this Issue Nov 18, 2016 · 2 comments


None yet

2 participants

karlnapf commented Nov 18, 2016 edited

Since the WrappedObjectArray class is guarded and only available when testing is turned on, the meta examples which explicitly import that class will not compile (java, cpp).

If variable storing is turned off in meta example (storeVars or so), then the includes for WrappedObjectArray also have to be omitted.

Nice non trivial entrance task and crucial for any further release

@karlnapf karlnapf added this to the Shogun 5.1 milestone Nov 18, 2016

For now, the workaround is to compile Shogun with the cmake siwtch -DENABLE_TESTING


Yes this workaround worked for cpp interface.
Just by compiling using cmake switch -DJavaModular=ON -DENABLE_TESTING=ON ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment