Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linker error #11

Open
Meekohi opened this issue Dec 10, 2012 · 2 comments
Open

linker error #11

Meekohi opened this issue Dec 10, 2012 · 2 comments

Comments

@Meekohi
Copy link

Meekohi commented Dec 10, 2012

Follow up from issue #10,

Installed newest Quartz from scratch: XQuartz 2.7.4 (xorg-server 1.13.0), but I seem to be missing links to gtk related stuff. Any advice?

Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fontconfig', required by 'Pango FT2 and Pango Fc', not found
g++ -w -o bin/VisualSFM build/canny.o build/BasicImage.o build/BitmapRGBI.o build/BitmapUtil.o build/FeaturePoints.o build/fivesolver.o build/GLContext.o build/GlobalTasks.o build/GlobalUtil.o build/glwin.o build/ImageRep.o build/ImageRepD.o build/ImageRepGL.o build/ImageRepGLX.o build/ImageRepPJ.o build/ImageRepR.o build/ImageRepVP.o build/ImageRepX.o build/ImageRepN.o build/SweepSurface.o build/SweepSurfaceGL.o build/SweepProfile.o build/SweepSurfaceD.o build/MatcherEXT.o build/MatchFile.o build/MatchThread.o build/NViewMatcher.o build/NViewMatcherGL.o build/OpenJPEG.o build/PhotoINFO.o build/PMatrix.o build/StdAfx.o build/tls.o build/TwoViewMatcher.o build/TwoViewMatcherGL.o build/MatrixUtil.o build/SimpleFit.o build/VisionUtil.o build/RegisterGUI.o build/register.o -L/private/tmp/iromu/VisualSFM.app/Contents/Resources/lib -L/opt/X11/lib -pthread -lGL -lGLU -lX11 -ldl  lib/lapack.a lib/blas.a lib/libf2c.a lib/libjpeg.a 
Undefined symbols for architecture x86_64:
  "_g_cclosure_new", referenced from:
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_g_free", referenced from:
      RegisterWin::__FileChooserPreview(_GtkFileChooser*, void*)   in RegisterGUI.o
      RegisterWin::GetSaveFile(char const*, char const*)in RegisterGUI.o
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_g_list_free", referenced from:
      RegisterWin::OnAbout()      in RegisterGUI.o
  "_g_object_get", referenced from:
      RegisterWin::OnAbout()      in RegisterGUI.o
      RegisterWin::__HandleMenuEvent(_GtkAction*, void*)   in RegisterGUI.o
  "_g_object_get_data", referenced from:
      RegisterWin::UpdateCommandUI()       in RegisterGUI.o
      RegisterWin::__HandleToolButtonEvent(_GtkWidget*, RegisterWin*)in RegisterGUI.o
      RegisterWin::__HandleMenuEvent(_GtkAction*, void*)   in RegisterGUI.o
  "_g_object_set", referenced from:
      RegisterWin::CreateInstance()       in RegisterGUI.o
  "_g_object_set_data", referenced from:
      RegisterWin::CreateToolBar()       in RegisterGUI.o
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_g_object_set_property", referenced from:
      RegisterWin::__HandleCommandBoxEvent(_GtkWidget*, _GdkEvent*, RegisterWin*)in RegisterGUI.o
  "_g_object_unref", referenced from:
      GlobalUtil::SetBitmapToClipboard(BitmapRGBI&)        in GlobalUtil.o
      RegisterWin::__FileChooserPreview(_GtkFileChooser*, void*)   in RegisterGUI.o
      RegisterWin::LoadToolbarImage(std::vector<int, std::allocator<int> >&)in RegisterGUI.o
  "_g_signal_connect_data", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
      RegisterWin::CreateToolBar()       in RegisterGUI.o
      RegisterWin::PrepareWindow()       in RegisterGUI.o
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_g_signal_handlers_block_matched", referenced from:
      RegisterWin::UpdateCommandUI()       in RegisterGUI.o
  "_g_signal_handlers_unblock_matched", referenced from:
      RegisterWin::UpdateCommandUI()       in RegisterGUI.o
  "_g_signal_lookup", referenced from:
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_g_signal_override_class_closure", referenced from:
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_g_slist_free", referenced from:
      RegisterWin::GetSaveFile(char const*, char const*)in RegisterGUI.o
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_g_slist_length", referenced from:
      RegisterWin::GetSaveFile(char const*, char const*)in RegisterGUI.o
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_g_slist_nth_data", referenced from:
      RegisterWin::GetSaveFile(char const*, char const*)in RegisterGUI.o
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_g_thread_init", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
  "_g_type_check_instance_cast", referenced from:
      GlobalTasks::GlobalFlushTaskMsg(int)    in GlobalTasks.o
      GlobalTasks::SendStringToGUI(char const*, bool)in GlobalTasks.o
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
      GlobalTasks::MoveTaskViewer(_GtkWidget*, int, bool)in GlobalTasks.o
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
      GlobalUtil::SetBitmapToClipboard(BitmapRGBI&)        in GlobalUtil.o
      RegisterWin::__FileChooserPreview(_GtkFileChooser*, void*)   in RegisterGUI.o
      ...
  "_g_type_class_ref", referenced from:
      RegisterWin::CreateInstance()       in RegisterGUI.o
  "_g_type_class_unref", referenced from:
      RegisterWin::CreateInstance()       in RegisterGUI.o
  "_gdk_cursor_new", referenced from:
      GlPaintWin::ChangeCursor(int, int)in glwin.o
  "_gdk_event_free", referenced from:
      RegisterWin::NotifyInterfaceUpdate()       in RegisterGUI.o
      RegisterWin::TaskThreadProc(unsigned int)in RegisterGUI.o
      RegisterWin::HandleCommandTextNV(char const*)in RegisterGUI.o
      RegisterWin::HandleCommandMisc(unsigned int)in RegisterGUI.o
      RegisterWin::HandleCommandText()       in RegisterGUI.o
  "_gdk_event_new", referenced from:
      RegisterWin::NotifyInterfaceUpdate()       in RegisterGUI.o
      RegisterWin::TaskThreadProc(unsigned int)in RegisterGUI.o
      RegisterWin::HandleCommandTextNV(char const*)in RegisterGUI.o
      RegisterWin::HandleCommandMisc(unsigned int)in RegisterGUI.o
      RegisterWin::HandleCommandText()       in RegisterGUI.o
  "_gdk_event_put", referenced from:
      RegisterWin::NotifyInterfaceUpdate()       in RegisterGUI.o
      RegisterWin::TaskThreadProc(unsigned int)in RegisterGUI.o
      RegisterWin::HandleCommandTextNV(char const*)in RegisterGUI.o
      RegisterWin::HandleCommandMisc(unsigned int)in RegisterGUI.o
      RegisterWin::HandleCommandText()       in RegisterGUI.o
  "_gdk_get_default_root_window", referenced from:
      GlPaintWin::ChangeCursor(int, int)in glwin.o
  "_gdk_pixbuf_add_alpha", referenced from:
      RegisterWin::OnAbout()      in RegisterGUI.o
      RegisterWin::LoadToolbarImage(std::vector<int, std::allocator<int> >&)in RegisterGUI.o
  "_gdk_pixbuf_new_from_data", referenced from:
      GlobalUtil::SetBitmapToClipboard(BitmapRGBI&)        in GlobalUtil.o
  "_gdk_pixbuf_new_from_file_at_size", referenced from:
      RegisterWin::__FileChooserPreview(_GtkFileChooser*, void*)   in RegisterGUI.o
  "_gdk_pixbuf_new_from_xpm_data", referenced from:
      RegisterWin::OnAbout()      in RegisterGUI.o
      RegisterWin::LoadToolbarImage(std::vector<int, std::allocator<int> >&)in RegisterGUI.o
  "_gdk_pixbuf_unref", referenced from:
      RegisterWin::OnAbout()      in RegisterGUI.o
      RegisterWin::LoadToolbarImage(std::vector<int, std::allocator<int> >&)in RegisterGUI.o
  "_gdk_screen_get_height", referenced from:
      GlobalTasks::MoveTaskViewer(_GtkWidget*, int, bool)in GlobalTasks.o
  "_gdk_screen_get_width", referenced from:
      GlobalTasks::MoveTaskViewer(_GtkWidget*, int, bool)in GlobalTasks.o
  "_gdk_threads_enter", referenced from:
      GlobalTasks::GlobalFlushTaskMsg(int)    in GlobalTasks.o
      GlobalTasks::SendStringToGUI(char const*, bool)in GlobalTasks.o
      RegisterWin::TaskThreadProc(unsigned int)in RegisterGUI.o
      _main in register.o
  "_gdk_threads_init", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
  "_gdk_threads_leave", referenced from:
      GlobalTasks::GlobalFlushTaskMsg(int)    in GlobalTasks.o
      GlobalTasks::SendStringToGUI(char const*, bool)in GlobalTasks.o
      RegisterWin::TaskThreadProc(unsigned int)in RegisterGUI.o
      _main in register.o
  "_gdk_window_add_filter", referenced from:
      RegisterWin::CreatePaintWnd()       in RegisterGUI.o
  "_gdk_window_foreign_new", referenced from:
      RegisterWin::CreatePaintWnd()       in RegisterGUI.o
  "_gdk_window_get_frame_extents", referenced from:
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
      GlobalTasks::MoveTaskViewer(_GtkWidget*, int, bool)in GlobalTasks.o
      RegisterWin::OnAbout()      in RegisterGUI.o
  "_gdk_window_move_resize", referenced from:
      RegisterWin::__HandlePaintWidgetEvent(_GtkWidget*, _GdkEvent*, RegisterWin*)in RegisterGUI.o
  "_gdk_window_set_cursor", referenced from:
      GlPaintWin::ChangeCursor(int, int)in glwin.o
  "_gdk_window_set_functions", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
  "_gdk_window_show", referenced from:
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_gdk_x11_drawable_get_xdisplay", referenced from:
      RegisterWin::CreatePaintWnd()       in RegisterGUI.o
  "_gdk_x11_drawable_get_xid", referenced from:
      RegisterWin::CreatePaintWnd()       in RegisterGUI.o
  "_gdk_x11_window_get_drawable_impl", referenced from:
      RegisterWin::CreatePaintWnd()       in RegisterGUI.o
  "_gtk_action_group_add_actions", referenced from:
      RegisterWin::CreateToolBar()       in RegisterGUI.o
  "_gtk_action_group_add_toggle_actions", referenced from:
      RegisterWin::CreateToolBar()       in RegisterGUI.o
  "_gtk_action_group_get_action", referenced from:
      RegisterWin::UpdateCommandUI()       in RegisterGUI.o
  "_gtk_action_group_new", referenced from:
      RegisterWin::CreateToolBar()       in RegisterGUI.o
  "_gtk_adjustment_get_upper", referenced from:
      GlobalTasks::SendStringToGUI(char const*, bool)in GlobalTasks.o
  "_gtk_adjustment_set_value", referenced from:
      GlobalTasks::SendStringToGUI(char const*, bool)in GlobalTasks.o
  "_gtk_box_get_type", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
      RegisterWin::ShowCommandBox()       in RegisterGUI.o
      RegisterWin::CreateToolBar()       in RegisterGUI.o
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_gtk_box_pack_end", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_gtk_box_pack_start", referenced from:
      RegisterWin::ShowCommandBox()       in RegisterGUI.o
      RegisterWin::CreateToolBar()       in RegisterGUI.o
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_gtk_box_reorder_child", referenced from:
      RegisterWin::ShowCommandBox()       in RegisterGUI.o
  "_gtk_clipboard_get", referenced from:
      GlobalUtil::SetBitmapToClipboard(BitmapRGBI&)        in GlobalUtil.o
  "_gtk_clipboard_set_image", referenced from:
      GlobalUtil::SetBitmapToClipboard(BitmapRGBI&)        in GlobalUtil.o
  "_gtk_clipboard_store", referenced from:
      GlobalUtil::SetBitmapToClipboard(BitmapRGBI&)        in GlobalUtil.o
  "_gtk_container_add", referenced from:
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_gtk_container_get_children", referenced from:
      RegisterWin::OnAbout()      in RegisterGUI.o
  "_gtk_container_get_type", referenced from:
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
      RegisterWin::OnAbout()      in RegisterGUI.o
      RegisterWin::CreateToolBar()       in RegisterGUI.o
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_gtk_container_set_border_width", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
      RegisterWin::CreateToolBar()       in RegisterGUI.o
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_gtk_container_set_focus_child", referenced from:
      RegisterWin::CreateToolBar()       in RegisterGUI.o
  "_gtk_dialog_get_content_area", referenced from:
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
      RegisterWin::OnAbout()      in RegisterGUI.o
  "_gtk_dialog_get_type", referenced from:
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
      RegisterWin::OnAbout()      in RegisterGUI.o
      RegisterWin::GetSaveFile(char const*, char const*)in RegisterGUI.o
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_gtk_dialog_new", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
  "_gtk_dialog_new_with_buttons", referenced from:
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
  "_gtk_dialog_run", referenced from:
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
      RegisterWin::OnAbout()      in RegisterGUI.o
      RegisterWin::GetSaveFile(char const*, char const*)in RegisterGUI.o
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_gtk_drawing_area_new", referenced from:
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_gtk_entry_get_text", referenced from:
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
      RegisterWin::__HandleCommandBoxEvent(_GtkWidget*, _GdkEvent*, RegisterWin*)in RegisterGUI.o
  "_gtk_entry_get_type", referenced from:
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
      RegisterWin::__HandleCommandBoxEvent(_GtkWidget*, _GdkEvent*, RegisterWin*)in RegisterGUI.o
  "_gtk_entry_new", referenced from:
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_gtk_entry_set_text", referenced from:
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
      RegisterWin::__HandleCommandBoxEvent(_GtkWidget*, _GdkEvent*, RegisterWin*)in RegisterGUI.o
  "_gtk_file_chooser_add_filter", referenced from:
      XFileOpen::SetPatternList(_GtkWidget*, char const*)in RegisterGUI.o
  "_gtk_file_chooser_dialog_new", referenced from:
      RegisterWin::GetSaveFile(char const*, char const*)in RegisterGUI.o
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_gtk_file_chooser_get_filename", referenced from:
      RegisterWin::GetSaveFile(char const*, char const*)in RegisterGUI.o
  "_gtk_file_chooser_get_filenames", referenced from:
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_gtk_file_chooser_get_filter", referenced from:
      RegisterWin::GetSaveFile(char const*, char const*)in RegisterGUI.o
  "_gtk_file_chooser_get_preview_filename", referenced from:
      RegisterWin::__FileChooserPreview(_GtkFileChooser*, void*)   in RegisterGUI.o
  "_gtk_file_chooser_get_type", referenced from:
      XFileOpen::SetPatternList(_GtkWidget*, char const*)in RegisterGUI.o
      RegisterWin::GetSaveFile(char const*, char const*)in RegisterGUI.o
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_gtk_file_chooser_list_filters", referenced from:
      RegisterWin::GetSaveFile(char const*, char const*)in RegisterGUI.o
  "_gtk_file_chooser_set_do_overwrite_confirmation", referenced from:
      RegisterWin::GetSaveFile(char const*, char const*)in RegisterGUI.o
  "_gtk_file_chooser_set_preview_widget", referenced from:
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_gtk_file_chooser_set_preview_widget_active", referenced from:
      RegisterWin::__FileChooserPreview(_GtkFileChooser*, void*)   in RegisterGUI.o
  "_gtk_file_chooser_set_select_multiple", referenced from:
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_gtk_file_filter_add_pattern", referenced from:
      XFileOpen::SetPatternList(_GtkWidget*, char const*)in RegisterGUI.o
  "_gtk_file_filter_new", referenced from:
      XFileOpen::SetPatternList(_GtkWidget*, char const*)in RegisterGUI.o
  "_gtk_file_filter_set_name", referenced from:
      XFileOpen::SetPatternList(_GtkWidget*, char const*)in RegisterGUI.o
  "_gtk_icon_factory_add", referenced from:
      RegisterWin::LoadToolbarImage(std::vector<int, std::allocator<int> >&)in RegisterGUI.o
  "_gtk_icon_factory_add_default", referenced from:
      RegisterWin::LoadToolbarImage(std::vector<int, std::allocator<int> >&)in RegisterGUI.o
  "_gtk_icon_factory_new", referenced from:
      RegisterWin::LoadToolbarImage(std::vector<int, std::allocator<int> >&)in RegisterGUI.o
  "_gtk_icon_set_new_from_pixbuf", referenced from:
      RegisterWin::LoadToolbarImage(std::vector<int, std::allocator<int> >&)in RegisterGUI.o
  "_gtk_icon_set_unref", referenced from:
      RegisterWin::LoadToolbarImage(std::vector<int, std::allocator<int> >&)in RegisterGUI.o
  "_gtk_image_get_type", referenced from:
      RegisterWin::__FileChooserPreview(_GtkFileChooser*, void*)   in RegisterGUI.o
  "_gtk_image_menu_item_get_type", referenced from:
      RegisterWin::CreateInstance()       in RegisterGUI.o
  "_gtk_image_new", referenced from:
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_gtk_image_new_from_pixbuf", referenced from:
      RegisterWin::OnAbout()      in RegisterGUI.o
  "_gtk_image_set_from_pixbuf", referenced from:
      RegisterWin::__FileChooserPreview(_GtkFileChooser*, void*)   in RegisterGUI.o
  "_gtk_init", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
  "_gtk_label_get_type", referenced from:
      RegisterWin::OnAbout()      in RegisterGUI.o
  "_gtk_label_set_line_wrap", referenced from:
      RegisterWin::OnAbout()      in RegisterGUI.o
  "_gtk_main", referenced from:
      _main in register.o
  "_gtk_main_quit", referenced from:
      RegisterWin::__HandleMainEvent(_GtkWidget*, _GdkEvent*, RegisterWin*)in RegisterGUI.o
      RegisterWin::HandleCommandMisc(unsigned int)in RegisterGUI.o
  "_gtk_message_dialog_format_secondary_markup", referenced from:
      RegisterWin::OnAbout()      in RegisterGUI.o
  "_gtk_message_dialog_get_type", referenced from:
      RegisterWin::OnAbout()      in RegisterGUI.o
  "_gtk_message_dialog_new", referenced from:
      RegisterWin::OnAbout()      in RegisterGUI.o
  "_gtk_message_dialog_set_image", referenced from:
      RegisterWin::OnAbout()      in RegisterGUI.o
  "_gtk_message_dialog_set_markup", referenced from:
      RegisterWin::OnAbout()      in RegisterGUI.o
  "_gtk_misc_get_type", referenced from:
      RegisterWin::OnAbout()      in RegisterGUI.o
  "_gtk_misc_set_alignment", referenced from:
      RegisterWin::OnAbout()      in RegisterGUI.o
  "_gtk_rc_parse_string", referenced from:
      RegisterWin::CreateInstance()       in RegisterGUI.o
  "_gtk_recent_manager_get_default", referenced from:
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_gtk_recent_manager_get_type", referenced from:
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_gtk_scrolled_window_add_with_viewport", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
  "_gtk_scrolled_window_get_type", referenced from:
      GlobalTasks::SendStringToGUI(char const*, bool)in GlobalTasks.o
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
  "_gtk_scrolled_window_get_vadjustment", referenced from:
      GlobalTasks::SendStringToGUI(char const*, bool)in GlobalTasks.o
  "_gtk_scrolled_window_new", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
  "_gtk_scrolled_window_set_policy", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
  "_gtk_separator_tool_item_new", referenced from:
      RegisterWin::CreateToolBar()       in RegisterGUI.o
  "_gtk_settings_get_default", referenced from:
      RegisterWin::CreateInstance()       in RegisterGUI.o
  "_gtk_settings_set_string_property", referenced from:
      RegisterWin::CreateInstance()       in RegisterGUI.o
  "_gtk_statusbar_get_type", referenced from:
      RegisterWin::SetStatusbarMSG(char const*)in RegisterGUI.o
  "_gtk_statusbar_new", referenced from:
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_gtk_statusbar_pop", referenced from:
      RegisterWin::SetStatusbarMSG(char const*)in RegisterGUI.o
  "_gtk_statusbar_push", referenced from:
      RegisterWin::SetStatusbarMSG(char const*)in RegisterGUI.o
  "_gtk_text_buffer_delete", referenced from:
      GlobalTasks::GlobalFlushTaskMsg(int)    in GlobalTasks.o
  "_gtk_text_buffer_get_end_iter", referenced from:
      GlobalTasks::SendStringToGUI(char const*, bool)in GlobalTasks.o
  "_gtk_text_buffer_get_iter_at_line", referenced from:
      GlobalTasks::GlobalFlushTaskMsg(int)    in GlobalTasks.o
  "_gtk_text_buffer_get_line_count", referenced from:
      GlobalTasks::GlobalFlushTaskMsg(int)    in GlobalTasks.o
  "_gtk_text_buffer_get_start_iter", referenced from:
      GlobalTasks::GlobalFlushTaskMsg(int)    in GlobalTasks.o
  "_gtk_text_buffer_get_type", referenced from:
      GlobalTasks::GlobalFlushTaskMsg(int)    in GlobalTasks.o
      GlobalTasks::SendStringToGUI(char const*, bool)in GlobalTasks.o
  "_gtk_text_buffer_insert", referenced from:
      GlobalTasks::SendStringToGUI(char const*, bool)in GlobalTasks.o
  "_gtk_text_buffer_set_text", referenced from:
      GlobalTasks::GlobalFlushTaskMsg(int)    in GlobalTasks.o
  "_gtk_text_view_get_buffer", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
  "_gtk_text_view_get_type", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
  "_gtk_text_view_new", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
  "_gtk_text_view_set_editable", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
  "_gtk_text_view_set_left_margin", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
  "_gtk_text_view_set_right_margin", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
  "_gtk_text_view_set_wrap_mode", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
  "_gtk_toggle_action_get_active", referenced from:
      RegisterWin::UpdateCommandUI()       in RegisterGUI.o
  "_gtk_toggle_action_get_type", referenced from:
      RegisterWin::UpdateCommandUI()       in RegisterGUI.o
  "_gtk_toggle_action_set_active", referenced from:
      RegisterWin::UpdateCommandUI()       in RegisterGUI.o
  "_gtk_toggle_tool_button_get_active", referenced from:
      RegisterWin::UpdateCommandUI()       in RegisterGUI.o
  "_gtk_toggle_tool_button_get_type", referenced from:
      RegisterWin::UpdateCommandUI()       in RegisterGUI.o
  "_gtk_toggle_tool_button_new_from_stock", referenced from:
      RegisterWin::CreateToolBar()       in RegisterGUI.o
  "_gtk_toggle_tool_button_set_active", referenced from:
      RegisterWin::UpdateCommandUI()       in RegisterGUI.o
  "_gtk_tool_item_set_tooltip_text", referenced from:
      RegisterWin::CreateToolBar()       in RegisterGUI.o
  "_gtk_toolbar_get_type", referenced from:
      RegisterWin::CreateToolBar()       in RegisterGUI.o
  "_gtk_toolbar_insert", referenced from:
      RegisterWin::CreateToolBar()       in RegisterGUI.o
  "_gtk_toolbar_new", referenced from:
      RegisterWin::CreateToolBar()       in RegisterGUI.o
  "_gtk_toolbar_set_style", referenced from:
      RegisterWin::CreateToolBar()       in RegisterGUI.o
  "_gtk_ui_manager_add_ui_from_string", referenced from:
      RegisterWin::CreateToolBar()       in RegisterGUI.o
  "_gtk_ui_manager_get_widget", referenced from:
      RegisterWin::HideSecretFeatures()       in RegisterGUI.o
      RegisterWin::CreateToolBar()       in RegisterGUI.o
  "_gtk_ui_manager_insert_action_group", referenced from:
      RegisterWin::CreateToolBar()       in RegisterGUI.o
  "_gtk_ui_manager_new", referenced from:
      RegisterWin::CreateToolBar()       in RegisterGUI.o
  "_gtk_vbox_new", referenced from:
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_gtk_widget_add_events", referenced from:
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_gtk_widget_destroy", referenced from:
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
      GlobalTasks::TerminateTaskViewer()       in GlobalTasks.o
      RegisterWin::HideSecretFeatures()       in RegisterGUI.o
      RegisterWin::OnAbout()      in RegisterGUI.o
      RegisterWin::GetSaveFile(char const*, char const*)in RegisterGUI.o
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
      RegisterWin::__HandleMainEvent(_GtkWidget*, _GdkEvent*, RegisterWin*)in RegisterGUI.o
      ...
  "_gtk_widget_draw", referenced from:
      RegisterWin::SetStatusbarMSG(char const*)in RegisterGUI.o
  "_gtk_widget_get_parent", referenced from:
      RegisterWin::ShowCommandBox()       in RegisterGUI.o
  "_gtk_widget_get_screen", referenced from:
      GlobalTasks::MoveTaskViewer(_GtkWidget*, int, bool)in GlobalTasks.o
  "_gtk_widget_get_type", referenced from:
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
      GlobalTasks::MoveTaskViewer(_GtkWidget*, int, bool)in GlobalTasks.o
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
      RegisterWin::__FileChooserPreview(_GtkFileChooser*, void*)   in RegisterGUI.o
      RegisterWin::SetStatusbarMSG(char const*)in RegisterGUI.o
      RegisterWin::CreatePaintWnd()       in RegisterGUI.o
      RegisterWin::OnAbout()      in RegisterGUI.o
      ...
  "_gtk_widget_get_visible", referenced from:
      GlobalTasks::MoveTaskViewer(_GtkWidget*, int, bool)in GlobalTasks.o
      GlobalTasks::ShowTaskViewer(int)    in GlobalTasks.o
      RegisterWin::__HandleMainEvent(_GtkWidget*, _GdkEvent*, RegisterWin*)in RegisterGUI.o
      RegisterWin::_PaintWndProc(_XEvent*)       in RegisterGUI.o
  "_gtk_widget_get_window", referenced from:
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
      GlobalTasks::MoveTaskViewer(_GtkWidget*, int, bool)in GlobalTasks.o
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
      RegisterWin::CreatePaintWnd()       in RegisterGUI.o
      RegisterWin::OnAbout()      in RegisterGUI.o
      RegisterWin::NotifyInterfaceUpdate()       in RegisterGUI.o
      RegisterWin::TaskThreadProc(unsigned int)in RegisterGUI.o
      ...
  "_gtk_widget_grab_focus", referenced from:
      RegisterWin::GetSaveFile(char const*, char const*)in RegisterGUI.o
      RegisterWin::GetOpenFilePreview(char const*, char const*, int, int)in RegisterGUI.o
  "_gtk_widget_hide", referenced from:
      GlobalTasks::MoveTaskViewer(_GtkWidget*, int, bool)in GlobalTasks.o
      GlobalTasks::ShowTaskViewer(int)    in GlobalTasks.o
      RegisterWin::UpdateCommandUI()       in RegisterGUI.o
      RegisterWin::__HandleCommandBoxEvent(_GtkWidget*, _GdkEvent*, RegisterWin*)in RegisterGUI.o
  "_gtk_widget_hide_on_delete", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
  "_gtk_widget_realize", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_gtk_widget_set_can_focus", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
      RegisterWin::ShowCommandBox()       in RegisterGUI.o
  "_gtk_widget_show", referenced from:
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
      GlobalTasks::MoveTaskViewer(_GtkWidget*, int, bool)in GlobalTasks.o
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
      RegisterWin::UpdateCommandUI()       in RegisterGUI.o
      RegisterWin::ShowCommandBox()       in RegisterGUI.o
      RegisterWin::OnAbout()      in RegisterGUI.o
  "_gtk_widget_show_all", referenced from:
      GlobalTasks::ShowTaskViewer(int)    in GlobalTasks.o
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_gtk_window_get_size", referenced from:
      RegisterWin::SetViewDimension(int, int)in RegisterGUI.o
  "_gtk_window_get_type", referenced from:
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
      GlobalTasks::MoveTaskViewer(_GtkWidget*, int, bool)in GlobalTasks.o
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
      RegisterWin::SetViewDimension(int, int)in RegisterGUI.o
      RegisterWin::ShowCommandBox()       in RegisterGUI.o
      RegisterWin::OnAbout()      in RegisterGUI.o
      RegisterWin::GetSaveFile(char const*, char const*)in RegisterGUI.o
      ...
  "_gtk_window_move", referenced from:
      GlobalTasks::GetTextInput(_GtkWidget*, char*, int, char const*, char const*)in GlobalTasks.o
      GlobalTasks::MoveTaskViewer(_GtkWidget*, int, bool)in GlobalTasks.o
      RegisterWin::OnAbout()      in RegisterGUI.o
  "_gtk_window_new", referenced from:
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_gtk_window_resize", referenced from:
      RegisterWin::SetViewDimension(int, int)in RegisterGUI.o
  "_gtk_window_set_default_size", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_gtk_window_set_focus", referenced from:
      RegisterWin::ShowCommandBox()       in RegisterGUI.o
  "_gtk_window_set_keep_above", referenced from:
      RegisterWin::HandleCommandMisc(unsigned int)in RegisterGUI.o
  "_gtk_window_set_position", referenced from:
      RegisterWin::PrepareWindow()       in RegisterGUI.o
  "_gtk_window_set_title", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
      RegisterWin::OnAbout()      in RegisterGUI.o
      RegisterWin::PrepareWindow()       in RegisterGUI.o
      RegisterWin::PaintViewUpdate(int)    in RegisterGUI.o
  "_gtk_window_set_type_hint", referenced from:
      GlobalTasks::InitTaskViewer(char const*, int)in GlobalTasks.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
@afdreher
Copy link

I'm pretty sure this is caused by the fontconfig pkg being removed from the local brew list. I've modified the scripts in my fork to build on my system without issue. I'm not sure it works in general though. I'm using the following config/environment:
CPU: quad-core 64-bit sandybridge (Macbook Air mid-2011)
OS X: 10.7.5-x86-64
X11: 2.6.4 (aka /usr/X11)
Xcode: 4.4

The way I found the issues were using "pkg-config --cflags gtk+-2.0" and "pkg-config --libs gtk+-2.0 gthread-2.0" to find the package / linking errors. When you run the makefile, these tend to fail somewhat silently.

After correcting a few minor issues, I've had VisualSFM working fine on some fairly large image sets.

@Jmuccigr
Copy link

I was having these errors too, so I used brew to install and then made sure it was linked by

brew link fontconfig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants