by Torkel » 04 Jul 2012 21:26
Hi, great thanks for undertaking this project.
I tried your script yesterday and got a failed install (which was not surprising since you said there are problems).
Today I tried again, and I get this:
$ ./scripts/all
Unpacking objects: 100% (5/5), done.
Updated Homebrew from 94040fb4 to 43bf1754.
==> Updated Formula
cgal
/private/tmp/iromu/VisualSFM.app/Contents/Resources/bin:/private/tmp/iromu/VisualSFM.app/Contents/Resources/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11/bin
Archive: VisualSFM_osx_64bit.zip
creating: vsfm/
creating: vsfm/bin/
creating: vsfm/build/
creating: vsfm/lib/
inflating: vsfm/lib/blas.a
inflating: vsfm/lib/lapack.a
inflating: vsfm/lib/libf2c.a
inflating: vsfm/lib/libjpeg.a
inflating: vsfm/lib/VisualSFM.a
inflating: vsfm/makefile
inflating: vsfm/README
Patching vsfm makefile
rm -f build/*.o
rm -f bin/VisualSFM
mkdir -p build
mkdir -p bin
cd build; ar -x ../lib/VisualSFM.a; cd ..;
make: /private/tmp/iromu/VisualSFM.app/Contents/Resources/bin/pkg-config: Command 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/Image3D.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/MatcherEXT.o build/MatchFile.o build/MatchThread.o build/Model3D.o build/NViewMatcher.o build/NViewMatcherGL.o build/OpenJPEG.o build/PhotoINFO.o build/PMatrix.o build/ProjectVipGL.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:
"_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
"_gtk_text_buffer_get_type", referenced from:
GlobalTasks::GlobalFlushTaskMsg(int) in GlobalTasks.o
GlobalTasks::SendStringToGUI(char const*, bool)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
...
...it just goes on after this. Any thought on what might have gone wrong for me? I installed homebrew and brew doctor complained about my macports and xcode compiler version and pkg-config version. But I fixed all those things and still get this same error.