Would that entail using an extra compiler flag, linker flag, both? Which flag(s)?
Also, this code isn't doing what I'd expect:
dbg("About to run solver...");
try {
ceres::Solve(options, &problem, &summary);
} catch (exception& e) {
dbg(e.what());
throw;
}
dbg("Solver complete.");
I've confirmed that I am throwing an exception where I think I am (by putting a dbg(...) statement just before the throw(...) statement).
However, I'm not seeing anything in my debug log from that dbg(e.what());
Does a running solver intercept the normal C++ exception handling mechanism?
Thanks,
-db