Skip to content

Commit

Permalink
Enhance BUILD installation documentation. Fix some alignement style.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoulon committed Oct 5, 2015
1 parent 7c7f797 commit 42e1d44
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,9 @@ OpenMVG can be used as a third party once it have been installed.
Because it can use it's own ceres version, it's better to install it locally and not in system files.
So please consider using the CMAKE_INSTALL_PREFIX cmake variable to specify a local installation directory.

Here the syntax to add the variable to the cmake command line:
-DCMAKE_INSTALL_PREFIX:STRING="./openMVG_install"
Here the syntax to add the variable to the cmake command line (use absolute path):
-DCMAKE_INSTALL_PREFIX:STRING="YourInstallPath"
i.e: -DCMAKE_INSTALL_PREFIX:STRING="/home/user/Dev/github/openMVG_Build/openMVG_install"

Perform "make" and "make install"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,13 @@ bool GlobalSfM_Rotation_AveragingSolver::Run(
return false;
KeepOnlyReferencedElement(set_remainingIds, relativeRotations);
}
break;
break;
default:
std::cerr << "Unknown relative rotation inference method: "
<< (int) eRelativeRotationInferenceMethod << std::endl;
std::cerr
<< "Unknown relative rotation inference method: "
<< (int) eRelativeRotationInferenceMethod << std::endl;
}

// Compute contiguous index (mapping between sparse index and contiguous index)
// from ranging in [min(Id), max(Id)] to [0, nbCam]

Expand Down Expand Up @@ -128,7 +129,9 @@ bool GlobalSfM_Rotation_AveragingSolver::Run(
}
break;
default:
std::cerr << "Unknown rotation averaging method: " << (int) eRotationAveragingMethod << std::endl;
std::cerr
<< "Unknown rotation averaging method: "
<< (int) eRotationAveragingMethod << std::endl;
}

if (bSuccess)
Expand All @@ -138,7 +141,7 @@ bool GlobalSfM_Rotation_AveragingSolver::Run(
map_globalR[_reindexBackward[i]] = vec_globalR[i];
}
}
else{
else {
std::cerr << "Global rotation solving failed." << std::endl;
}

Expand Down

0 comments on commit 42e1d44

Please sign in to comment.