Skip to content

Some compiling errors related to THEIA #4

@xiaojxkevin

Description

@xiaojxkevin

Hi, thanks for your work! @zhixy
I want to try calibration with this method, thus the first thing I do is to compile the project. However, during this process, I encounter a bunch of errors related to THEIA, detailed info can be found below:

Compiling errors
In file included from /workspace/src/handeyetrackestimator.cc:3:0:
/workspace/src/handeye_project_point_to_image.h: In function 'T HandEyeProjectPointToImage(const T*, const T*, const T*, T*)':
/workspace/src/handeye_project_point_to_image.h:57:45: error: 'RADIAL_DISTORTION_1' is not a member of 'theia::Camera'
                        intrinsic_parameters[Camera::RADIAL_DISTORTION_1],
                                             ^
/workspace/src/handeye_project_point_to_image.h:58:45: error: 'RADIAL_DISTORTION_2' is not a member of 'theia::Camera'
                        intrinsic_parameters[Camera::RADIAL_DISTORTION_2],
                                             ^
/workspace/src/handeye_project_point_to_image.h:63:50: error: 'FOCAL_LENGTH' is not a member of 'theia::Camera'
     const T& focal_length = intrinsic_parameters[Camera::FOCAL_LENGTH];
                                                  ^
/workspace/src/handeye_project_point_to_image.h:64:42: error: 'SKEW' is not a member of 'theia::Camera'
     const T& skew = intrinsic_parameters[Camera::SKEW];
                                          ^
/workspace/src/handeye_project_point_to_image.h:65:50: error: 'ASPECT_RATIO' is not a member of 'theia::Camera'
     const T& aspect_ratio = intrinsic_parameters[Camera::ASPECT_RATIO];
                                                  ^
/workspace/src/handeye_project_point_to_image.h:66:55: error: 'PRINCIPAL_POINT_X' is not a member of 'theia::Camera'
     const T& principal_point_x = intrinsic_parameters[Camera::PRINCIPAL_POINT_X];
                                                       ^
/workspace/src/handeye_project_point_to_image.h:67:55: error: 'PRINCIPAL_POINT_Y' is not a member of 'theia::Camera'
     const T& principal_point_y = intrinsic_parameters[Camera::PRINCIPAL_POINT_Y];
                                                       ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h: In member function 'theia::TrackEstimator::Summary HandEyeTrackEstimator::HandEyeEstimateAllTracks()':
/usr/local/include/theia/sfm/estimate_track.h:110:19: error: 'theia::Reconstruction* theia::TrackEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyetrackestimator.cc:93:29: error: within this context
     const auto& track_ids = reconstruction_->TrackIds();
                             ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h: In member function 'theia::TrackEstimator::Summary HandEyeTrackEstimator::HandEyeEstimateTracks(const std::unordered_set<unsigned int>&)':
/usr/local/include/theia/sfm/estimate_track.h:111:24: error: 'std::vector<unsigned int> theia::TrackEstimator::tracks_to_estimate_' is private
   std::vector<TrackId> tracks_to_estimate_;
                        ^
/workspace/src/handeyetrackestimator.cc:101:5: error: within this context
     tracks_to_estimate_.clear();
     ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:112:31: error: 'std::unordered_set<unsigned int> theia::TrackEstimator::successfully_estimated_tracks_' is private
   std::unordered_set<TrackId> successfully_estimated_tracks_;
                               ^
/workspace/src/handeyetrackestimator.cc:102:5: error: within this context
     successfully_estimated_tracks_.clear();
     ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:111:24: error: 'std::vector<unsigned int> theia::TrackEstimator::tracks_to_estimate_' is private
   std::vector<TrackId> tracks_to_estimate_;
                        ^
/workspace/src/handeyetrackestimator.cc:107:5: error: within this context
     tracks_to_estimate_.reserve(track_ids.size());
     ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:110:19: error: 'theia::Reconstruction* theia::TrackEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyetrackestimator.cc:110:24: error: within this context
         Track* track = reconstruction_->MutableTrack(track_id);
                        ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:110:19: error: 'theia::Reconstruction* theia::TrackEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyetrackestimator.cc:118:46: error: within this context
             NumEstimatedViewsObservingTrack(*reconstruction_, *track);
                                              ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:111:24: error: 'std::vector<unsigned int> theia::TrackEstimator::tracks_to_estimate_' is private
   std::vector<TrackId> tracks_to_estimate_;
                        ^
/workspace/src/handeyetrackestimator.cc:124:9: error: within this context
         tracks_to_estimate_.emplace_back(track_id);
         ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:111:24: error: 'std::vector<unsigned int> theia::TrackEstimator::tracks_to_estimate_' is private
   std::vector<TrackId> tracks_to_estimate_;
                        ^
/workspace/src/handeyetrackestimator.cc:126:42: error: within this context
     summary.num_triangulation_attempts = tracks_to_estimate_.size();
                                          ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:111:24: error: 'std::vector<unsigned int> theia::TrackEstimator::tracks_to_estimate_' is private
   std::vector<TrackId> tracks_to_estimate_;
                        ^
/workspace/src/handeyetrackestimator.cc:129:9: error: within this context
     if (tracks_to_estimate_.size() == 0)
         ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:109:17: error: 'const theia::TrackEstimator::Options theia::TrackEstimator::options_' is private
   const Options options_;
                 ^
/workspace/src/handeyetrackestimator.cc:140:33: error: within this context
                                 options_.num_threads, static_cast<int>(tracks_to_estimate_.size()));
                                 ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:111:24: error: 'std::vector<unsigned int> theia::TrackEstimator::tracks_to_estimate_' is private
   std::vector<TrackId> tracks_to_estimate_;
                        ^
/workspace/src/handeyetrackestimator.cc:140:72: error: within this context
                                 options_.num_threads, static_cast<int>(tracks_to_estimate_.size()));
                                                                        ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:109:17: error: 'const theia::TrackEstimator::Options theia::TrackEstimator::options_' is private
   const Options options_;
                 ^
/workspace/src/handeyetrackestimator.cc:142:18: error: within this context
         std::min(options_.multithreaded_step_size,
                  ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:111:24: error: 'std::vector<unsigned int> theia::TrackEstimator::tracks_to_estimate_' is private
   std::vector<TrackId> tracks_to_estimate_;
                        ^
/workspace/src/handeyetrackestimator.cc:143:35: error: within this context
                  static_cast<int>(tracks_to_estimate_.size()) / num_threads);
                                   ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:111:24: error: 'std::vector<unsigned int> theia::TrackEstimator::tracks_to_estimate_' is private
   std::vector<TrackId> tracks_to_estimate_;
                        ^
/workspace/src/handeyetrackestimator.cc:146:25: error: within this context
     for (int i = 0; i < tracks_to_estimate_.size(); i += interval_step)
                         ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:111:24: error: 'std::vector<unsigned int> theia::TrackEstimator::tracks_to_estimate_' is private
   std::vector<TrackId> tracks_to_estimate_;
                        ^
/workspace/src/handeyetrackestimator.cc:149:55: error: within this context
                                      static_cast<int>(tracks_to_estimate_.size()), i + interval_step);
                                                       ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:111:24: error: 'std::vector<unsigned int> theia::TrackEstimator::tracks_to_estimate_' is private
   std::vector<TrackId> tracks_to_estimate_;
                        ^
/workspace/src/handeyetrackestimator.cc:157:35: error: within this context
     for (const TrackId track_id : tracks_to_estimate_)
                                   ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:110:19: error: 'theia::Reconstruction* theia::TrackEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyetrackestimator.cc:159:24: error: within this context
         Track* track = reconstruction_->MutableTrack(track_id);
                        ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h: In member function 'void HandEyeTrackEstimator::HandEyeEstimateTrackSet(int, int)':
/usr/local/include/theia/sfm/estimate_track.h:111:24: error: 'std::vector<unsigned int> theia::TrackEstimator::tracks_to_estimate_' is private
   std::vector<TrackId> tracks_to_estimate_;
                        ^
/workspace/src/handeyetrackestimator.cc:175:30: error: within this context
         HandEyeEstimateTrack(tracks_to_estimate_[i]);
                              ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h: In member function 'bool HandEyeTrackEstimator::HandEyeEstimateTrack(theia::TrackId)':
/usr/local/include/theia/sfm/estimate_track.h:110:19: error: 'theia::Reconstruction* theia::TrackEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyetrackestimator.cc:181:20: error: within this context
     Track* track = reconstruction_->MutableTrack(track_id);
                    ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:110:19: error: 'theia::Reconstruction* theia::TrackEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyetrackestimator.cc:189:36: error: within this context
                                   *reconstruction_,
                                    ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:109:17: error: 'const theia::TrackEstimator::Options theia::TrackEstimator::options_' is private
   const Options options_;
                 ^
/workspace/src/handeyetrackestimator.cc:196:39: error: within this context
                                       options_.min_triangulation_angle_degrees))
                                       ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:110:19: error: 'theia::Reconstruction* theia::TrackEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyetrackestimator.cc:209:20: error: within this context
         Camera a = reconstruction_->View(view_id)->Camera();
                    ^
/workspace/src/handeyetrackestimator.cc:211:86: error: 'ProjectPointToImage' was not declared in this scope
         ProjectPointToImage(a.extrinsics(),a.intrinsics(),track->Point().data(),pixel);
                                                                                      ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:110:19: error: 'theia::Reconstruction* theia::TrackEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
In file included from /usr/local/include/theia/util/lru_cache.h:38:0,
                 from /usr/local/include/theia/image/image_cache.h:41,
                 from /usr/local/include/theia/theia.h:44,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/workspace/src/handeyetrackestimator.cc:212:48: error: within this context
         const Feature* feature = CHECK_NOTNULL(reconstruction_->View(view_id)->GetFeature(track_id));
                                                ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:109:17: error: 'const theia::TrackEstimator::Options theia::TrackEstimator::options_' is private
   const Options options_;
                 ^
/workspace/src/handeyetrackestimator.cc:218:9: error: within this context
     if (options_.bundle_adjustment)
         ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:109:17: error: 'const theia::TrackEstimator::Options theia::TrackEstimator::options_' is private
   const Options options_;
                 ^
/workspace/src/handeyetrackestimator.cc:222:31: error: within this context
             BundleAdjustTrack(options_.ba_options, track_id, reconstruction_,handpose_,handeyetrans_);
                               ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:110:19: error: 'theia::Reconstruction* theia::TrackEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyetrackestimator.cc:222:62: error: within this context
             BundleAdjustTrack(options_.ba_options, track_id, reconstruction_,handpose_,handeyetrans_);
                                                              ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h: In member function 'std::unique_ptr<theia::Reconstruction> HandEyeCalibrationBuilder::GetReconstruction()':
/usr/local/include/theia/sfm/reconstruction_builder.h:189:35: error: 'std::unique_ptr<theia::Reconstruction> theia::ReconstructionBuilder::reconstruction_' is private
   std::unique_ptr<Reconstruction> reconstruction_;
                                   ^
In file included from /workspace/src/handeyecalibrationbuilder.cc:1:0:
/workspace/src/handeyecalibrationbuilder.h:17:26: error: within this context
         return std::move(reconstruction_);
                          ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h: In member function 'void HandEyeCalibrationBuilder::SetHandPoses(Poses*)':
/usr/local/include/theia/sfm/reconstruction_builder.h:189:35: error: 'std::unique_ptr<theia::Reconstruction> theia::ReconstructionBuilder::reconstruction_' is private
   std::unique_ptr<Reconstruction> reconstruction_;
                                   ^
In file included from /usr/local/include/theia/util/lru_cache.h:38:0,
                 from /usr/local/include/theia/image/image_cache.h:41,
                 from /usr/local/include/theia/theia.h:44,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/workspace/src/handeyecalibrationbuilder.cc:12:11: error: within this context
     CHECK(reconstruction_->NumViews()==poses->size())
           ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h:189:35: error: 'std::unique_ptr<theia::Reconstruction> theia::ReconstructionBuilder::reconstruction_' is private
   std::unique_ptr<Reconstruction> reconstruction_;
                                   ^
/workspace/src/handeyecalibrationbuilder.cc:13:34: error: within this context
             <<"numer of views "<<reconstruction_->NumViews()<<" is unequal to that of hand poses";
                                  ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h:189:35: error: 'std::unique_ptr<theia::Reconstruction> theia::ReconstructionBuilder::reconstruction_' is private
   std::unique_ptr<Reconstruction> reconstruction_;
                                   ^
/workspace/src/handeyecalibrationbuilder.cc:18:23: error: within this context
     for(auto view_id: reconstruction_->ViewIds())
                       ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h:189:35: error: 'std::unique_ptr<theia::Reconstruction> theia::ReconstructionBuilder::reconstruction_' is private
   std::unique_ptr<Reconstruction> reconstruction_;
                                   ^
/workspace/src/handeyecalibrationbuilder.cc:20:28: error: within this context
         std::string name = reconstruction_->View(view_id)->Name();
                            ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:109:17: error: 'const theia::TrackEstimator::Options theia::TrackEstimator::options_' is private
   const Options options_;
                 ^
/workspace/src/handeyetrackestimator.cc:232:9: error: within this context
         options_.max_acceptable_reprojection_error_pixels *
         ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:109:17: error: 'const theia::TrackEstimator::Options theia::TrackEstimator::options_' is private
   const Options options_;
                 ^
/workspace/src/handeyetrackestimator.cc:233:9: error: within this context
         options_.max_acceptable_reprojection_error_pixels;
         ^
In file included from /usr/local/include/theia/theia.h:113:0,
                 from /workspace/src/handeyetrackestimator.h:4,
                 from /workspace/src/handeyetrackestimator.cc:1:
/usr/local/include/theia/sfm/estimate_track.h:110:19: error: 'theia::Reconstruction* theia::TrackEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyetrackestimator.cc:235:39: error: within this context
     if (!AcceptableReprojectionError(*reconstruction_,
                                       ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h: In member function 'bool HandEyeCalibrationBuilder::BuildHandEyeCalibration(HandEyeTransformation*)':
/usr/local/include/theia/sfm/reconstruction_builder.h:190:30: error: 'std::unique_ptr<theia::ViewGraph> theia::ReconstructionBuilder::view_graph_' is private
   std::unique_ptr<ViewGraph> view_graph_;
                              ^
In file included from /usr/local/include/theia/util/lru_cache.h:38:0,
                 from /usr/local/include/theia/image/image_cache.h:41,
                 from /usr/local/include/theia/theia.h:44,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/workspace/src/handeyecalibrationbuilder.cc:27:14: error: within this context
     CHECK_GE(view_graph_->NumViews(), 2) << "At least 2 images must be provided "
              ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h:189:35: error: 'std::unique_ptr<theia::Reconstruction> theia::ReconstructionBuilder::reconstruction_' is private
   std::unique_ptr<Reconstruction> reconstruction_;
                                   ^
/workspace/src/handeyecalibrationbuilder.cc:32:9: error: within this context
     if (reconstruction_->NumTracks() == 0)
         ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h:188:33: error: 'std::unique_ptr<theia::TrackBuilder> theia::ReconstructionBuilder::track_builder_' is private
   std::unique_ptr<TrackBuilder> track_builder_;
                                 ^
/workspace/src/handeyecalibrationbuilder.cc:34:9: error: within this context
         track_builder_->BuildTracks(reconstruction_.get());
         ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h:189:35: error: 'std::unique_ptr<theia::Reconstruction> theia::ReconstructionBuilder::reconstruction_' is private
   std::unique_ptr<Reconstruction> reconstruction_;
                                   ^
/workspace/src/handeyecalibrationbuilder.cc:34:37: error: within this context
         track_builder_->BuildTracks(reconstruction_.get());
                                     ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h:185:32: error: 'theia::ReconstructionBuilderOptions theia::ReconstructionBuilder::options_' is private
   ReconstructionBuilderOptions options_;
                                ^
/workspace/src/handeyecalibrationbuilder.cc:38:9: error: within this context
     if (options_.only_calibrated_views)
         ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h:183:8: error: 'void theia::ReconstructionBuilder::RemoveUncalibratedViews()' is private
   void RemoveUncalibratedViews();
        ^
/workspace/src/handeyecalibrationbuilder.cc:41:9: error: within this context
         RemoveUncalibratedViews();
         ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h:183:8: error: 'void theia::ReconstructionBuilder::RemoveUncalibratedViews()' is private
   void RemoveUncalibratedViews();
        ^
/workspace/src/handeyecalibrationbuilder.cc:41:33: error: within this context
         RemoveUncalibratedViews();
                                 ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h:189:35: error: 'std::unique_ptr<theia::Reconstruction> theia::ReconstructionBuilder::reconstruction_' is private
   std::unique_ptr<Reconstruction> reconstruction_;
                                   ^
/workspace/src/handeyecalibrationbuilder.cc:45:50: error: within this context
     LOG(INFO) << "Attempting to reconstruct " << reconstruction_->NumViews()
                                                  ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h:190:30: error: 'std::unique_ptr<theia::ViewGraph> theia::ReconstructionBuilder::view_graph_' is private
   std::unique_ptr<ViewGraph> view_graph_;
                              ^
/workspace/src/handeyecalibrationbuilder.cc:46:37: error: within this context
               << " images from " << view_graph_->NumEdges()
                                     ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h:185:32: error: 'theia::ReconstructionBuilderOptions theia::ReconstructionBuilder::options_' is private
   ReconstructionBuilderOptions options_;
                                ^
/workspace/src/handeyecalibrationbuilder.cc:51:45: error: within this context
             new HandEyeCalibrationEstimator(options_.reconstruction_estimator_options));
                                             ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h:190:30: error: 'std::unique_ptr<theia::ViewGraph> theia::ReconstructionBuilder::view_graph_' is private
   std::unique_ptr<ViewGraph> view_graph_;
                              ^
/workspace/src/handeyecalibrationbuilder.cc:54:31: error: within this context
                               view_graph_.get(), reconstruction_.get(),&hand_poses_,handeyetrans);
                               ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h:189:35: error: 'std::unique_ptr<theia::Reconstruction> theia::ReconstructionBuilder::reconstruction_' is private
   std::unique_ptr<Reconstruction> reconstruction_;
                                   ^
/workspace/src/handeyecalibrationbuilder.cc:54:50: error: within this context
                               view_graph_.get(), reconstruction_.get(),&hand_poses_,handeyetrans);
                                                  ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h:189:35: error: 'std::unique_ptr<theia::Reconstruction> theia::ReconstructionBuilder::reconstruction_' is private
   std::unique_ptr<Reconstruction> reconstruction_;
                                   ^
/workspace/src/handeyecalibrationbuilder.cc:63:44: error: within this context
             << "\n\tNum input views = " << reconstruction_->NumViews()
                                            ^
In file included from /usr/local/include/theia/theia.h:171:0,
                 from /workspace/src/handeyecalibrationbuilder.h:4,
                 from /workspace/src/handeyecalibrationbuilder.cc:1:
/usr/local/include/theia/sfm/reconstruction_builder.h:189:35: error: 'std::unique_ptr<theia::Reconstruction> theia::ReconstructionBuilder::reconstruction_' is private
   std::unique_ptr<Reconstruction> reconstruction_;
                                   ^
/workspace/src/handeyecalibrationbuilder.cc:65:45: error: within this context
             << "\n\tNum input tracks = " << reconstruction_->NumTracks()
                                             ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h: In member function 'theia::ReconstructionEstimatorSummary HandEyeCalibrationEstimator::Estimate(theia::ViewGraph*, theia::Reconstruction*, Poses*, HandEyeTransformation*)':
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:94:19: error: 'theia::Reconstruction* theia::GlobalReconstructionEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyecalibration_estimator.cc:81:5: error: within this context
     reconstruction_ = reconstruction;
     ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:93:14: error: 'theia::ViewGraph* theia::GlobalReconstructionEstimator::view_graph_' is private
   ViewGraph* view_graph_;
              ^
/workspace/src/handeyecalibration_estimator.cc:82:5: error: within this context
     view_graph_ = view_graph;
     ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:101:47: error: 'std::unordered_map<unsigned int, Eigen::Matrix<double, 3, 1> > theia::GlobalReconstructionEstimator::orientations_' is private
   std::unordered_map<ViewId, Eigen::Vector3d> orientations_;
                                               ^
/workspace/src/handeyecalibration_estimator.cc:83:5: error: within this context
     orientations_.clear();
     ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:102:47: error: 'std::unordered_map<unsigned int, Eigen::Matrix<double, 3, 1> > theia::GlobalReconstructionEstimator::positions_' is private
   std::unordered_map<ViewId, Eigen::Vector3d> positions_;
                                               ^
/workspace/src/handeyecalibration_estimator.cc:84:5: error: within this context
     positions_.clear();
     ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:81:8: error: 'void theia::GlobalReconstructionEstimator::CalibrateCameras()' is private
   void CalibrateCameras();
        ^
/workspace/src/handeyecalibration_estimator.cc:106:5: error: within this context
     CalibrateCameras();
     ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:81:8: error: 'void theia::GlobalReconstructionEstimator::CalibrateCameras()' is private
   void CalibrateCameras();
        ^
/workspace/src/handeyecalibration_estimator.cc:106:22: error: within this context
     CalibrateCameras();
                      ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:94:19: error: 'theia::Reconstruction* theia::GlobalReconstructionEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyecalibration_estimator.cc:150:58: error: within this context
     SetCameraPosesFromHandPoses(*handposes,handeyetrans, reconstruction_);
                                                          ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:96:34: error: 'theia::ReconstructionEstimatorOptions theia::GlobalReconstructionEstimator::options_' is private
   ReconstructionEstimatorOptions options_;
                                  ^
/workspace/src/handeyecalibration_estimator.cc:157:25: error: within this context
     for (int i = 0; i < options_.num_retriangulation_iterations + 1; i++)
                         ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:94:19: error: 'theia::Reconstruction* theia::GlobalReconstructionEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyecalibration_estimator.cc:165:42: error: within this context
         SetUnderconstrainedAsUnestimated(reconstruction_);
                                          ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:94:19: error: 'theia::Reconstruction* theia::GlobalReconstructionEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyecalibration_estimator.cc:180:62: error: within this context
         SetCameraPosesFromHandPoses(*handposes,handeyetrans, reconstruction_);
                                                              ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:96:34: error: 'theia::ReconstructionEstimatorOptions theia::GlobalReconstructionEstimator::options_' is private
   ReconstructionEstimatorOptions options_;
                                  ^
/workspace/src/handeyecalibration_estimator.cc:183:38: error: within this context
                                      options_.max_reprojection_error_in_pixels,
                                      ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:96:34: error: 'theia::ReconstructionEstimatorOptions theia::GlobalReconstructionEstimator::options_' is private
   ReconstructionEstimatorOptions options_;
                                  ^
/workspace/src/handeyecalibration_estimator.cc:184:38: error: within this context
                                      options_.min_triangulation_angle_degrees,
                                      ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:94:19: error: 'theia::Reconstruction* theia::GlobalReconstructionEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyecalibration_estimator.cc:185:38: error: within this context
                                      reconstruction_);
                                      ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:94:19: error: 'theia::Reconstruction* theia::GlobalReconstructionEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyecalibration_estimator.cc:197:42: error: within this context
     GetEstimatedViewsFromReconstruction(*reconstruction_,
                                          ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:94:19: error: 'theia::Reconstruction* theia::GlobalReconstructionEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyecalibration_estimator.cc:199:43: error: within this context
     GetEstimatedTracksFromReconstruction(*reconstruction_,
                                           ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h: In member function 'void HandEyeCalibrationEstimator::EstimateStructure(Poses*, HandEyeTransformation*)':
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:96:34: error: 'theia::ReconstructionEstimatorOptions theia::GlobalReconstructionEstimator::options_' is private
   ReconstructionEstimatorOptions options_;
                                  ^
/workspace/src/handeyecalibration_estimator.cc:233:9: error: within this context
         options_.triangulation_max_reprojection_error_in_pixels;
         ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:96:34: error: 'theia::ReconstructionEstimatorOptions theia::GlobalReconstructionEstimator::options_' is private
   ReconstructionEstimatorOptions options_;
                                  ^
/workspace/src/handeyecalibration_estimator.cc:235:9: error: within this context
         options_.min_triangulation_angle_degrees;
         ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:96:34: error: 'theia::ReconstructionEstimatorOptions theia::GlobalReconstructionEstimator::options_' is private
   ReconstructionEstimatorOptions options_;
                                  ^
/workspace/src/handeyecalibration_estimator.cc:236:47: error: within this context
     triangulation_options.bundle_adjustment = options_.bundle_adjust_tracks;
                                               ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:96:34: error: 'theia::ReconstructionEstimatorOptions theia::GlobalReconstructionEstimator::options_' is private
   ReconstructionEstimatorOptions options_;
                                  ^
/workspace/src/handeyecalibration_estimator.cc:237:67: error: within this context
     triangulation_options.ba_options = SetBundleAdjustmentOptions(options_, 0);
                                                                   ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:96:34: error: 'theia::ReconstructionEstimatorOptions theia::GlobalReconstructionEstimator::options_' is private
   ReconstructionEstimatorOptions options_;
                                  ^
/workspace/src/handeyecalibration_estimator.cc:240:41: error: within this context
     triangulation_options.num_threads = options_.num_threads;
                                         ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:94:19: error: 'theia::Reconstruction* theia::GlobalReconstructionEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyecalibration_estimator.cc:241:66: error: within this context
     HandEyeTrackEstimator track_estimator(triangulation_options, reconstruction_,handposes,handeyetrans);
                                                                  ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h: In member function 'bool HandEyeCalibrationEstimator::HandEyeBundleAdjustment(Poses*, HandEyeTransformation*)':
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:102:47: error: 'std::unordered_map<unsigned int, Eigen::Matrix<double, 3, 1> > theia::GlobalReconstructionEstimator::positions_' is private
   std::unordered_map<ViewId, Eigen::Vector3d> positions_;
                                               ^
/workspace/src/handeyecalibration_estimator.cc:248:16: error: within this context
     int size = positions_.size();
                ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:98:27: error: 'theia::BundleAdjustmentOptions theia::GlobalReconstructionEstimator::bundle_adjustment_options_' is private
   BundleAdjustmentOptions bundle_adjustment_options_;
                           ^
/workspace/src/handeyecalibration_estimator.cc:249:5: error: within this context
     bundle_adjustment_options_ =
     ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:96:34: error: 'theia::ReconstructionEstimatorOptions theia::GlobalReconstructionEstimator::options_' is private
   ReconstructionEstimatorOptions options_;
                                  ^
/workspace/src/handeyecalibration_estimator.cc:250:36: error: within this context
         SetBundleAdjustmentOptions(options_, positions_.size());
                                    ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:102:47: error: 'std::unordered_map<unsigned int, Eigen::Matrix<double, 3, 1> > theia::GlobalReconstructionEstimator::positions_' is private
   std::unordered_map<ViewId, Eigen::Vector3d> positions_;
                                               ^
/workspace/src/handeyecalibration_estimator.cc:250:46: error: within this context
         SetBundleAdjustmentOptions(options_, positions_.size());
                                              ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:98:27: error: 'theia::BundleAdjustmentOptions theia::GlobalReconstructionEstimator::bundle_adjustment_options_' is private
   BundleAdjustmentOptions bundle_adjustment_options_;
                           ^
/workspace/src/handeyecalibration_estimator.cc:252:29: error: within this context
         BundleAdjusthandEye(bundle_adjustment_options_, reconstruction_,handposes,handeyetrans);
                             ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:94:19: error: 'theia::Reconstruction* theia::GlobalReconstructionEstimator::reconstruction_' is private
   Reconstruction* reconstruction_;
                   ^
/workspace/src/handeyecalibration_estimator.cc:252:57: error: within this context
         BundleAdjusthandEye(bundle_adjustment_options_, reconstruction_,handposes,handeyetrans);
                                                         ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h: In member function 'bool HandEyeCalibrationEstimator::FilterTooFewerInlierViewPair()':
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:93:14: error: 'theia::ViewGraph* theia::GlobalReconstructionEstimator::view_graph_' is private
   ViewGraph* view_graph_;
              ^
/workspace/src/handeyecalibration_estimator.cc:260:30: error: within this context
     const auto& view_pairs = view_graph_->GetAllEdges();
                              ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:96:34: error: 'theia::ReconstructionEstimatorOptions theia::GlobalReconstructionEstimator::options_' is private
   ReconstructionEstimatorOptions options_;
                                  ^
/workspace/src/handeyecalibration_estimator.cc:264:17: error: within this context
                 options_.min_num_two_view_inliers)
                 ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:93:14: error: 'theia::ViewGraph* theia::GlobalReconstructionEstimator::view_graph_' is private
   ViewGraph* view_graph_;
              ^
/workspace/src/handeyecalibration_estimator.cc:271:9: error: within this context
         view_graph_->RemoveEdge(view_id_pair.first, view_id_pair.second);
         ^
In file included from /usr/local/include/theia/theia.h:147:0,
                 from /workspace/src/handeyecalibration_estimator.h:4,
                 from /workspace/src/handeyecalibration_estimator.cc:2:
/usr/local/include/theia/sfm/global_reconstruction_estimator.h:93:14: error: 'theia::ViewGraph* theia::GlobalReconstructionEstimator::view_graph_' is private
   ViewGraph* view_graph_;
              ^
/workspace/src/handeyecalibration_estimator.cc:276:12: error: within this context
     return view_graph_->NumEdges() >= 1;
            ^
In file included from /workspace/src/handeyepinholereprojectionerror.h:6:0,
                 from /workspace/src/handeyereprojectionerror.h:4,
                 from /workspace/src/hand_eye_bundle_adjustment.cc:12:
/workspace/src/handeye_project_point_to_image.h: In function 'T HandEyeProjectPointToImage(const T*, const T*, const T*, T*)':
/workspace/src/handeye_project_point_to_image.h:57:45: error: 'RADIAL_DISTORTION_1' is not a member of 'theia::Camera'
                        intrinsic_parameters[Camera::RADIAL_DISTORTION_1],
                                             ^
/workspace/src/handeye_project_point_to_image.h:58:45: error: 'RADIAL_DISTORTION_2' is not a member of 'theia::Camera'
                        intrinsic_parameters[Camera::RADIAL_DISTORTION_2],
                                             ^
/workspace/src/handeye_project_point_to_image.h:63:50: error: 'FOCAL_LENGTH' is not a member of 'theia::Camera'
     const T& focal_length = intrinsic_parameters[Camera::FOCAL_LENGTH];
                                                  ^
/workspace/src/handeye_project_point_to_image.h:64:42: error: 'SKEW' is not a member of 'theia::Camera'
     const T& skew = intrinsic_parameters[Camera::SKEW];
                                          ^
/workspace/src/handeye_project_point_to_image.h:65:50: error: 'ASPECT_RATIO' is not a member of 'theia::Camera'
     const T& aspect_ratio = intrinsic_parameters[Camera::ASPECT_RATIO];
                                                  ^
/workspace/src/handeye_project_point_to_image.h:66:55: error: 'PRINCIPAL_POINT_X' is not a member of 'theia::Camera'
     const T& principal_point_x = intrinsic_parameters[Camera::PRINCIPAL_POINT_X];
                                                       ^
/workspace/src/handeye_project_point_to_image.h:67:55: error: 'PRINCIPAL_POINT_Y' is not a member of 'theia::Camera'
     const T& principal_point_y = intrinsic_parameters[Camera::PRINCIPAL_POINT_Y];
                                                       ^
In file included from /workspace/src/handeyereprojectionerror.h:4:0,
                 from /workspace/src/hand_eye_bundle_adjustment.cc:12:
/workspace/src/handeyepinholereprojectionerror.h: In member function 'bool HandEyePinholeReprojectionError::operator()(const T*, const T*, const T*, T*) const':
/workspace/src/handeyepinholereprojectionerror.h:24:31: error: 'FOCAL_LENGTH' is not a member of 'theia::Camera'
         if (camera_intrinsics[Camera::FOCAL_LENGTH] < T(0.0) ||
                               ^
/workspace/src/handeyepinholereprojectionerror.h:25:35: error: 'ASPECT_RATIO' is not a member of 'theia::Camera'
                 camera_intrinsics[Camera::ASPECT_RATIO] < T(0.0))
                                   ^
In file included from /workspace/src/hand_eye_bundle_adjustment.cc:12:0:
/workspace/src/handeyereprojectionerror.h: In static member function 'static ceres::CostFunction* HandEyeReprojectionError::Create(const Feature&, Pose)':
/workspace/src/handeyereprojectionerror.h:20:16: error: 'kIntrinsicsSize' is not a member of 'theia::Camera'
                Camera::kIntrinsicsSize,
                ^
/workspace/src/handeyereprojectionerror.h:20:16: error: 'kIntrinsicsSize' is not a member of 'theia::Camera'
/workspace/src/handeyereprojectionerror.h:21:26: error: template argument 4 is invalid
                kPointSize>(
                          ^
/workspace/src/hand_eye_bundle_adjustment.cc: In function 'std::vector<int> GetIntrinsicsToOptimize(const theia::OptimizeIntrinsicsType&)':
/workspace/src/hand_eye_bundle_adjustment.cc:54:42: error: 'FOCAL_LENGTH' is not a member of 'theia::Camera'
         constant_intrinsics.emplace_back(Camera::FOCAL_LENGTH);
                                          ^
/workspace/src/hand_eye_bundle_adjustment.cc:59:42: error: 'ASPECT_RATIO' is not a member of 'theia::Camera'
         constant_intrinsics.emplace_back(Camera::ASPECT_RATIO);
                                          ^
/workspace/src/hand_eye_bundle_adjustment.cc:64:42: error: 'SKEW' is not a member of 'theia::Camera'
         constant_intrinsics.emplace_back(Camera::SKEW);
                                          ^
/workspace/src/hand_eye_bundle_adjustment.cc:69:42: error: 'PRINCIPAL_POINT_X' is not a member of 'theia::Camera'
         constant_intrinsics.emplace_back(Camera::PRINCIPAL_POINT_X);
                                          ^
/workspace/src/hand_eye_bundle_adjustment.cc:70:42: error: 'PRINCIPAL_POINT_Y' is not a member of 'theia::Camera'
         constant_intrinsics.emplace_back(Camera::PRINCIPAL_POINT_Y);
                                          ^
/workspace/src/hand_eye_bundle_adjustment.cc:75:42: error: 'RADIAL_DISTORTION_1' is not a member of 'theia::Camera'
         constant_intrinsics.emplace_back(Camera::RADIAL_DISTORTION_1);
                                          ^
/workspace/src/hand_eye_bundle_adjustment.cc:76:42: error: 'RADIAL_DISTORTION_2' is not a member of 'theia::Camera'
         constant_intrinsics.emplace_back(Camera::RADIAL_DISTORTION_2);
                                          ^
/workspace/src/hand_eye_bundle_adjustment.cc: In function 'void AddCameraIntrinsicsToProblem(const std::vector<int>&, double*, ceres::Problem*)':
/workspace/src/hand_eye_bundle_adjustment.cc:87:39: error: 'kIntrinsicsSize' is not a member of 'theia::Camera'
     if (constant_intrinsics.size() == Camera::kIntrinsicsSize)
                                       ^
/workspace/src/hand_eye_bundle_adjustment.cc:89:55: error: 'kIntrinsicsSize' is not a member of 'theia::Camera'
         problem->AddParameterBlock(camera_intrinsics, Camera::kIntrinsicsSize);
                                                       ^
/workspace/src/hand_eye_bundle_adjustment.cc:95:47: error: 'kIntrinsicsSize' is not a member of 'theia::Camera'
             new ceres::SubsetParameterization(Camera::kIntrinsicsSize,
                                               ^
/workspace/src/hand_eye_bundle_adjustment.cc:98:36: error: 'kIntrinsicsSize' is not a member of 'theia::Camera'
                                    Camera::kIntrinsicsSize,
                                    ^
/workspace/src/hand_eye_bundle_adjustment.cc:103:55: error: 'kIntrinsicsSize' is not a member of 'theia::Camera'
         problem->AddParameterBlock(camera_intrinsics, Camera::kIntrinsicsSize);
                                                       ^
/workspace/src/hand_eye_bundle_adjustment.cc:107:56: error: 'FOCAL_LENGTH' is not a member of 'theia::Camera'
     problem->SetParameterLowerBound(camera_intrinsics, Camera::FOCAL_LENGTH, 0.0);
                                                        ^
/workspace/src/hand_eye_bundle_adjustment.cc:108:56: error: 'ASPECT_RATIO' is not a member of 'theia::Camera'
     problem->SetParameterLowerBound(camera_intrinsics, Camera::ASPECT_RATIO, 0.0);
                                                        ^
/workspace/src/hand_eye_bundle_adjustment.cc: In function 'void CopySharedIntrinsicsToViews(const std::unordered_map<unsigned int, double*>&, theia::Reconstruction*)':
/workspace/src/hand_eye_bundle_adjustment.cc:173:57: error: 'kIntrinsicsSize' is not a member of 'theia::Camera'
                           shared_intrinsics_for_group + Camera::kIntrinsicsSize,

I have successfully make install THEIA provide in https://github.com/zhixy/TheiaSfM. And I am wondering why such error occurs. Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions