maldworth/gphoto2pp

Undefined symbols for architecture x86_64

cmdrootaccess opened this issue · 1 comments

while running ./cmake_release.sh

Undefined symbols for architecture x86_64:
  "_gp_abilities_list_count", referenced from:
      gphoto2pp::CameraAbilitiesListWrapper::count() const in camera_abilities_list_wrapper.cpp.o
  "_gp_abilities_list_detect", referenced from:
      gphoto2pp::CameraAbilitiesListWrapper::listDetect(gphoto2pp::GPPortInfoListWrapper const&) in camera_abilities_list_wrapper.cpp.o
  "_gp_abilities_list_free", referenced from:
      gphoto2pp::CameraAbilitiesListWrapper::~CameraAbilitiesListWrapper() in camera_abilities_list_wrapper.cpp.o
      gphoto2pp::CameraAbilitiesListWrapper::operator=(gphoto2pp::CameraAbilitiesListWrapper&&) in camera_abilities_list_wrapper.cpp.o
  "_gp_abilities_list_get_abilities", referenced from:
      gphoto2pp::CameraWrapper::initialize(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in camera_wrapper.cpp.o
  "_gp_abilities_list_load", referenced from:
      gphoto2pp::CameraAbilitiesListWrapper::CameraAbilitiesListWrapper() in camera_abilities_list_wrapper.cpp.o
  "_gp_abilities_list_lookup_model", referenced from:
      gphoto2pp::CameraAbilitiesListWrapper::lookupModel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in camera_abilities_list_wrapper.cpp.o
  "_gp_abilities_list_new", referenced from:
      gphoto2pp::CameraAbilitiesListWrapper::CameraAbilitiesListWrapper() in camera_abilities_list_wrapper.cpp.o
  "_gp_abilities_list_reset", referenced from:
      gphoto2pp::CameraAbilitiesListWrapper::reset() in camera_abilities_list_wrapper.cpp.o
  "_gp_camera_autodetect", referenced from:
      gphoto2pp::autoDetectAll() in helper_gphoto2.cpp.o
  "_gp_camera_capture", referenced from:
      gphoto2pp::CameraWrapper::capture(gphoto2pp::CameraCaptureTypeWrapper const&) in camera_wrapper.cpp.o
  "_gp_camera_capture_preview", referenced from:
      gphoto2pp::CameraWrapper::capturePreview() in camera_wrapper.cpp.o
  "_gp_camera_file_delete", referenced from:
      gphoto2pp::CameraWrapper::fileDelete(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in camera_wrapper.cpp.o
  "_gp_camera_file_get", referenced from:
      gphoto2pp::CameraWrapper::fileGet(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, gphoto2pp::CameraFileTypeWrapper const&) const in camera_wrapper.cpp.o
  "_gp_camera_folder_delete_all", referenced from:
      gphoto2pp::CameraWrapper::folderDeleteAll(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in camera_wrapper.cpp.o
  "_gp_camera_folder_list_files", referenced from:
      gphoto2pp::CameraWrapper::folderListFiles(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in camera_wrapper.cpp.o
  "_gp_camera_folder_list_folders", referenced from:
      gphoto2pp::CameraWrapper::folderListFolders(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in camera_wrapper.cpp.o
  "_gp_camera_folder_make_dir", referenced from:
      gphoto2pp::CameraWrapper::folderMakeDir(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in camera_wrapper.cpp.o
  "_gp_camera_folder_put_file", referenced from:
      gphoto2pp::CameraWrapper::folderPutFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, gphoto2pp::CameraFileTypeWrapper const&, gphoto2pp::CameraFileWrapper) in camera_wrapper.cpp.o
  "_gp_camera_folder_remove_dir", referenced from:
      gphoto2pp::CameraWrapper::folderRemoveDir(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in camera_wrapper.cpp.o
  "_gp_camera_get_abilities", referenced from:
      gphoto2pp::CameraWrapper::initialize() in camera_wrapper.cpp.o
  "_gp_camera_get_config", referenced from:
      gphoto2pp::CameraWrapper::getConfig() const in camera_wrapper.cpp.o
  "_gp_camera_get_port_info", referenced from:
      gphoto2pp::CameraWrapper::initialize() in camera_wrapper.cpp.o
  "_gp_camera_get_summary", referenced from:
      gphoto2pp::CameraWrapper::getSummary() const in camera_wrapper.cpp.o
  "_gp_camera_init", referenced from:
      gphoto2pp::CameraWrapper::initialize(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in camera_wrapper.cpp.o
      gphoto2pp::CameraWrapper::initialize() in camera_wrapper.cpp.o
  "_gp_camera_new", referenced from:
      gphoto2pp::CameraWrapper::CameraWrapper(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in camera_wrapper.cpp.o
      gphoto2pp::CameraWrapper::CameraWrapper() in camera_wrapper.cpp.o
  "_gp_camera_set_abilities", referenced from:
      gphoto2pp::CameraWrapper::initialize(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in camera_wrapper.cpp.o
  "_gp_camera_set_config", referenced from:
      gphoto2pp::CameraWrapper::setConfig(gphoto2pp::CameraWidgetWrapper const&) in camera_wrapper.cpp.o
  "_gp_camera_set_port_info", referenced from:
      gphoto2pp::CameraWrapper::initialize(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in camera_wrapper.cpp.o
  "_gp_camera_trigger_capture", referenced from:
      gphoto2pp::CameraWrapper::triggerCapture() in camera_wrapper.cpp.o
  "_gp_camera_unref", referenced from:
      gphoto2pp::CameraWrapper::~CameraWrapper() in camera_wrapper.cpp.o
      gphoto2pp::CameraWrapper::operator=(gphoto2pp::CameraWrapper&&) in camera_wrapper.cpp.o
  "_gp_camera_wait_for_event", referenced from:
      std::__1::__packaged_task_func<gphoto2pp::CameraWrapper::startListeningForEvents()::$_0, std::__1::allocator<gphoto2pp::CameraWrapper::startListeningForEvents()::$_0>, bool ()>::operator()() in camera_wrapper.cpp.o
  "_gp_context_new", referenced from:
      gphoto2pp::getContext() in helper_context.cpp.o
  "_gp_context_unref", referenced from:
      gphoto2pp::getContext() in helper_context.cpp.o
      std::__1::__shared_ptr_pointer<gphoto2::_GPContext*, gphoto2pp::getContext()::$_0, std::__1::allocator<gphoto2::_GPContext> >::__on_zero_shared() in helper_context.cpp.o
  "_gp_file_adjust_name_for_mime_type", referenced from:
      gphoto2pp::CameraFileWrapper::adjustNameForMimeType() in camera_file_wrapper.cpp.o
  "_gp_file_detect_mime_type", referenced from:
      gphoto2pp::CameraFileWrapper::detectMimeType() const in camera_file_wrapper.cpp.o
  "_gp_file_get_data_and_size", referenced from:
      gphoto2pp::CameraFileWrapper::getDataAndSize() const in camera_file_wrapper.cpp.o
  "_gp_file_get_mime_type", referenced from:
      gphoto2pp::CameraFileWrapper::getMimeType() const in camera_file_wrapper.cpp.o
  "_gp_file_get_mtime", referenced from:
      gphoto2pp::CameraFileWrapper::getMtime() const in camera_file_wrapper.cpp.o
  "_gp_file_get_name", referenced from:
      gphoto2pp::CameraFileWrapper::getFileName() const in camera_file_wrapper.cpp.o
  "_gp_file_get_name_by_type", referenced from:
      gphoto2pp::CameraFileWrapper::getNameByType(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, gphoto2pp::CameraFileTypeWrapper const&) const in camera_file_wrapper.cpp.o
  "_gp_file_new", referenced from:
      gphoto2pp::CameraFileWrapper::CameraFileWrapper() in camera_file_wrapper.cpp.o
  "_gp_file_ref", referenced from:
      gphoto2pp::CameraFileWrapper::CameraFileWrapper(gphoto2pp::CameraFileWrapper const&) in camera_file_wrapper.cpp.o
      gphoto2pp::CameraFileWrapper::operator=(gphoto2pp::CameraFileWrapper const&) in camera_file_wrapper.cpp.o
  "_gp_file_save", referenced from:
      gphoto2pp::CameraFileWrapper::save(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in camera_file_wrapper.cpp.o
  "_gp_file_set_data_and_size", referenced from:
      gphoto2pp::CameraFileWrapper::setDataAndSize(std::__1::vector<char, std::__1::allocator<char> > const&) in camera_file_wrapper.cpp.o
  "_gp_file_set_mime_type", referenced from:
      gphoto2pp::CameraFileWrapper::setMimeType(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in camera_file_wrapper.cpp.o
  "_gp_file_set_mtime", referenced from:
      gphoto2pp::CameraFileWrapper::setMtime(long) in camera_file_wrapper.cpp.o
  "_gp_file_set_name", referenced from:
      gphoto2pp::CameraFileWrapper::setFileName(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in camera_file_wrapper.cpp.o
  "_gp_file_unref", referenced from:
      gphoto2pp::CameraFileWrapper::~CameraFileWrapper() in camera_file_wrapper.cpp.o
      gphoto2pp::CameraFileWrapper::operator=(gphoto2pp::CameraFileWrapper&&) in camera_file_wrapper.cpp.o
  "_gp_library_version", referenced from:
      gphoto2pp::LibraryVersion(bool) in helper_gphoto2.cpp.o
  "_gp_list_append", referenced from:
      gphoto2pp::CameraListWrapper::append(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in camera_list_wrapper.cpp.o
  "_gp_list_count", referenced from:
      gphoto2pp::CameraListWrapper::count() const in camera_list_wrapper.cpp.o
  "_gp_list_find_by_name", referenced from:
      gphoto2pp::CameraListWrapper::findByName(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in camera_list_wrapper.cpp.o
  "_gp_list_get_name", referenced from:
      gphoto2pp::CameraListWrapper::getName(int) const in camera_list_wrapper.cpp.o
  "_gp_list_get_value", referenced from:
      gphoto2pp::CameraListWrapper::getValue(int) const in camera_list_wrapper.cpp.o
  "_gp_list_new", referenced from:
      gphoto2pp::CameraListWrapper::CameraListWrapper() in camera_list_wrapper.cpp.o
      gphoto2pp::CameraListWrapper::CameraListWrapper() in camera_list_wrapper.cpp.o
  "_gp_list_ref", referenced from:
      gphoto2pp::CameraListWrapper::CameraListWrapper(gphoto2pp::CameraListWrapper const&) in camera_list_wrapper.cpp.o
      gphoto2pp::CameraListWrapper::CameraListWrapper(gphoto2pp::CameraListWrapper const&) in camera_list_wrapper.cpp.o
      gphoto2pp::CameraListWrapper::operator=(gphoto2pp::CameraListWrapper const&) in camera_list_wrapper.cpp.o
  "_gp_list_reset", referenced from:
      gphoto2pp::CameraListWrapper::reset() in camera_list_wrapper.cpp.o
  "_gp_list_set_name", referenced from:
      gphoto2pp::CameraListWrapper::setName(int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in camera_list_wrapper.cpp.o
  "_gp_list_set_value", referenced from:
      gphoto2pp::CameraListWrapper::setValue(int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in camera_list_wrapper.cpp.o
  "_gp_list_sort", referenced from:
      gphoto2pp::CameraListWrapper::sort() in camera_list_wrapper.cpp.o
  "_gp_list_unref", referenced from:
      gphoto2pp::CameraListWrapper::~CameraListWrapper() in camera_list_wrapper.cpp.o
      gphoto2pp::CameraListWrapper::operator=(gphoto2pp::CameraListWrapper&&) in camera_list_wrapper.cpp.o
      gphoto2pp::CameraListWrapper::operator=(gphoto2pp::CameraListWrapper const&) in camera_list_wrapper.cpp.o
  "_gp_log_add_func", referenced from:
      gphoto2pp::helper::debugging::detail::PortLoggingEventsManager::startPortLogging(gphoto2pp::helper::debugging::LogLevelWrapper const&) in helper_debugging.cpp.o
      gphoto2pp::helper::debugging::startPortLogging(gphoto2pp::helper::debugging::LogLevelWrapper const&) in helper_debugging.cpp.o
  "_gp_log_remove_func", referenced from:
      gphoto2pp::helper::debugging::detail::PortLoggingEventsManager::~PortLoggingEventsManager() in helper_debugging.cpp.o
      gphoto2pp::helper::debugging::detail::PortLoggingEventsManager::stopPortLogging() in helper_debugging.cpp.o
      gphoto2pp::helper::debugging::stopPortLogging() in helper_debugging.cpp.o
  "_gp_port_info_get_path", referenced from:
      gphoto2pp::CameraWrapper::initialize() in camera_wrapper.cpp.o
  "_gp_port_info_list_count", referenced from:
      gphoto2pp::GPPortInfoListWrapper::count() const in gp_port_info_list_wrapper.cpp.o
  "_gp_port_info_list_free", referenced from:
      gphoto2pp::GPPortInfoListWrapper::~GPPortInfoListWrapper() in gp_port_info_list_wrapper.cpp.o
  "_gp_port_info_list_get_info", referenced from:
      gphoto2pp::CameraWrapper::initialize(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in camera_wrapper.cpp.o
  "_gp_port_info_list_load", referenced from:
      gphoto2pp::GPPortInfoListWrapper::GPPortInfoListWrapper() in gp_port_info_list_wrapper.cpp.o
  "_gp_port_info_list_lookup_name", referenced from:
      gphoto2pp::GPPortInfoListWrapper::lookupName(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in gp_port_info_list_wrapper.cpp.o
  "_gp_port_info_list_lookup_path", referenced from:
      gphoto2pp::GPPortInfoListWrapper::lookupPath(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in gp_port_info_list_wrapper.cpp.o
  "_gp_port_info_list_new", referenced from:
      gphoto2pp::GPPortInfoListWrapper::GPPortInfoListWrapper() in gp_port_info_list_wrapper.cpp.o
  "_gp_result_as_string", referenced from:
      gphoto2pp::checkResponse(int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&) in helper_gphoto2.cpp.o
  "_gp_widget_count_children", referenced from:
      gphoto2pp::NonValueWidget::countChildren() const in non_value_widget.cpp.o
  "_gp_widget_count_choices", referenced from:
      gphoto2pp::ChoicesWidget::countChoices() const in choices_widget.cpp.o
  "_gp_widget_get_child", referenced from:
      gphoto2pp::NonValueWidget::getChildWrapper(int) const in non_value_widget.cpp.o
  "_gp_widget_get_child_by_id", referenced from:
      gphoto2pp::NonValueWidget::getChildByIdWrapper(int) const in non_value_widget.cpp.o
  "_gp_widget_get_child_by_label", referenced from:
      gphoto2pp::NonValueWidget::getChildByLabelWrapper(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in non_value_widget.cpp.o
  "_gp_widget_get_child_by_name", referenced from:
      gphoto2pp::NonValueWidget::getChildByNameWrapper(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in non_value_widget.cpp.o
  "_gp_widget_get_choice", referenced from:
      gphoto2pp::ChoicesWidget::choiceToString(int) const in choices_widget.cpp.o
  "_gp_widget_get_id", referenced from:
      gphoto2pp::CameraWidgetWrapper::getId() const in camera_widget_wrapper.cpp.o
  "_gp_widget_get_info", referenced from:
      gphoto2pp::CameraWidgetWrapper::getInfo() const in camera_widget_wrapper.cpp.o
  "_gp_widget_get_label", referenced from:
      gphoto2pp::CameraWidgetWrapper::getLabel() const in camera_widget_wrapper.cpp.o
  "_gp_widget_get_name", referenced from:
      gphoto2pp::CameraWidgetWrapper::getName() const in camera_widget_wrapper.cpp.o
  "_gp_widget_get_parent", referenced from:
      gphoto2pp::CameraWidgetWrapper::getParent() const in camera_widget_wrapper.cpp.o
      gphoto2pp::CameraWidgetWrapper::getParentDefault() const in camera_widget_wrapper.cpp.o
  "_gp_widget_get_range", referenced from:
      gphoto2pp::RangeWidget::getRange() const in range_widget.cpp.o
      gphoto2pp::RangeWidget::ToString() const in range_widget.cpp.o
  "_gp_widget_get_root", referenced from:
      gphoto2pp::CameraWidgetWrapper::ref() in camera_widget_wrapper.cpp.o
      gphoto2pp::CameraWidgetWrapper::unref() in camera_widget_wrapper.cpp.o
      gphoto2pp::CameraWidgetWrapper::getRoot() const in camera_widget_wrapper.cpp.o
      gphoto2pp::CameraWidgetWrapper::getRootDefault() const in camera_widget_wrapper.cpp.o
  "_gp_widget_get_type", referenced from:
      gphoto2pp::CameraWidgetWrapper::getType() const in camera_widget_wrapper.cpp.o
  "_gp_widget_get_value", referenced from:
      gphoto2pp::DateWidget::getValue() const in date_widget.cpp.o
      gphoto2pp::FloatWidget::getValue() const in float_widget.cpp.o
      gphoto2pp::IntWidget::getValue() const in int_widget.cpp.o
      gphoto2pp::StringWidget::getValue() const in string_widget.cpp.o
  "_gp_widget_ref", referenced from:
      gphoto2pp::CameraWidgetWrapper::ref() in camera_widget_wrapper.cpp.o
  "_gp_widget_set_value", referenced from:
      gphoto2pp::DateWidget::setValue(long const&) in date_widget.cpp.o
      gphoto2pp::FloatWidget::setValue(float const&) in float_widget.cpp.o
      gphoto2pp::IntWidget::setValue(int const&) in int_widget.cpp.o
      gphoto2pp::StringWidget::setValue(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in string_widget.cpp.o
  "_gp_widget_unref", referenced from:
      gphoto2pp::CameraWidgetWrapper::unref() in camera_widget_wrapper.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libs/libgphoto2pp.1.0.0.dylib] Error 1
make[1]: *** [CMakeFiles/gphoto2pp.dir/all] Error 2
make: *** [all] Error 2

fixed