mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Port Ceres to Windows
This is a preliminary, but full, port of Ceres to Windows. Currently all tests compile and run, with only system_test failing to work correctly due to a path issue. Change-Id: I4152c1588bf51ffd7f4d9401ef9759f5d28c299c
This commit is contained in:
@@ -150,6 +150,9 @@ LinearSolver::Summary SparseNormalCholeskySolver::SolveImplUsingCXSparse(
|
||||
const LinearSolver::PerSolveOptions& per_solve_options,
|
||||
double * x) {
|
||||
LOG(FATAL) << "No CXSparse support in Ceres.";
|
||||
|
||||
// Unreachable but MSVC does not know this.
|
||||
return LinearSolver::Summary();
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -233,6 +236,9 @@ LinearSolver::Summary SparseNormalCholeskySolver::SolveImplUsingSuiteSparse(
|
||||
const LinearSolver::PerSolveOptions& per_solve_options,
|
||||
double * x) {
|
||||
LOG(FATAL) << "No SuiteSparse support in Ceres.";
|
||||
|
||||
// Unreachable but MSVC does not know this.
|
||||
return LinearSolver::Summary();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user