Open 3ahptk opened 9 years ago
Hi 3ahptk,
I am on Yosemite too and just compiled without errors. did you try to do a
brew info jpeg
is jpeg installed?
Denis
Yes, its already installed
jpeg: stable 8d (bottled)
http://www.ijg.org
/usr/local/Cellar/jpeg/8d (18 files, 1.3M) *
Built from source with: --universal
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/jpeg.rb
==> Options
--universal
Build a universal binary
when I try installing I get
$ brew install jpeg
Warning: jpeg-8d already installed
Ok I figured it out;
$ brew unlink jpeg
$ brew link jpeg
and then ran the shell script and it worked for some reason
Now that it is compiled I am getting this error when I try to run VisualSFM:
$ ./VisualSFM
dyld: Library not loaded: /usr/local/lib/libatk-1.0.0.dylib
Referenced from: ~/Downloads/VisualSFM_OS_X_Mavericks_Installer-master/vsfm/bin/./VisualSFM
Reason: image not found
Trace/BPT trap: 5
Hi I just installed on a new 5k iMac running Yosemite, the only issue I see is that XQuartz 2.7.6 doesn't install properly. I'll fix the script soon, but just make sure you have exactly that version... once it's installed make sure you log out and back in to keep on installing. Let me know how you go.
that must be it; i'm running XQuartz 2.7.7
GlobalTasks::InitLogWindow(char const_, int) in GlobalTasks.o ld: symbol(s) not found for architecture x8664 collect2: error: ld returned 1 exit status make: ** [VisualSFM] Error 1 VSFM application failed to build, halting.
en el proceso de compilación me da este error. Eres tan amable de explicarme que estoy haciendo mal? Muchisimas gracias, estoy altamente frustrado
in the compilation process gives me this error. You are kindly explain what I'm doing wrong? Thank you so much, I am highly frustrated
GlobalTasks::InitLogWindow(char const, int) in GlobalTasks.o ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status make: \ [VisualSFM] Error 1 VSFM application failed to build, halting.
send me the full log perhaps, I can't tell what's going on. You're running Mavericks or Yosemite?
Thank you for your interest in answer. Registration is long. If I try to run in Yosemite. In the repository https://gist.github.com/patriciogonzalezvivo/0cc2d0fb6e9af9040eff, is said to make a small change to the script of Dan's Monaghan wrote a script VisualSfM That will compile on MacOS you. But it is impossible, always gives me an errror, though of course not that small change make this script. many thanks
Ayuda por favor: Este es el registro completo del error al ser instalado: Gracias nuevamente.
Dan Monaghan's VSFM and PMVS installer for OS X
About to check to see if you have the Brew Package Manager
Great, you've got brew... Continuing
wget is already installed, OK
About to install xcode select
Hit Enter after it's installed
Usage: xcode-select -print-path
or: xcode-select -switch
Not good...
Your version of XQuartz is 2.7.6 - perfect.
Ok, now you have to should have either...
Ready to continue the next installation of VSFM & PMVS (press ENTER)
Installing Brew packages... this can take quite a long time
Warning: jpeg-8d already installed, it's just not linked
Warning: You seem to have osx-gcc-installer installed.
Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and
is an unlicensed distribution of really old Xcode files.
Please run xcode-select --install
to install the CLT.
Warning: You have an outdated version of /usr/bin/install_name_tool installed.
This will cause binary package installations to fail.
This can happen if you install osx-gcc-installer or RailsInstaller.
To restore it, you must reinstall OS X or restore the binary from
the OS packages.
Warning: You seem to have osx-gcc-installer installed.
Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and
is an unlicensed distribution of really old Xcode files.
Please run xcode-select --install
to install the CLT.
Warning: You have an outdated version of /usr/bin/install_name_tool installed.
This will cause binary package installations to fail.
This can happen if you install osx-gcc-installer or RailsInstaller.
To restore it, you must reinstall OS X or restore the binary from
the OS packages.
Error: You must brew link jpeg' before gdk-pixbuf can be installed Warning: cairo-1.14.0 already installed Warning: You seem to have osx-gcc-installer installed. Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and is an unlicensed distribution of really old Xcode files. Please run
xcode-select --installto install the CLT. Warning: You have an outdated version of /usr/bin/install_name_tool installed. This will cause binary package installations to fail. This can happen if you install osx-gcc-installer or RailsInstaller. To restore it, you must reinstall OS X or restore the binary from the OS packages. Warning: freetype-2.5.4 already installed Warning: You seem to have osx-gcc-installer installed. Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and is an unlicensed distribution of really old Xcode files. Please run
xcode-select --installto install the CLT. Warning: You have an outdated version of /usr/bin/install_name_tool installed. This will cause binary package installations to fail. This can happen if you install osx-gcc-installer or RailsInstaller. To restore it, you must reinstall OS X or restore the binary from the OS packages. Warning: Already linked: /usr/local/Cellar/freetype/2.5.4 To relink: brew unlink freetype && brew link freetype Warning: pango-1.36.8 already installed Warning: You seem to have osx-gcc-installer installed. Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and is an unlicensed distribution of really old Xcode files. Please run
xcode-select --installto install the CLT. Warning: You have an outdated version of /usr/bin/install_name_tool installed. This will cause binary package installations to fail. This can happen if you install osx-gcc-installer or RailsInstaller. To restore it, you must reinstall OS X or restore the binary from the OS packages. Warning: Already linked: /usr/local/Cellar/pixman/0.32.6 To relink: brew unlink pixman && brew link pixman Warning: Already linked: /usr/local/Cellar/fontconfig/2.11.1 To relink: brew unlink fontconfig && brew link fontconfig Warning: You seem to have osx-gcc-installer installed. Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and is an unlicensed distribution of really old Xcode files. Please run
xcode-select --installto install the CLT. Warning: You have an outdated version of /usr/bin/install_name_tool installed. This will cause binary package installations to fail. This can happen if you install osx-gcc-installer or RailsInstaller. To restore it, you must reinstall OS X or restore the binary from the OS packages. Error: You must
brew link jpeg' before gtk+ can be installed
Warning: glew-1.11.0 already installed
Warning: You seem to have osx-gcc-installer installed.
Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and
is an unlicensed distribution of really old Xcode files.
Please run xcode-select --install
to install the CLT.
Warning: You have an outdated version of /usr/bin/install_name_tool installed.
This will cause binary package installations to fail.
This can happen if you install osx-gcc-installer or RailsInstaller.
To restore it, you must reinstall OS X or restore the binary from
the OS packages.
Warning: gsl-1.16 already installed
Warning: You seem to have osx-gcc-installer installed.
Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and
is an unlicensed distribution of really old Xcode files.
Please run xcode-select --install
to install the CLT.
Warning: You have an outdated version of /usr/bin/install_name_tool installed.
This will cause binary package installations to fail.
This can happen if you install osx-gcc-installer or RailsInstaller.
To restore it, you must reinstall OS X or restore the binary from
the OS packages.
Warning: boost-1.57.0 already installed
Warning: You seem to have osx-gcc-installer installed.
Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and
is an unlicensed distribution of really old Xcode files.
Please run xcode-select --install
to install the CLT.
Warning: You have an outdated version of /usr/bin/install_name_tool installed.
This will cause binary package installations to fail.
This can happen if you install osx-gcc-installer or RailsInstaller.
To restore it, you must reinstall OS X or restore the binary from
the OS packages.
Warning: intltool-0.50.2 already installed
Warning: You seem to have osx-gcc-installer installed.
Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and
is an unlicensed distribution of really old Xcode files.
Please run xcode-select --install
to install the CLT.
Warning: You have an outdated version of /usr/bin/install_name_tool installed.
This will cause binary package installations to fail.
This can happen if you install osx-gcc-installer or RailsInstaller.
To restore it, you must reinstall OS X or restore the binary from
the OS packages.
Warning: cmake-3.1.0 already installed
Warning: You seem to have osx-gcc-installer installed.
Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and
is an unlicensed distribution of really old Xcode files.
Please run xcode-select --install
to install the CLT.
Warning: You have an outdated version of /usr/bin/install_name_tool installed.
This will cause binary package installations to fail.
This can happen if you install osx-gcc-installer or RailsInstaller.
To restore it, you must reinstall OS X or restore the binary from
the OS packages.
Warning: Already tapped!
Warning: gcc48-4.8.3 already installed
Warning: You seem to have osx-gcc-installer installed.
Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and
is an unlicensed distribution of really old Xcode files.
Please run xcode-select --install
to install the CLT.
Warning: You have an outdated version of /usr/bin/install_name_tool installed.
This will cause binary package installations to fail.
This can happen if you install osx-gcc-installer or RailsInstaller.
To restore it, you must reinstall OS X or restore the binary from
the OS packages.
Warning: You seem to have osx-gcc-installer installed.
Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and
is an unlicensed distribution of really old Xcode files.
Please run xcode-select --install
to install the CLT.
Warning: You have an outdated version of /usr/bin/install_name_tool installed.
This will cause binary package installations to fail.
This can happen if you install osx-gcc-installer or RailsInstaller.
To restore it, you must reinstall OS X or restore the binary from
the OS packages.
Error: You must `brew link jpeg' before devil can be installed
VSFM Zip not present, downloading...
--2015-02-12 19:37:27-- http://ccwu.me/vsfm/download/VisualSFM_osx_64bit.zip
Resolving ccwu.me... 50.62.249.1
Connecting to ccwu.me|50.62.249.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3437540 (3.3M) [application/zip]
Saving to: 'VisualSFM_osx_64bit.zip'
VisualSFM_osx_64bit 100%[=====================>] 3.28M 936KB/s in 4.2s
2015-02-12 19:37:32 (806 KB/s) - 'VisualSFM_osx_64bit.zip' saved [3437540/3437540]
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
Changing VSFM GCC to Brews gcc-4.8
Changing /usr/x11/lib to OS X default /opt/x11/lib
About to make...
mkdir -p build
mkdir -p bin
cd build; ar -x ../lib/VisualSFM.a; cd ..;
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIGPATH environment variable
No package 'gtk+-2.0' found
g++-4.8 -w -o bin/VisualSFM build/._ -L/usr/local/lib -L/opt/X11/lib -pthread -lGL -lGLU -lX11 -ldl lib/lapack.a lib/blas.a lib/libf2c.a lib/libjpeg.a
ld: library not found for -lSystem
collect2: error: ld returned 1 exit status
make: *\ [VisualSFM] Error 1
VSFM application failed to build, halting.
I am having a similar issue as jullyams.... the error log is very similar (with exception to the middle highlighted portion) to his error log post. The difference in my error log is in the fourth from the bottom line ld: library not found for -lSystem I have ld: library not found for -lGL
Thanks, Bill
@jullyams @wgglass I ran into the same "gtk+-2.0 was not found" issue. It seems to go away if you run the script again. I now run into a different error, which I will start a new issue on. :-)
@jingxue I ran the script again but I still get the same error. About to make... mkdir -p build mkdir -p bin cd build; ar -x ../lib/VisualSFM.a; cd ..; Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIGPATH environment variable No package 'gtk+-2.0' found g++-4.8 -w -o bin/VisualSFM build/._ -L/usr/local/lib -L/opt/X11/lib -pthread -lGL -lGLU -lX11 -ldl lib/lapack.a lib/blas.a lib/libf2c.a lib/libjpeg.a ld: library not found for -lGL collect2: error: ld returned 1 exit status make: *\ [VisualSFM] Error 1 VSFM application failed to build, halting.
@wgglass hmm... not quite sure then... in my case when I ran it again, it installed a few additional brews, gtk being one of them.
Are you sure you have Xcode fully installed? I ran it on a fresh machine yesterday and everything was fine. The only buggy thing in the script is that XQuartz doesn't detect if the version is correctly installed, in the meantime, make sure XQuartz is at 2.7.6 and not 2.7.7
Hi @luckybulldozer and any helpful folks, I'm having a problem with the build too. Not sure what I'm doing wrong but I would really appreciate any help, thanks in advance! I'm new to this kind of thing but I've tried to follow the Mavericks Installer steps as much as I can (from: https://github.com/luckybulldozer/VisualSFM_OS_X_Installer#visualsfm_os_x_mavericks_installer). I had to install XCode and XQuartz but from the log it looks like they're the right versions... The log I get is:
Dan Monaghan's VSFM and PMVS installer for OS X
About to check to see if you have the Brew Package Manager Great, you've got brew... Continuing wget is already installed, OK About to install xcode select Hit Enter after it's installed xcode-select: note: install requested for command line developer tools Checking we have the right version of XQuartz
Not good...
Your version of XQuartz is 2.7.6 - perfect.
Ok, now you have to should have either...
Ready to continue the next installation of VSFM & PMVS (press ENTER)
Installing Brew packages... this can take quite a long time Warning: jpeg-8d already installed Warning: gdk-pixbuf-2.30.8 already installed ==> Installing dependencies for cairo: fontconfig, pixman ==> Installing cairo dependency: fontconfig ==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.11.1.mavericks ######################################################################## 100.0% ==> Pouring fontconfig-2.11.1.mavericks.bottle.3.tar.gz ==> /usr/local/Cellar/fontconfig/2.11.1/bin/fc-cache -frv 🍺 /usr/local/Cellar/fontconfig/2.11.1: 448 files, 3.6M ==> Installing cairo dependency: pixman ==> Downloading https://homebrew.bintray.com/bottles/pixman-0.32.6.mavericks.bot ######################################################################## 100.0% ==> Pouring pixman-0.32.6.mavericks.bottle.1.tar.gz 🍺 /usr/local/Cellar/pixman/0.32.6: 11 files, 1.4M ==> Installing cairo ==> Downloading https://homebrew.bintray.com/bottles/cairo-1.14.2.mavericks.bott ######################################################################## 100.0% ==> Pouring cairo-1.14.2.mavericks.bottle.tar.gz 🍺 /usr/local/Cellar/cairo/1.14.2: 116 files, 6.7M Warning: freetype-2.5.5 already installed Warning: Already linked: /usr/local/Cellar/freetype/2.5.5 To relink: brew unlink freetype && brew link freetype ==> Installing dependencies for pango: icu4c, harfbuzz ==> Installing pango dependency: icu4c ==> Downloading https://homebrew.bintray.com/bottles/icu4c-54.1.mavericks.bottle ######################################################################## 100.0% ==> Pouring icu4c-54.1.mavericks.bottle.1.tar.gz ==> Caveats This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in parallel can cause all kinds of trouble.
OS X provides libicucore.dylib (but nothing else).
Generally there are no consequences of this for you. If you build your own software and it requires this formula, you'll need to add to your build variables:
LDFLAGS: -L/usr/local/opt/icu4c/lib
CPPFLAGS: -I/usr/local/opt/icu4c/include
==> Summary
🍺 /usr/local/Cellar/icu4c/54.1: 242 files, 65M
==> Installing pango dependency: harfbuzz
==> Downloading https://homebrew.bintray.com/bottles/harfbuzz-0.9.38.mavericks.b
######################################################################## 100.0%
==> Pouring harfbuzz-0.9.38.mavericks.bottle.tar.gz
🍺 /usr/local/Cellar/harfbuzz/0.9.38: 72 files, 3.0M
==> Installing pango
==> Downloading https://homebrew.bintray.com/bottles/pango-1.36.8.mavericks.bott
######################################################################## 100.0%
==> Pouring pango-1.36.8.mavericks.bottle.1.tar.gz
🍺 /usr/local/Cellar/pango/1.36.8: 132 files, 4.8M
Warning: Already linked: /usr/local/Cellar/pixman/0.32.6
To relink: brew unlink pixman && brew link pixman
Warning: Already linked: /usr/local/Cellar/fontconfig/2.11.1
To relink: brew unlink fontconfig && brew link fontconfig
==> Installing gtk+ dependency: atk
==> Downloading https://homebrew.bintray.com/bottles/atk-2.14.0.mavericks.bottle
######################################################################## 100.0%
==> Pouring atk-2.14.0.mavericks.bottle.1.tar.gz
🍺 /usr/local/Cellar/atk/2.14.0: 205 files, 3.5M
==> Installing gtk+
==> Downloading https://homebrew.bintray.com/bottles/gtk+-2.24.25.mavericks.bott
######################################################################## 100.0%
==> Pouring gtk+-2.24.25.mavericks.bottle.tar.gz
🍺 /usr/local/Cellar/gtk+/2.24.25: 1199 files, 59M
Warning: glew-1.11.0 already installed
Warning: gsl-1.16 already installed
Warning: boost-1.57.0 already installed
Warning: intltool-0.50.2 already installed
Warning: cmake-3.2.1 already installed
Warning: Already tapped!
Warning: gcc48-4.8.4 already installed
Warning: devil-1.7.8_1 already installed
Zip file is present, so just unzipping, removing old dir to install so we don't have any conflicts
Archive: VisualSFM_osx64bit.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
Changing VSFM GCC to Brews gcc-4.8
Changing /usr/x11/lib to OS X default /opt/x11/lib
About to make...
mkdir -p build
mkdir -p bin
cd build; ar -x ../lib/VisualSFM.a; cd ..;
make: /usr/local/bin/pkg-config: Command not found
g++-4.8 -w -o bin/VisualSFM build/._ -L/usr/local/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_cclosurenew", 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::__ComboBoxChanged(GtkComboBox, 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_new", referenced from:
RegisterWin::GetTextInput(GtkWidget, char const, char const) in RegisterGUI.o
"_g_objectref", referenced from:
RegisterWin::NotifyInterfaceUpdate() in RegisterGUI.o
RegisterWin::TaskThreadProc(unsigned int) in RegisterGUI.o
RegisterWin::ListenThreadProc(RegisterWin) in RegisterGUI.o
RegisterWin::HandleCommandTextNV(char const_) in RegisterGUI.o
RegisterWin::HandleCommandText() in RegisterGUI.o
RegisterWin::HandleCommandMisc(unsigned int) 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
Exact same issue here on Yosemity.
Always the same error as above mentioned
Point is, it seems not to be xquartz version that's causing this issue.
@PMGH: do check you xquartz version. The log did mention "Not good" after giving you the thumbs up. I had the same message and appeared to have 2.7.7. after all.
Thanks @AloysHosman. I should really have noticed that! I removed the 2.7.7 version and installed the 2.7.6 (then rebooted) and it seems to run fine down to the build. I get 'make: /usr/local/bin/pkg-config: Command not found' and then it eventually halts.
Dan Monaghan's VSFM and PMVS installer for OS X
About to check to see if you have the Brew Package Manager Great, you've got brew... Continuing wget is already installed, OK About to install xcode select Hit Enter after it's installed xcode-select: note: install requested for command line developer tools Checking we have the right version of XQuartz
<string>2.7.6</string>
Good
Your version of XQuartz is 2.7.6 - perfect.
Ok, now you have to should have either...
Ready to continue the next installation of VSFM & PMVS (press ENTER)
Installing Brew packages... this can take quite a long time
Warning: jpeg-8d already installed
Warning: gdk-pixbuf-2.30.8 already installed
Warning: cairo-1.14.2 already installed
Warning: freetype-2.5.5 already installed
Warning: Already linked: /usr/local/Cellar/freetype/2.5.5
To relink: brew unlink freetype && brew link freetype
Warning: pango-1.36.8 already installed
Warning: Already linked: /usr/local/Cellar/pixman/0.32.6
To relink: brew unlink pixman && brew link pixman
Warning: Already linked: /usr/local/Cellar/fontconfig/2.11.1
To relink: brew unlink fontconfig && brew link fontconfig
Warning: gtk+-2.24.25 already installed
Warning: glew-1.11.0 already installed
Warning: gsl-1.16 already installed
Warning: boost-1.57.0 already installed
Warning: intltool-0.50.2 already installed
Warning: cmake-3.2.1 already installed
Warning: Already tapped!
Warning: gcc48-4.8.4 already installed
Warning: devil-1.7.8_1 already installed
Zip file is present, so just unzipping, removing old dir to install so we don't have any conflicts
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
Changing VSFM GCC to Brews gcc-4.8
Changing /usr/x11/lib to OS X default /opt/x11/lib
About to make...
mkdir -p build
mkdir -p bin
cd build; ar -x ../lib/VisualSFM.a; cd ..;
make: /usr/local/bin/pkg-config: Command not found
Update: Installed everything (xcode working, xquartz 2.7.6, reboot) on a different machine (macmini) with yosemity (with latest security updates). Same result:
Changing VSFM GCC to Brews gcc-4.8 Changing /usr/x11/lib to OS X default /opt/x11/lib About to make... mkdir -p build mkdir -p bin cd build; ar -x ../lib/VisualSFM.a; cd ..;make: /usr/local/bin/pkg-config: Command not found g++-4.8 -w -o bin/VisualSFM build/. -L/usr/local/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_cclosurenew", referenced from: RegisterWin::GetOpenFilePreview(char const, char const_, int, int) in RegisterGUI.o
I'm having the same issue. I'm trying to install on Yosemite. I've checked and xquartz 2.7.6 is definitely the version I'm running...
Last login: Fri Apr 3 22:02:58 on ttys000 156-56-66-125:~ Brian$ cd ~/Desktop/VisualSFM/ 156-56-66-125:VisualSFM Brian$ sh vsfm_os_x_installer_mavericks.sh
Dan Monaghan's VSFM and PMVS installer for OS X
About to check to see if you have the Brew Package Manager Great, you've got brew... Continuing wget is already installed, OK About to install xcode select Hit Enter after it's installed xcode-select: error: command line tools are already installed, use "Software Update" to install updates Checking we have the right version of XQuartz
<string>2.7.6</string>
Good
Your version of XQuartz is 2.7.6 - perfect.
Ok, now you have to should have either...
Ready to continue the next installation of VSFM & PMVS (press ENTER)
Installing Brew packages... this can take quite a long time
Warning: jpeg-8d already installed
Warning: gdk-pixbuf-2.30.8 already installed
Warning: cairo-1.14.2 already installed
Warning: freetype-2.5.5 already installed
Warning: Already linked: /usr/local/Cellar/freetype/2.5.5
To relink: brew unlink freetype && brew link freetype
Warning: pango-1.36.8 already installed
Warning: Already linked: /usr/local/Cellar/pixman/0.32.6
To relink: brew unlink pixman && brew link pixman
Warning: Already linked: /usr/local/Cellar/fontconfig/2.11.1
To relink: brew unlink fontconfig && brew link fontconfig
Warning: gtk+-2.24.25 already installed
Warning: glew-1.11.0 already installed
Warning: gsl-1.16 already installed
Warning: boost-1.57.0 already installed
Warning: intltool-0.50.2 already installed
Warning: cmake-3.2.1 already installed
Warning: Already tapped!
Warning: gcc48-4.8.4 already installed
Warning: devil-1.7.8_1 already installed
Zip file is present, so just unzipping, removing old dir to install so we don't have any conflicts
Archive: VisualSFM_osx64bit.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
Changing VSFM GCC to Brews gcc-4.8
Changing /usr/x11/lib to OS X default /opt/x11/lib
About to make...
mkdir -p build
mkdir -p bin
cd build; ar -x ../lib/VisualSFM.a; cd ..;
make: /usr/local/bin/pkg-config: Command not found
g++-4.8 -w -o bin/VisualSFM build/._ -L/usr/local/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_cclosurenew", 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::__ComboBoxChanged(GtkComboBox, 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_new", referenced from:
RegisterWin::GetTextInput(GtkWidget, char const, char const) in RegisterGUI.o
"_g_objectref", referenced from:
RegisterWin::NotifyInterfaceUpdate() in RegisterGUI.o
RegisterWin::TaskThreadProc(unsigned int) in RegisterGUI.o
RegisterWin::ListenThreadProc(RegisterWin) in RegisterGUI.o
RegisterWin::HandleCommandTextNV(char const_) in RegisterGUI.o
RegisterWin::HandleCommandText() in RegisterGUI.o
RegisterWin::HandleCommandMisc(unsigned int) 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
Another failure:
ar rcs bin/libsiftgpu.a build/FrameBufferObject.o build/GlobalUtil.o build/GLTexImage.o build/ProgramGLSL.o build/ProgramGPU.o build/ShaderMan.o build/SiftGPU.o build/SiftPyramid.o build/PyramidGL.o build/SiftMatch.o g++-4.8 -w -o bin/libsiftgpu.so build/FrameBufferObject.o build/GlobalUtil.o build/GLTexImage.o build/ProgramGLSL.o build/ProgramGPU.o build/ShaderMan.o build/SiftGPU.o build/SiftPyramid.o build/PyramidGL.o build/SiftMatch.o -lGLEW -framework GLUT -framework OpenGL -lIL -Iinclude -fPIC -L/usr/lib64 -L/usr/lib -L./bin -L./lib -Wall -Wno-deprecated -pthread -march=core2 -mfpmath=sse -DWINDOW_PREFER_GLUT -L/usr/local/lib -shared -fPIC ld: library not found for -lIL collect2: error: ld returned 1 exit status make: *\ [siftgpu] Error 1 libsiftgpu.so failed to build. Halting.
Hi, Having similar issues here. Uninstalled Quartz to check that and reinstalled 2.7.6, still seems to have the same issue. It installed it all the first run through but now skips everything and gets stuck on the same part at the end. Symbols not found? Here's the Log, help much appreciated. Thanks. Dan Monaghan's VSFM and PMVS installer for OS X
About to check to see if you have the Brew Package Manager Great, you've got brew... Continuing wget is already installed, OK About to install xcode select Hit Enter after it's installed xcode-select: error: command line tools are already installed, use "Software Update" to install updates Checking we have the right version of XQuartz
<string>2.7.6</string>
xquartz_version_result=0 Your version of XQuartz is 2.7.6 - perfect.
Ok, now you have to should have either...
Ready to continue the next installation of VSFM & PMVS (press ENTER)
Installing Brew packages... this can take quite a long time
Warning: jpeg-8d already installed
Warning: gdk-pixbuf-2.30.8 already installed
Warning: cairo-1.14.2_1 already installed
Warning: freetype-2.6 already installed
Warning: Already linked: /usr/local/Cellar/freetype/2.6
To relink: brew unlink freetype && brew link freetype
Warning: pango-1.36.8_1 already installed
Warning: Already linked: /usr/local/Cellar/pixman/0.32.6
To relink: brew unlink pixman && brew link pixman
Warning: Already linked: /usr/local/Cellar/fontconfig/2.11.1
To relink: brew unlink fontconfig && brew link fontconfig
Warning: gtk+-2.24.28_1 already installed
Warning: glew-1.12.0 already installed
Warning: gsl-1.16 already installed
Warning: boost-1.58.0 already installed
Warning: intltool-0.51.0 already installed
Warning: cmake-3.2.3 already installed
Warning: Already tapped!
Warning: homebrew/versions/gcc48-4.8.4 already installed
Warning: devil-1.7.8_1 already installed
Warning: pkg-config-0.28 already installed
Zip file is present, so just unzipping, removing old dir to install so we don't have any conflicts
Archive: VisualSFM_osx64bit.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
Changing VSFM GCC to Brews gcc-4.8
Changing /usr/x11/lib to OS X default /opt/x11/lib
About to make...
mkdir -p build
mkdir -p bin
cd build; ar -x ../lib/VisualSFM.a; cd ..;
g++-4.8 -w -o bin/VisualSFM build/._ -L/usr/local/lib -L/opt/X11/lib -pthread -lGL -lGLU -lX11 -ldl -L/usr/local/Cellar/gtk+/2.24.28_1/lib -L/usr/local/Cellar/pango/1.36.8_1/lib -L/usr/local/Cellar/atk/2.16.0/lib -L/usr/local/Cellar/cairo/1.14.2_1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -lgtk-quartz-2.0 -lgdk-quartz-2.0 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl lib/lapack.a lib/blas.a lib/libf2c.a lib/libjpeg.a
Undefined symbols for architecture x86_64:
"_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
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *\ [VisualSFM] Error 1
VSFM application failed to build, halting.
Having similar issues:
Dan Monaghan's VSFM and PMVS installer for OS X
About to check to see if you have the Brew Package Manager Great, you've got brew... Continuing wget is already installed, OK About to install xcode select Hit Enter after it's installed xcode-select: error: command line tools are already installed, use "Software Update" to install updates Checking we have the right version of XQuartz
<string>2.7.6</string>
xquartz_version_result=0 Your version of XQuartz is 2.7.6 - perfect.
Ok, now you have to should have either...
Ready to continue the next installation of VSFM & PMVS (press ENTER)
Installing Brew packages... this can take quite a long time
Warning: jpeg-8d already installed
Warning: gdk-pixbuf-2.30.8 already installed
Warning: cairo-1.14.2_1 already installed
Warning: freetype-2.6_1 already installed
Warning: Already linked: /usr/local/Cellar/freetype/2.6_1
To relink: brew unlink freetype && brew link freetype
Warning: pango-1.36.8_1 already installed
Warning: Already linked: /usr/local/Cellar/pixman/0.32.6
To relink: brew unlink pixman && brew link pixman
Warning: Already linked: /usr/local/Cellar/fontconfig/2.11.1
To relink: brew unlink fontconfig && brew link fontconfig
Warning: gtk+-2.24.28_1 already installed
Warning: glew-1.12.0 already installed
Warning: gsl-1.16 already installed
Warning: boost-1.58.0 already installed
Warning: intltool-0.51.0 already installed
Warning: cmake-3.2.3 already installed
Warning: Already tapped!
Warning: homebrew/versions/gcc48-4.8.4 already installed
Warning: devil-1.7.8_1 already installed
Warning: pkg-config-0.28 already installed
Zip file is present, so just unzipping, removing old dir to install so we don't have any conflicts
Archive: VisualSFM_osx64bit.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
Changing VSFM GCC to Brews gcc-4.8
Changing /usr/x11/lib to OS X default /opt/x11/lib
About to make...
mkdir -p build
mkdir -p bin
cd build; ar -x ../lib/VisualSFM.a; cd ..;
g++-4.8 -w -o bin/VisualSFM build/._ -L/usr/local/lib -L/opt/X11/lib -pthread -lGL -lGLU -lX11 -ldl -L/usr/local/Cellar/gtk+/2.24.28_1/lib -L/usr/local/Cellar/pango/1.36.8_1/lib -L/usr/local/Cellar/atk/2.16.0/lib -L/usr/local/Cellar/cairo/1.14.2_1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -lgtk-quartz-2.0 -lgdk-quartz-2.0 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl lib/lapack.a lib/blas.a lib/libf2c.a lib/libjpeg.a
Undefined symbols for architecture x86_64:
"_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
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *\ [VisualSFM] Error 1
VSFM application failed to build, halting.
Having the same issue.
g++-4.8 -w -o bin/VisualSFM build/. -L/usr/local/lib -L/opt/X11/lib -pthread -lGL -lGLU -lX11 -ldl -L/usr/local/Cellar/gtk+/2.24.28_2/lib -L/usr/local/Cellar/pango/1.36.8_1/lib -L/usr/local/Cellar/atk/2.16.0/lib -L/usr/local/Cellar/cairo/1.14.2_1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -lgtk-quartz-2.0 -lgdk-quartz-2.0 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl lib/lapack.a lib/blas.a lib/libf2c.a lib/libjpeg.a Undefined symbols for architecture x86_64: "_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 ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status make: *\ [VisualSFM] Error 1 VSFM application failed to build, halting.
Having the exact same issue and log as @rorylowe @krummrey and @tommyk91 , any ideas on how to fix it?
Same here. Has anyone found the solution?
What kind of machine are you on and what's your OS exactly? Is it an with intel integrated graphics perhaps? Let me know and i'll see if i can track down a similar machine and try and install. Give me a brew list
too.
Cheers,
Dan
I'm on an (early) 2011 MacBook Pro, Intel HD Graphics 3000 512 MB, 8gb RAM, 2.3 GHz Intel Core I5 Processor. Running Yosemite 10.10.4 on an SSD.
brew list
:
atk glib libmpc08
boost gmp4 libpng
cairo gobject-introspection libtiff
cloog018 gsl mpfr2
cmake gtk+ openssl
devil harfbuzz pango
fontconfig hicolor-icon-theme pixman
freetype icu4c pkg-config
gcc48 intltool wget
gdk-pixbuf isl011 xz
gettext jpeg
glew libffi
Thanks for looking into this! Cheers, Lisa
Mine is: MacBook Pro (Retina, Mid 2012) 2.6 GHz Intel Core i7 16 GB 1600 MHz DDR3 NVIDIA GeForce GT 650M 1024 MB
I'm running Yosemite as well
atk gdk-pixbuf hicolor-icon-theme mpfr2 boost gettext icu4c openssl cairo glew intltool pango cloog018 glib isl011 pixman cmake gmp4 jpeg pkg-config devil gobject-introspection libffi wget fontconfig gsl libmpc08 xz freetype gtk+ libpng gcc48 harfbuzz libtiff
Thanks for looking into this. Mine is:
MacBook Pro (Retina, 15-inch, Late 2013) 2.6 GHz Intel Core 17. 16 GB DDR3 ram. Intel Iris Pro 1536 MB graphics card + NVIDIA GeForce GT 750.
OS is basically the latest one - 10.10.4
How do I get you the brew list? I pasted the entire Log from the terminal into the email.
Thanks,
Rory.
I am also having the same issue on a Macbook pro late 2013, 15inch retina, 16G, NVIDIA GeForce GT 750M, OSX version 10.10.4, xcode 6.4, latest homebrew as of today
LOG:
Rons-MBP:VisualSFM_OS_X_Installer ron$ ./vsfm_os_x_installer.sh
Dan Monaghan's VSFM and PMVS installer for OS X
About to check to see if you have the Brew Package Manager
Great, you've got brew... Continuing
wget is already installed, OK
About to install xcode select
Hit Enter after it's installed
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
Checking we have the right version of XQuartz
<string>2.7.6</string>
xquartz_version_result=0
Your version of XQuartz is 2.7.6 - perfect.
Ok, now you have to should have either...
1. Already had the correct version of XQuartz, so I'm continuing...
2. Had to have installed XQuartz and just logged out and back in...
Ready to continue the next installation of VSFM & PMVS (press ENTER)
Installing Brew packages... this can take quite a long time
Warning: jpeg-8d already installed
Warning: gdk-pixbuf-2.30.8 already installed
Warning: cairo-1.14.2_1 already installed
Warning: freetype-2.6_1 already installed
Warning: Already linked: /usr/local/Cellar/freetype/2.6_1
To relink: brew unlink freetype && brew link freetype
Warning: pango-1.36.8_1 already installed
Warning: Already linked: /usr/local/Cellar/pixman/0.32.6
To relink: brew unlink pixman && brew link pixman
Warning: Already linked: /usr/local/Cellar/fontconfig/2.11.1
To relink: brew unlink fontconfig && brew link fontconfig
Warning: gtk+-2.24.28_2 already installed
Warning: glew-1.12.0 already installed
Warning: gsl-1.16 already installed
Warning: boost-1.58.0 already installed
Warning: intltool-0.51.0 already installed
Warning: cmake-3.2.3 already installed
Warning: Already tapped!
Warning: homebrew/versions/gcc48-4.8.4 already installed
Warning: devil-1.7.8_1 already installed
Warning: pkg-config-0.28 already installed
Zip file is present, so just unzipping, removing old dir to install so we don't have any conflicts
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
Changing VSFM GCC to Brews gcc-4.8
Changing /usr/x11/lib to OS X default /opt/x11/lib
About to make...
mkdir -p build
mkdir -p bin
cd build; ar -x ../lib/VisualSFM.a; cd ..;
g++-4.8 -w -o bin/VisualSFM build/*.* -L/usr/local/lib -L/opt/X11/lib -pthread -lGL -lGLU -lX11 -ldl -L/usr/local/Cellar/gtk+/2.24.28_2/lib -L/usr/local/Cellar/pango/1.36.8_1/lib -L/usr/local/Cellar/atk/2.16.0/lib -L/usr/local/Cellar/cairo/1.14.2_1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -lgtk-quartz-2.0 -lgdk-quartz-2.0 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl lib/lapack.a lib/blas.a lib/libf2c.a lib/libjpeg.a
Undefined symbols for architecture x86_64:
"_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
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [VisualSFM] Error 1
VSFM application failed to build, halting.
I just downloaded and re-ran the script today and it built fine. I had issues several times before when I tried back in January. Macbook Pro late 2013, 16GB DDR3, OS X 10.9.4, Intel Iris graphics.
On Thu, Jul 16, 2015 at 12:20 PM, Ron Lawrence notifications@github.com wrote:
I am also having the same issue on a Macbook pro late 2013, 15inch retina, 16G, NVIDIA GeForce GT 750M, OSX version 10.10.4, xcode 6.4, latest homebrew as of today
LOG:
Rons-MBP:VisualSFM_OS_X_Installer ron$ ./vsfm_os_x_installer.sh
Dan Monaghan's VSFM and PMVS installer for OS X
About to check to see if you have the Brew Package Manager Great, you've got brew... Continuing wget is already installed, OK About to install xcode select Hit Enter after it's installed xcode-select: error: command line tools are already installed, use "Software Update" to install updates Checking we have the right version of XQuartz
<string>2.7.6</string>
xquartz_version_result=0 Your version of XQuartz is 2.7.6 - perfect.
Ok, now you have to should have either...
- Already had the correct version of XQuartz, so I'm continuing...
- Had to have installed XQuartz and just logged out and back in...
Ready to continue the next installation of VSFM & PMVS (press ENTER)
Installing Brew packages... this can take quite a long time Warning: jpeg-8d already installed Warning: gdk-pixbuf-2.30.8 already installed Warning: cairo-1.14.2_1 already installed Warning: freetype-2.6_1 already installed Warning: Already linked: /usr/local/Cellar/freetype/2.6_1 To relink: brew unlink freetype && brew link freetype Warning: pango-1.36.8_1 already installed Warning: Already linked: /usr/local/Cellar/pixman/0.32.6 To relink: brew unlink pixman && brew link pixman Warning: Already linked: /usr/local/Cellar/fontconfig/2.11.1 To relink: brew unlink fontconfig && brew link fontconfig Warning: gtk+-2.24.28_2 already installed Warning: glew-1.12.0 already installed Warning: gsl-1.16 already installed Warning: boost-1.58.0 already installed Warning: intltool-0.51.0 already installed Warning: cmake-3.2.3 already installed Warning: Already tapped! Warning: homebrew/versions/gcc48-4.8.4 already installed Warning: devil-1.7.8_1 already installed Warning: pkg-config-0.28 already installed Zip file is present, so just unzipping, removing old dir to install so we don't have any conflicts Archive: VisualSFM_osx64bit.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 Changing VSFM GCC to Brews gcc-4.8 Changing /usr/x11/lib to OS X default /opt/x11/lib About to make... mkdir -p build mkdir -p bin cd build; ar -x ../lib/VisualSFM.a; cd ..; g++-4.8 -w -o bin/VisualSFM build/._ -L/usr/local/lib -L/opt/X11/lib -pthread -lGL -lGLU -lX11 -ldl -L/usr/local/Cellar/gtk+/2.24.28_2/lib -L/usr/local/Cellar/pango/1.36.8_1/lib -L/usr/local/Cellar/atk/2.16.0/lib -L/usr/local/Cellar/cairo/1.14.2_1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -lgtk-quartz-2.0 -lgdk-quartz-2.0 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl lib/lapack.a lib/blas.a lib/libf2c.a lib/libjpeg.a Undefined symbols for architecture x86_64: "_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 ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status make: *\ [VisualSFM] Error 1 VSFM application failed to build, halting.
— Reply to this email directly or view it on GitHub https://github.com/luckybulldozer/VisualSFM_OS_X_Installer/issues/7#issuecomment-122008932 .
Still failing:
Last login: Wed Jul 15 13:33:33 on console server:~ rmark$ cd /Users/rmark/rmark/VisualSFM_OS_X/VisualSFM_OS_X_Installer-master server:VisualSFM_OS_X_Installer-master rmark$ server:VisualSFM_OS_X_Installer-master rmark$ sh vsfm_os_x_installer.sh
Dan Monaghan's VSFM and PMVS installer for OS X
About to check to see if you have the Brew Package Manager Great, you've got brew... Continuing wget is already installed, OK About to install xcode select Hit Enter after it's installed xcode-select: error: command line tools are already installed, use "Software Update" to install updates Checking we have the right version of XQuartz
xquartz_version_result=0 Your version of XQuartz is 2.7.6 - perfect.
Ok, now you have to should have either...
Ready to continue the next installation of VSFM & PMVS (press ENTER)
Installing Brew packages... this can take quite a long time Warning: jpeg-8d already installed Warning: gdk-pixbuf-2.30.8 already installed Warning: cairo-1.14.2 already installed Warning: freetype-2.5.5 already installed Warning: Already linked: /usr/local/Cellar/freetype/2.5.5 To relink: brew unlink freetype && brew link freetype Warning: pango-1.36.8 already installed Warning: Already linked: /usr/local/Cellar/pixman/0.32.6 To relink: brew unlink pixman && brew link pixman Warning: Already linked: /usr/local/Cellar/fontconfig/2.11.1 To relink: brew unlink fontconfig && brew link fontconfig Warning: gtk+-2.24.28 already installed Warning: glew-1.12.0 already installed Warning: gsl-1.16 already installed Warning: boost-1.58.0 already installed Warning: intltool-0.51.0 already installed Warning: cmake-3.2.2 already installed Warning: Already tapped! Warning: homebrew/versions/gcc48-4.8.4 already installed ==> Downloading https://downloads.sourceforge.net/project/openil/DevIL/1.7.8/Dev Already downloaded: /Library/Caches/Homebrew/devil-1.7.8.tar.gz ==> Patching patching file src-ILU/ilur/ilur.c ==> ./configure --prefix=/usr/local/Cellar/devil/1.7.8_1 --enable-ILU --enable-I ==> make install make install
Making install in lib /bin/sh: /Applications/Applications: is a directory make: *\ [install-recursive] Error 1 Warning: It appears you have MacPorts or Fink installed. Software installed with other package managers causes known problems for Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
READ THIS: https://git.io/brew-troubleshooting
Warning: pkg-config-0.28 already installed
VSFM Zip not present, downloading...
--2015-07-16 09:56:25--
http://ccwu.me/vsfm/download/VisualSFM_osx_64bit.zip
Resolving ccwu.me... 50.62.249.1
Connecting to ccwu.me|50.62.249.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3437393 (3.3M) [application/zip]
Saving to: 'VisualSFM_osx_64bit.zip'
VisualSFM_osx_64bit 100%[=====================>] 3.28M 1.56MB/s in 2.1s
2015-07-16 09:56:27 (1.56 MB/s) - 'VisualSFM_osx_64bit.zip' saved [3437393/3437393]
Archive: VisualSFM_osx64bit.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 Changing VSFM GCC to Brews gcc-4.8 Changing /usr/x11/lib to OS X default /opt/x11/lib About to make... mkdir -p build mkdir -p bin cd build; ar -x ../lib/VisualSFM.a; cd ..; g++-4.8 -w -o bin/VisualSFM build/._ -L/usr/local/lib -L/opt/X11/lib -pthread -lGL -lGLU -lX11 -ldl -L/usr/local/Cellar/gtk+/2.24.28/lib -L/usr/local/Cellar/pango/1.36.8/lib -L/usr/local/Cellar/atk/2.16.0/lib -L/usr/local/Cellar/cairo/1.14.2/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/Cellar/pango/1.36.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/Cellar/fontconfig/2.11.1/lib -L/usr/local/Cellar/freetype/2.5.5/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdkpixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -lglib-2.0 -lintl lib/lapack.a lib/blas.a lib/libf2c.a lib/libjpeg.a rm -f build/._ VSFM application built... moving on SiftGPU Zip not present, downloading... --2015-07-16 09:56:30-- http://wwwx.cs.unc.edu/~ccwu/cgi-bin/siftgpu.cgi Resolving wwwx.cs.unc.edu... 152.2.128.56 Connecting to wwwx.cs.unc.edu|152.2.128.56|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-download] Saving to: 'sift_gpu.zip'
sift_gpu.zip [ <=> ] 5.71M 1.17MB/s in 6.0s
2015-07-16 09:56:36 (977 KB/s) - 'sift_gpu.zip' saved [5982979]
Archive: sift_gpu.zip
creating: SiftGPU/
creating: SiftGPU/bin/
inflating: SiftGPU/bin/DevIL.dll
inflating: SiftGPU/bin/DevIL64.dll
inflating: SiftGPU/bin/glew32.dll
inflating: SiftGPU/bin/glew64.dll
inflating: SiftGPU/bin/SiftGPU.dll
inflating: SiftGPU/bin/SiftGPU64.dll
inflating: SiftGPU/bin/SimpleSIFT.exe
inflating: SiftGPU/bin/Speed.exe
inflating: SiftGPU/bin/TestWin.exe
creating: SiftGPU/data/
inflating: SiftGPU/data/1600.jpg
inflating: SiftGPU/data/640-1.jpg
inflating: SiftGPU/data/640-2.jpg
inflating: SiftGPU/data/640-3.jpg
inflating: SiftGPU/data/640-4.jpg
inflating: SiftGPU/data/640-5.jpg
inflating: SiftGPU/data/800-1.jpg
inflating: SiftGPU/data/800-2.jpg
inflating: SiftGPU/data/800-3.jpg
inflating: SiftGPU/data/800-4.jpg
inflating: SiftGPU/data/list640.txt
inflating: SiftGPU/data/listx.txt
inflating: SiftGPU/data/Thumbs.db
creating: SiftGPU/demos/
extracting: SiftGPU/demos/demo1.bat
extracting: SiftGPU/demos/demo2.bat
extracting: SiftGPU/demos/demo3.bat
inflating: SiftGPU/demos/evaluation-box.bat
inflating: SiftGPU/demos/instructions.txt
creating: SiftGPU/doc/
creating: SiftGPU/doc/evaluation/
inflating: SiftGPU/doc/evaluation/box.pgm
inflating: SiftGPU/doc/evaluation/box.siftgpu
inflating: SiftGPU/doc/evaluation/evaluation.jpg
inflating: SiftGPU/doc/manual.pdf
inflating: SiftGPU/doc/speed_v311.jpg
inflating: SiftGPU/doc/speed_v340_v2.jpg
inflating: SiftGPU/doc/statistics.pdf
inflating: SiftGPU/History.txt
creating: SiftGPU/include/
creating: SiftGPU/include/GL/
inflating: SiftGPU/include/GL/glew.h
inflating: SiftGPU/include/GL/glut.h
inflating: SiftGPU/include/GL/wglew.h
creating: SiftGPU/include/IL/
inflating: SiftGPU/include/IL/COPYING
inflating: SiftGPU/include/IL/il.h
creating: SiftGPU/lib/
inflating: SiftGPU/lib/DevIL.lib
inflating: SiftGPU/lib/DevIL64.lib
inflating: SiftGPU/lib/glew32.lib
inflating: SiftGPU/lib/glew32s.lib
inflating: SiftGPU/lib/glew64.lib
inflating: SiftGPU/lib/glew64s.lib
inflating: SiftGPU/lib/glut32.lib
inflating: SiftGPU/lib/glut64.lib
inflating: SiftGPU/lib/SIFTGPU.exp
inflating: SiftGPU/lib/SIFTGPU.lib
inflating: SiftGPU/license.txt
inflating: SiftGPU/makefile
creating: SiftGPU/msvc/
creating: SiftGPU/msvc/ServerSiftGPU/
inflating: SiftGPU/msvc/ServerSiftGPU/SiftGPU_Server.dsp
inflating: SiftGPU/msvc/ServerSiftGPU/SiftGPU_Server.vcxproj
creating: SiftGPU/msvc/SiftGPU/
inflating: SiftGPU/msvc/SiftGPU.dsw
inflating: SiftGPU/msvc/SiftGPU.sln
inflating: SiftGPU/msvc/SiftGPU/SiftGPU.def
inflating: SiftGPU/msvc/SiftGPU/SiftGPU.dsp
inflating: SiftGPU/msvc/SiftGPU/SiftGPU.vcxproj
inflating: SiftGPU/msvc/SiftGPU/SiftGPU_CUDA_Enabled.vcxproj
inflating: SiftGPU/msvc/SiftGPU_CUDA_Enabled.sln
creating: SiftGPU/msvc/TestWin/
inflating: SiftGPU/msvc/TestWin/MultiThreadSIFT.dsp
inflating: SiftGPU/msvc/TestWin/MultiThreadSIFT.vcxproj
inflating: SiftGPU/msvc/TestWin/SimpleSIFT.dsp
inflating: SiftGPU/msvc/TestWin/SimpleSIFT.vcxproj
inflating: SiftGPU/msvc/TestWin/Speed.dsp
inflating: SiftGPU/msvc/TestWin/Speed.vcxproj
inflating: SiftGPU/msvc/TestWin/TestBase.dsp
inflating: SiftGPU/msvc/TestWin/TestBase.vcxproj
inflating: SiftGPU/msvc/TestWin/TestWin.dsp
inflating: SiftGPU/msvc/TestWin/TestWin.vcxproj
inflating: SiftGPU/msvc/TestWin/TestWinGlut.dsp
inflating: SiftGPU/msvc/TestWin/TestWinGlut.vcxproj
inflating: SiftGPU/OpenGL_and_CUDA.txt
inflating: SiftGPU/README.txt
inflating: SiftGPU/speed_andaccuracy.txt
creating: SiftGPU/src/
creating: SiftGPU/src/ServerSiftGPU/
inflating: SiftGPU/src/ServerSiftGPU/server.cpp
inflating: SiftGPU/src/ServerSiftGPU/ServerSiftGPU.cpp
inflating: SiftGPU/src/ServerSiftGPU/ServerSiftGPU.h
creating: SiftGPU/src/SiftGPU/
inflating: SiftGPU/src/SiftGPU/CLTexImage.cpp
inflating: SiftGPU/src/SiftGPU/CLTexImage.h
inflating: SiftGPU/src/SiftGPU/CuTexImage.cpp
inflating: SiftGPU/src/SiftGPU/CuTexImage.h
inflating: SiftGPU/src/SiftGPU/FrameBufferObject.cpp
inflating: SiftGPU/src/SiftGPU/FrameBufferObject.h
inflating: SiftGPU/src/SiftGPU/GlobalUtil.cpp
inflating: SiftGPU/src/SiftGPU/GlobalUtil.h
inflating: SiftGPU/src/SiftGPU/GLTexImage.cpp
inflating: SiftGPU/src/SiftGPU/GLTexImage.h
inflating: SiftGPU/src/SiftGPU/LiteWindow.h
inflating: SiftGPU/src/SiftGPU/ProgramCG.cpp
inflating: SiftGPU/src/SiftGPU/ProgramCG.h
inflating: SiftGPU/src/SiftGPU/ProgramCL.cpp
inflating: SiftGPU/src/SiftGPU/ProgramCL.h
inflating: SiftGPU/src/SiftGPU/ProgramCU.cu
inflating: SiftGPU/src/SiftGPU/ProgramCU.h
inflating: SiftGPU/src/SiftGPU/ProgramGLSL.cpp
inflating: SiftGPU/src/SiftGPU/ProgramGLSL.h
inflating: SiftGPU/src/SiftGPU/ProgramGPU.cpp
inflating: SiftGPU/src/SiftGPU/ProgramGPU.h
inflating: SiftGPU/src/SiftGPU/PyramidCL.cpp
inflating: SiftGPU/src/SiftGPU/PyramidCL.h
inflating: SiftGPU/src/SiftGPU/PyramidCU.cpp
inflating: SiftGPU/src/SiftGPU/PyramidCU.h
inflating: SiftGPU/src/SiftGPU/PyramidGL.cpp
inflating: SiftGPU/src/SiftGPU/PyramidGL.h
inflating: SiftGPU/src/SiftGPU/ShaderMan.cpp
inflating: SiftGPU/src/SiftGPU/ShaderMan.h
inflating: SiftGPU/src/SiftGPU/SiftGPU.cpp
inflating: SiftGPU/src/SiftGPU/SiftGPU.h
inflating: SiftGPU/src/SiftGPU/SiftMatch.cpp
inflating: SiftGPU/src/SiftGPU/SiftMatch.h
inflating: SiftGPU/src/SiftGPU/SiftMatchCU.cpp
inflating: SiftGPU/src/SiftGPU/SiftMatchCU.h
inflating: SiftGPU/src/SiftGPU/SiftPyramid.cpp
inflating: SiftGPU/src/SiftGPU/SiftPyramid.h
creating: SiftGPU/src/TestWin/
inflating: SiftGPU/src/TestWin/BasicTestWin.cpp
inflating: SiftGPU/src/TestWin/BasicTestWin.h
inflating: SiftGPU/src/TestWin/GLTestWnd.cpp
inflating: SiftGPU/src/TestWin/GLTestWnd.h
inflating: SiftGPU/src/TestWin/GLTransform.h
inflating: SiftGPU/src/TestWin/MultiThreadSIFT.cpp
inflating: SiftGPU/src/TestWin/SimpleSIFT.cpp
inflating: SiftGPU/src/TestWin/speed.cpp
inflating: SiftGPU/src/TestWin/TestWinGlut.cpp
inflating: SiftGPU/src/TestWin/TestWinGlut.h
Changing SiftGPU GCC to Brews gcc-4.8
Disable Cuda Flags
Changing march from native core2 in makefile
Changing to prefer GLUT
Removing -L/opt/local/lib from makefile
Changing /usr/x11/lib to OS X default /opt/x11/lib
mkdir -p build
mkdir -p bin
sed -i -e 's/\/\//g' demos/.bat
g++-4.8 -w -o build/FrameBufferObject.o
src/SiftGPU/FrameBufferObject.cpp -Iinclude -fPIC -L/usr/lib64
-L/usr/lib -L./bin -L./lib -Wall -Wno-deprecated -pthread -march=core2
-mfpmath=sse -DWINDOW_PREFER_GLUT -L/usr/local/lib -c
g++-4.8 -w -o build/GlobalUtil.o src/SiftGPU/GlobalUtil.cpp -Iinclude
-fPIC -L/usr/lib64 -L/usr/lib -L./bin -L./lib -Wall -Wno-deprecated
-pthread -march=core2 -mfpmath=sse -DWINDOW_PREFER_GLUT
-L/usr/local/lib -c
g++-4.8 -w -o build/GLTexImage.o src/SiftGPU/GLTexImage.cpp -Iinclude
-fPIC -L/usr/lib64 -L/usr/lib -L./bin -L./lib -Wall -Wno-deprecated
-pthread -march=core2 -mfpmath=sse -DWINDOW_PREFER_GLUT
-L/usr/local/lib -c
g++-4.8 -w -o build/ProgramGLSL.o src/SiftGPU/ProgramGLSL.cpp -Iinclude
-fPIC -L/usr/lib64 -L/usr/lib -L./bin -L./lib -Wall -Wno-deprecated
-pthread -march=core2 -mfpmath=sse -DWINDOW_PREFER_GLUT
-L/usr/local/lib -c
g++-4.8 -w -o build/ProgramGPU.o src/SiftGPU/ProgramGPU.cpp -Iinclude
-fPIC -L/usr/lib64 -L/usr/lib -L./bin -L./lib -Wall -Wno-deprecated
-pthread -march=core2 -mfpmath=sse -DWINDOW_PREFER_GLUT
-L/usr/local/lib -c
g++-4.8 -w -o build/ShaderMan.o src/SiftGPU/ShaderMan.cpp -Iinclude
-fPIC -L/usr/lib64 -L/usr/lib -L./bin -L./lib -Wall -Wno-deprecated
-pthread -march=core2 -mfpmath=sse -DWINDOW_PREFER_GLUT
-L/usr/local/lib -c
g++-4.8 -w -o build/SiftGPU.o src/SiftGPU/SiftGPU.cpp -Iinclude -fPIC
-L/usr/lib64 -L/usr/lib -L./bin -L./lib -Wall -Wno-deprecated -pthread
-march=core2 -mfpmath=sse -DWINDOW_PREFER_GLUT -L/usr/local/lib -c
g++-4.8 -w -o build/SiftPyramid.o src/SiftGPU/SiftPyramid.cpp -Iinclude
-fPIC -L/usr/lib64 -L/usr/lib -L./bin -L./lib -Wall -Wno-deprecated
-pthread -march=core2 -mfpmath=sse -DWINDOW_PREFER_GLUT
-L/usr/local/lib -c
g++-4.8 -w -o build/PyramidGL.o src/SiftGPU/PyramidGL.cpp -Iinclude
-fPIC -L/usr/lib64 -L/usr/lib -L./bin -L./lib -Wall -Wno-deprecated
-pthread -march=core2 -mfpmath=sse -DWINDOW_PREFER_GLUT
-L/usr/local/lib -c
g++-4.8 -w -o build/SiftMatch.o src/SiftGPU/SiftMatch.cpp -Iinclude
-fPIC -L/usr/lib64 -L/usr/lib -L./bin -L./lib -Wall -Wno-deprecated
-pthread -march=core2 -mfpmath=sse -DWINDOW_PREFER_GLUT
-L/usr/local/lib -c
ar rcs bin/libsiftgpu.a build/FrameBufferObject.o build/GlobalUtil.o
build/GLTexImage.o build/ProgramGLSL.o build/ProgramGPU.o
build/ShaderMan.o build/SiftGPU.o build/SiftPyramid.o build/PyramidGL.o
build/SiftMatch.o
g++-4.8 -w -o bin/libsiftgpu.so build/FrameBufferObject.o
build/GlobalUtil.o build/GLTexImage.o build/ProgramGLSL.o
build/ProgramGPU.o build/ShaderMan.o build/SiftGPU.o build/SiftPyramid.o
build/PyramidGL.o build/SiftMatch.o -lGLEW -framework GLUT -framework
OpenGL -lIL -Iinclude -fPIC -L/usr/lib64 -L/usr/lib -L./bin -L./lib
-Wall -Wno-deprecated -pthread -march=core2 -mfpmath=sse
-DWINDOW_PREFERGLUT -L/usr/local/lib -shared -fPIC
ld: library not found for -lIL
collect2: error: ld returned 1 exit status
make: ** [siftgpu] Error 1
libsiftgpu.so failed to build. Halting.
server:VisualSFM_OS_X_Installer-master rmark$
wgglass wrote:
I just downloaded and re-ran the script today and it built fine. I had issues several times before when I tried back in January. Macbook Pro late 2013, 16GB DDR3, OS X 10.9.4, Intel Iris graphics.
On Thu, Jul 16, 2015 at 12:20 PM, Ron Lawrence notifications@github.com wrote:
I am also having the same issue on a Macbook pro late 2013, 15inch retina, 16G, NVIDIA GeForce GT 750M, OSX version 10.10.4, xcode 6.4, latest homebrew as of today
LOG:
Rons-MBP:VisualSFM_OS_X_Installer ron$ ./vsfm_os_x_installer.sh
Dan Monaghan's VSFM and PMVS installer for OS X
About to check to see if you have the Brew Package Manager Great, you've got brew... Continuing wget is already installed, OK About to install xcode select Hit Enter after it's installed xcode-select: error: command line tools are already installed, use "Software Update" to install updates Checking we have the right version of XQuartz
2.7.6 xquartz_version_result=0 Your version of XQuartz is 2.7.6 - perfect.
Ok, now you have to should have either...
- Already had the correct version of XQuartz, so I'm continuing...
- Had to have installed XQuartz and just logged out and back in...
Ready to continue the next installation of VSFM & PMVS (press ENTER)
Installing Brew packages... this can take quite a long time Warning: jpeg-8d already installed Warning: gdk-pixbuf-2.30.8 already installed Warning: cairo-1.14.2_1 already installed Warning: freetype-2.6_1 already installed Warning: Already linked: /usr/local/Cellar/freetype/2.6_1 To relink: brew unlink freetype && brew link freetype Warning: pango-1.36.8_1 already installed Warning: Already linked: /usr/local/Cellar/pixman/0.32.6 To relink: brew unlink pixman && brew link pixman Warning: Already linked: /usr/local/Cellar/fontconfig/2.11.1 To relink: brew unlink fontconfig && brew link fontconfig Warning: gtk+-2.24.28_2 already installed Warning: glew-1.12.0 already installed Warning: gsl-1.16 already installed Warning: boost-1.58.0 already installed Warning: intltool-0.51.0 already installed Warning: cmake-3.2.3 already installed Warning: Already tapped! Warning: homebrew/versions/gcc48-4.8.4 already installed Warning: devil-1.7.8_1 already installed Warning: pkg-config-0.28 already installed Zip file is present, so just unzipping, removing old dir to install so we don't have any conflicts Archive: VisualSFM_osx64bit.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 Changing VSFM GCC to Brews gcc-4.8 Changing /usr/x11/lib to OS X default /opt/x11/lib About to make... mkdir -p build mkdir -p bin cd build; ar -x ../lib/VisualSFM.a; cd ..; g++-4.8 -w -o bin/VisualSFM build/._ -L/usr/local/lib -L/opt/X11/lib -pthread -lGL -lGLU -lX11 -ldl -L/usr/local/Cellar/gtk+/2.24.28_2/lib -L/usr/local/Cellar/pango/1.36.8_1/lib -L/usr/local/Cellar/atk/2.16.0/lib -L/usr/local/Cellar/cairo/1.14.2_1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -lgtk-quartz-2.0 -lgdk-quartz-2.0 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl lib/lapack.a lib/blas.a lib/libf2c.a lib/libjpeg.a Undefined symbols for architecture x86_64: "_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 ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status make: *\ [VisualSFM] Error 1 VSFM application failed to build, halting.
— Reply to this email directly or view it on GitHub
https://github.com/luckybulldozer/VisualSFM_OS_X_Installer/issues/7#issuecomment-122008932 .
— Reply to this email directly or view it on GitHub https://github.com/luckybulldozer/VisualSFM_OS_X_Installer/issues/7#issuecomment-122012001.
Robert Mark, Ph.D. rmark@infomagic.net Rupestrian CyberServices Phone/FAX 928-526-3625 3644 N. Stone Crest St. www.rupestrian.com Flagstaff, AZ 86004-6811 USA
RCS: Computer science in the service of rock art research, protection, and education.
After the sourceforge outage all day yesterday, I finally got brew wiped out and reinstalled everything from scratch. Still get the exact same errors as before:
Undefined symbols for architecture x86_64:
"_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
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [VisualSFM] Error 1
VSFM application failed to build, halting.
Same Macbook, same problem.
... MacBook Pro (Retina, 15-inch, Late 2013) 2.5 GHz Intel Core 17. 16 GB DDR3 ram. Intel Iris Pro 1536 MB graphics card + NVIDIA GeForce GT 750. Latest OS
... Definitely running on latest XCode, XQuartz 2.7.6 ...
This error:
Dan Monaghan's VSFM and PMVS installer for OS X
About to check to see if you have the Brew Package Manager Great, you've got brew... Continuing wget is already installed, OK About to install xcode select Hit Enter after it's installed xcode-select: error: command line tools are already installed, use "Software Update" to install updates Checking we have the right version of XQuartz
<string>2.7.6</string>
xquartz_version_result=0 Your version of XQuartz is 2.7.6 - perfect.
Ok, now you have to should have either...
Ready to continue the next installation of VSFM & PMVS (press ENTER)
Installing Brew packages... this can take quite a long time
Warning: jpeg-8d already installed
Warning: gdk-pixbuf-2.30.8 already installed
Warning: cairo-1.14.2_1 already installed
Warning: freetype-2.6_1 already installed
Warning: Already linked: /usr/local/Cellar/freetype/2.6_1
To relink: brew unlink freetype && brew link freetype
Warning: pango-1.36.8_1 already installed
Warning: Already linked: /usr/local/Cellar/pixman/0.32.6
To relink: brew unlink pixman && brew link pixman
Warning: Already linked: /usr/local/Cellar/fontconfig/2.11.1
To relink: brew unlink fontconfig && brew link fontconfig
Warning: gtk+-2.24.28_2 already installed
Warning: glew-1.12.0 already installed
Warning: gsl-1.16 already installed
Warning: boost-1.58.0 already installed
Warning: intltool-0.51.0 already installed
Warning: cmake-3.2.3 already installed
Warning: Already tapped!
Warning: homebrew/versions/gcc48-4.8.4 already installed
Warning: devil-1.7.8_1 already installed
Warning: pkg-config-0.28 already installed
Zip file is present, so just unzipping, removing old dir to install so we don't have any conflicts
Archive: VisualSFM_osx64bit.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
Changing VSFM GCC to Brews gcc-4.8
Changing /usr/x11/lib to OS X default /opt/x11/lib
About to make...
mkdir -p build
mkdir -p bin
cd build; ar -x ../lib/VisualSFM.a; cd ..;
g++-4.8 -w -o bin/VisualSFM build/._ -L/usr/local/lib -L/opt/X11/lib -pthread -lGL -lGLU -lX11 -ldl -L/usr/local/Cellar/gtk+/2.24.28_2/lib -L/usr/local/Cellar/pango/1.36.8_1/lib -L/usr/local/Cellar/atk/2.16.0/lib -L/usr/local/Cellar/cairo/1.14.2_1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -lgtk-quartz-2.0 -lgdk-quartz-2.0 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl lib/lapack.a lib/blas.a lib/libf2c.a lib/libjpeg.a
Undefined symbols for architecture x86_64:
"_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
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *\ [VisualSFM] Error 1
VSFM application failed to build, halting.
Not sure if this is relevant, but a similar problem (Undefined symbols for architecture x86_64) for a guy with Qt ...
His conclusion: "The undefined symbol referred to a declared operator function in the header file that wasn't implemented in the cpp file. After implementing the function the error went away."
I think the main reason as the intel integrated graphics isn't working, I need to implement the CUDA install. If anyone wants to give this a go, I've just got that working. You'd have to try and download SiftGPU from ccwu.me and use this make file I've adjusted. Let me know if that works and I'll get on to changing libPBA as well, then integrating a fix into my installer.
replace your makefile with this, also make sure your Cuda is up to date and installed in /Developer/NVIDIA/CUDA-7.0/
run make clean ; make siftgpu
new makefile
#################################################################
# SiftGPU congiruation: CUDA, SSE, TIMING
#################################################################
#enable siftgpu server
siftgpu_enable_server = 0
#enable OpenCL-based SiftGPU? not finished yet; testing purpose
siftgpu_enable_opencl = 0
#------------------------------------------------------------------------------------------------
# enable CUDA-based SiftGPU?
simple_find_cuda = $(shell locate libcudart.so)
ifneq ($(simple_find_cuda), )
siftgpu_enable_cuda = 1
else
siftgpu_enable_cuda = 0
endif
CUDA_INSTALL_PATH = /usr/local/cuda
#change additional settings, like SM version here if it is not 1.0 (eg. -arch sm_13 for GTX280)
#siftgpu_cuda_options = -Xopencc -OPT:unroll_size=200000
#siftgpu_cuda_options = -arch sm_10
#--------------------------------------------------------------------------------------------------
# enable SSE optimization for GL-based implementations
siftgpu_enable_sse = 1
siftgpu_sse_options = -march=core2 -mfpmath=sse
#--------------------------------------------------------------------------------------------------
# openGL context creation. 1 for glut, 0 for xlib
siftgpu_prefer_glut = 1
#whether remove dependency on DevIL (1 to remove, the output libsiftgpu.so still works for VisualSFM)
siftgpu_disable_devil = 0
#------------------------------------------------------------------------------------------------
#whether SimpleSIFT uses runtime loading of libsiftgpu.so or static linking of libsiftgpu.a
simplesift_runtime_load = 1
#################################################################
# cleanup trailing whitespaces for a few settings
siftgpu_enable_cuda := $(strip $(siftgpu_enable_cuda))
siftgpu_disable_devil := $(strip $(siftgpu_disable_devil))
siftgpu_enable_server := $(strip $(siftgpu_enable_server))
siftgpu_enable_opencl := $(strip $(siftgpu_enable_opencl))
siftgpu_prefer_glut := $(strip $(siftgpu_prefer_glut))
simplesift_runtime_load := $(strip $(simplesift_runtime_load))
# detect OS
OSUPPER = $(shell uname -s 2>/dev/null | tr [:lower:] [:upper:])
OSLOWER = $(shell uname -s 2>/dev/null | tr [:upper:] [:lower:])
DARWIN = $(strip $(findstring DARWIN, $(OSUPPER)))
SHELL = /bin/sh
INC_DIR = include
BIN_DIR = bin
SRC_SIFTGPU = src/SiftGPU
SRC_DRIVER = src/TestWin
SRC_SERVER = src/ServerSiftGPU
CC = g++-4.8
CFLAGS = -I$(INC_DIR) -fPIC -L/usr/lib -L./bin -L./lib -Wall -Wno-deprecated -pthread
#simple hack to repalce the native flat on OSX because gcc version is low
ifneq ($(DARWIN),)
siftgpu_sse_options = -march=core2 -mfpmath=sse
endif
ifneq ($(siftgpu_enable_sse), 0)
CFLAGS += $(siftgpu_sse_options)
endif
ifneq ($(siftgpu_prefer_glut), 0)
CFLAGS += -DWINDOW_PREFER_GLUT
endif
ifneq ($(siftgpu_enable_opencl), 0)
CFLAGS += -DCL_SIFTGPU_ENABLED
endif
ODIR_SIFTGPU = build
# external header files
_HEADER_EXTERNAL = GL/glew.h GL/glut.h IL/il.h
# siftgpu header files
_HEADER_SIFTGPU = FrameBufferObject.h GlobalUtil.h GLTexImage.h ProgramGPU.h ShaderMan.h ProgramGLSL.h SiftGPU.h SiftPyramid.h SiftMatch.h PyramidGL.h LiteWindow.h
# siftgpu library header files for drivers
_HEADER_SIFTGPU_LIB = SiftGPU.h
ifneq ($(DARWIN),)
#librarys for SiftGPU
LIBS_SIFTGPU = -lGLEW -framework GLUT -framework OpenGL
CFLAGS += -L/usr/local/lib
else
#librarys for SiftGPU
LIBS_SIFTGPU = -lGLEW -lglut -lGL -lX11
endif
ifneq ($(siftgpu_disable_devil), 0)
CFLAGS += -DSIFTGPU_NO_DEVIL
else
LIBS_SIFTGPU += -lIL
endif
#Obj files for SiftGPU
_OBJ_SIFTGPU = FrameBufferObject.o GlobalUtil.o GLTexImage.o ProgramGLSL.o ProgramGPU.o ShaderMan.o SiftGPU.o SiftPyramid.o PyramidGL.o SiftMatch.o
#add cuda options
ifneq ($(siftgpu_enable_cuda), 0)
ifdef CUDA_BIN_PATH
NVCC = /Developer/NVIDIA/CUDA-7.0/bin/nvcc
else
NVCC = /Developer/NVIDIA/CUDA-7.0/bin/nvcc
endif
ifndef CUDA_INC_PATH
CUDA_INC_PATH = /Developer/NVIDIA/CUDA-7.0/include
endif
ifndef CUDA_LIB_PATH
CUDA_LIB_PATH = -L/Developer/NVIDIA/CUDA-7.0/lib
endif
CFLAGS += -DCUDA_SIFTGPU_ENABLED -I/Developer/NVIDIA/CUDA-7.0/include -L/Developer/NVIDIA/CUDA-7.0/lib
LIBS_SIFTGPU += -lcudart
_OBJ_SIFTGPU += CuTexImage.o PyramidCU.o SiftMatchCU.o
_HEADER_SIFTGPU += CuTexImage.h ProgramCU.h PyramidCU.h
endif
ifneq ($(siftgpu_enable_opencl), 0)
CFLAGS += -lOpenCL
endif
all: makepath siftgpu server driver
#the dependencies of SiftGPU library
DEPS_SIFTGPU = $(patsubst %, $(SRC_SIFTGPU)/%, $(_HEADER_SIFTGPU))
#rules for the rest of the object files
$(ODIR_SIFTGPU)/%.o: $(SRC_SIFTGPU)/%.cpp $(DEPS_SIFTGPU)
$(CC) -o $@ $< $(CFLAGS) -c
ifneq ($(siftgpu_enable_cuda), 0)
NVCC_FLAGS = -I$(INC_DIR) -I$(CUDA_INC_PATH) -DCUDA_SIFTGPU_ENABLED -O2 -Xcompiler -fPIC
ifdef siftgpu_cuda_options
NVCC_FLAGS += $(siftgpu_cuda_options)
endif
#build rule for CUDA
$(ODIR_SIFTGPU)/ProgramCU.o: $(SRC_SIFTGPU)/ProgramCU.cu $(DEPS_SIFTGPU)
$(NVCC) $(NVCC_FLAGS) -o $@ $< -c
_OBJ_SIFTGPU += ProgramCU.o
endif
ifneq ($(siftgpu_enable_server), 0)
$(ODIR_SIFTGPU)/ServerSiftGPU.o: $(SRC_SERVER)/ServerSiftGPU.cpp $(DEPS_SIFTGPU)
$(CC) -o $@ $< $(CFLAGS) -DSERVER_SIFTGPU_ENABLED -c
_OBJ_SIFTGPU += ServerSiftGPU.o
endif
OBJ_SIFTGPU = $(patsubst %,$(ODIR_SIFTGPU)/%,$(_OBJ_SIFTGPU))
LIBS_DRIVER = $(BIN_DIR)/libsiftgpu.a $(LIBS_SIFTGPU)
SRC_TESTWIN = $(SRC_DRIVER)/TestWinGlut.cpp $(SRC_DRIVER)/BasicTestWin.cpp
DEP_TESTWIN = $(SRC_DRIVER)/TestWinGlut.h $(SRC_DRIVER)/BasicTestwin.h $(SRC_DRIVER)/GLTransform.h
ifneq ($(simplesift_runtime_load), 0)
LIBS_SIMPLESIFT = -ldl -DSIFTGPU_DLL_RUNTIME
else
LIBS_SIMPLESIFT = $(LIBS_DRIVER) -DSIFTGPU_STATIC
endif
siftgpu: makepath $(OBJ_SIFTGPU)
ar rcs $(BIN_DIR)/libsiftgpu.a $(OBJ_SIFTGPU)
$(CC) -o $(BIN_DIR)/libsiftgpu.so $(OBJ_SIFTGPU) $(LIBS_SIFTGPU) $(CFLAGS) -shared -fPIC
driver: makepath
$(CC) -o $(BIN_DIR)/TestWinGlut $(SRC_TESTWIN) $(LIBS_DRIVER) $(CFLAGS)
$(CC) -o $(BIN_DIR)/SimpleSIFT $(SRC_DRIVER)/SimpleSIFT.cpp $(LIBS_SIMPLESIFT) $(CFLAGS)
$(CC) -o $(BIN_DIR)/speed $(SRC_DRIVER)/speed.cpp $(LIBS_DRIVER) $(CFLAGS)
$(CC) -o $(BIN_DIR)/MultiThreadSIFT $(SRC_DRIVER)/MultiThreadSIFT.cpp $(LIBS_DRIVER) $(CFLAGS) -pthread
ifneq ($(siftgpu_enable_server), 0)
server: makepath
$(CC) -o $(BIN_DIR)/server_siftgpu $(SRC_SERVER)/server.cpp $(LIBS_DRIVER) $(CFLAGS)
else
server:
endif
makepath:
mkdir -p $(ODIR_SIFTGPU)
mkdir -p $(BIN_DIR)
sed -i -e 's/\\/\//g' demos/*.bat
clean:
rm -f $(ODIR_SIFTGPU)/*.o
rm -f $(BIN_DIR)/libsiftgpu.a
rm -f $(BIN_DIR)/libsiftgpu.so
rm -f $(BIN_DIR)/TestWinGlut
rm -f $(BIN_DIR)/SimpleSIFT
rm -f $(BIN_DIR)/speed
rm -f $(BIN_DIR)/server_siftgpu
rm -f $(BIN_DIR)/MultiThreadSIFT
rm -f ProgramCU.linkinfo
server:VisualSFM_OS_X_Installer-master rmark$ make clean ; make siftgpu makefile:140: * missing separator. Stop. makefile:140: * missing separator. Stop. server:VisualSFM_OS_X_Installer-master rmark$
luckybulldozer wrote:
|make clean ; make siftgpu|
Robert Mark, Ph.D. rmark@infomagic.net Rupestrian CyberServices Phone/FAX 928-526-3625 3644 N. Stone Crest St. www.rupestrian.com Flagstaff, AZ 86004-6811 USA
RCS: Computer science in the service of rock art research, protection, and education.
A quick google told me that's because of space in the makefile where there should be tabs indenting the file... I guess pasting makefiles isn't a good idea. I've added it to the git. Re-download the git to get that file, it's called makefileSiftGPU_Cuda
. Move that to your SiftGPU directory and rename it to makefile
and then try make clean ; make siftgpu
. Sorry for the hassle, but I don't have an intel chipset machine of your variation to test on.
URL please.
Thanks. --Bob Mark
luckybulldozer wrote:
A quick google told me that's because of space in the makefile where there should be tabs indenting the file... I guess pasting makefiles isn't a good idea. I've added it to the git. Re-download the git to get that file, it's called |makefileSiftGPU_Cuda|. Move that to your SiftGPU directory and rename it to |makefile| and then try |make clean ; make siftgpu| . Sorry for the hassle, but I don't have an intel chipset machine of your variation to test on.
— Reply to this email directly or view it on GitHub https://github.com/luckybulldozer/VisualSFM_OS_X_Installer/issues/7#issuecomment-123051849.
Robert Mark, Ph.D. rmark@infomagic.net Rupestrian CyberServices Phone/FAX 928-526-3625 3644 N. Stone Crest St. www.rupestrian.com Flagstaff, AZ 86004-6811 USA
RCS: Computer science in the service of rock art research, protection, and education.
server:VisualSFM_OS_XInstaller-master rmark$ make clean rm -f build/.o rm -f bin/libsiftgpu.a rm -f bin/libsiftgpu.so rm -f bin/TestWinGlut rm -f bin/SimpleSIFT rm -f bin/speed rm -f bin/server_siftgpu rm -f bin/MultiThreadSIFT rm -f ProgramCU.linkinfo server:VisualSFM_OS_XInstaller-master rmark$ make siftgpu mkdir -p build mkdir -p bin sed -i -e 's/\/\//g' demos/.bat sed: demos/.bat: No such file or directory make: ** [makepath] Error 1
boxcarmib wrote:
no joy. trying to install for yosemite 10.10.4 on an iMac (Late 2013 - NVIDIA GeForce GT 755M 1024 graphics card) shell script works fine until...
About to make... mkdir -p build mkdir -p bin cd build; ar -x ../lib/VisualSFM.a; cd ..; g++-4.8 -w -o bin/VisualSFM build//./ -L/usr/local/lib -L/opt/X11/lib -pthread -lGL -lGLU -lX11 -ldl -L/usr/local/Cellar/gtk+/2.24.28_1/lib -L/usr/local/Cellar/pango/1.36.8_1/lib -L/usr/local/Cellar/atk/2.16.0/lib -L/usr/local/Cellar/cairo/1.14.2_1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -lgtk-quartz-2.0 -lgdk-quartz-2.0 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl lib/lapack.a lib/blas.a lib/libf2c.a lib/libjpeg.a Undefined symbols for architecture x86_64: "_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 ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status make: *\ [VisualSFM] Error 1 VSFM application failed to build, halting.
This is driving me crazy. Anyone with any insight?
— Reply to this email directly or view it on GitHub https://github.com/luckybulldozer/VisualSFM_OS_X_Installer/issues/7#issuecomment-123055261.
Robert Mark, Ph.D. rmark@infomagic.net Rupestrian CyberServices Phone/FAX 928-526-3625 3644 N. Stone Crest St. www.rupestrian.com Flagstaff, AZ 86004-6811 USA
RCS: Computer science in the service of rock art research, protection, and education.
Sigh...
server:VisualSFM_OS_X_Installer-master rmark$ make clean
rm -f build/*.o rm -f bin/libsiftgpu.a rm -f bin/libsiftgpu.so rm -f bin/TestWinGlut rm -f bin/SimpleSIFT rm -f bin/speed rm -f bin/server_siftgpu rm -f bin/MultiThreadSIFT rm -f ProgramCU.linkinfo
server:VisualSFM_OS_XInstaller-master rmark$ make siftgpu mkdir -p build mkdir -p bin sed -i -e 's/\/\//g' demos/.bat sed: demos/_.bat: No such file or directory make: *\ [makepath] Error 1
luckybulldozer wrote:
A quick google told me that's because of space in the makefile where there should be tabs indenting the file... I guess pasting makefiles isn't a good idea. I've added it to the git. Re-download the git to get that file, it's called |makefileSiftGPU_Cuda|. Move that to your SiftGPU directory and rename it to |makefile| and then try |make clean ; make siftgpu| . Sorry for the hassle, but I don't have an intel chipset machine of your variation to test on.
— Reply to this email directly or view it on GitHub https://github.com/luckybulldozer/VisualSFM_OS_X_Installer/issues/7#issuecomment-123051849.
Robert Mark, Ph.D. rmark@infomagic.net Rupestrian CyberServices Phone/FAX 928-526-3625 3644 N. Stone Crest St. www.rupestrian.com Flagstaff, AZ 86004-6811 USA
RCS: Computer science in the service of rock art research, protection, and education.
you are not in the SiftGPU directory... this is just a test to see if we can get CUDA working...
SiftGPU appeared to compile... some warnings, but that's it.
so you did get a libsiftgpu.so file? copy that into vsfm/bin/ - just need to compile libpba... you could comment out line 304 which says installSiftGPU
and re-run my Vsfm installer, copying in libsiftgpu.so to vsfm/bin/
we're getting there...
did get a libsiftgup.so file which i copied to vsfm/bin/ commented out line 304 in vsfm_os_x_installer.sh reran the shell script: $ sh vsfm_os_x_installer.sh
compilation halted at the same point as before:
About to make... mkdir -p build mkdir -p bin cd build; ar -x ../lib/VisualSFM.a; cd ..; g++-4.8 -w -o bin/VisualSFM build/. -L/usr/local/lib -L/opt/X11/lib -pthread -lGL -lGLU -lX11 -ldl -L/usr/local/Cellar/gtk+/2.24.28_1/lib -L/usr/local/Cellar/pango/1.36.8_1/lib -L/usr/local/Cellar/atk/2.16.0/lib -L/usr/local/Cellar/cairo/1.14.2_1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -lgtk-quartz-2.0 -lgdk-quartz-2.0 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl lib/lapack.a lib/blas.a lib/libf2c.a lib/libjpeg.a Undefined symbols for architecture x86_64: "_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 ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status make: *\ [VisualSFM] Error 1 VSFM application failed to build, halting.
it's something to do with brew and GTK... it's driving me nuts too... this make take a bit. If there is a way to go to old brew recipes, then that may be an immediate fix.
alas, i know NOTHING about brew, but I certainly appreciate the time and effort you're putting into this. i'd love to use visualSFM on my mac rather than the VirtualBox Windows 7 slice I'm having to run it in now.
Hi, I'm having the exact same problem as boxcarmib, I'm running xQuartz 2.7.6, and I don't do much of this type of thing but all the brews seem to download fine but I just get that error message. Here's the log, I didn't see this before so I also posted it as an issue but it is the same thing.
I haven't yet seen anyone who has had this problem and resolved it. Any help would be greatly appreciated.
MBP retina 15" early 2013 8 GB 1600 MHz DDR3 2.4 GHz Intel Core i7 Intel HD Graphics 4000 1024 MB os 10.9.5 LOG
Dan Monaghan's VSFM and PMVS installer for OS X
About to check to see if you have the Brew Package Manager Great, you've got brew... Continuing wget is already installed, OK About to install xcode select Hit Enter after it's installed xcode-select: note: install requested for command line developer tools Checking we have the right version of XQuartz
<string>2.7.6</string>
xquartz_version_result=0 Your version of XQuartz is 2.7.6 - perfect.
Ok, now you have to should have either...
Ready to continue the next installation of VSFM & PMVS (press ENTER)
Installing Brew packages... this can take quite a long time
Warning: jpeg-8d already installed
Warning: gdk-pixbuf-2.30.8 already installed
Warning: cairo-1.14.2_1 already installed
Warning: freetype-2.6_1 already installed
Warning: Already linked: /usr/local/Cellar/freetype/2.6_1
To relink: brew unlink freetype && brew link freetype
Warning: pango-1.36.8_1 already installed
Warning: Already linked: /usr/local/Cellar/pixman/0.32.6
To relink: brew unlink pixman && brew link pixman
Warning: Already linked: /usr/local/Cellar/fontconfig/2.11.1
To relink: brew unlink fontconfig && brew link fontconfig
Warning: gtk+-2.24.28_2 already installed
Warning: glew-1.12.0 already installed
Warning: gsl-1.16 already installed
Warning: boost-1.58.0 already installed
Warning: intltool-0.51.0 already installed
Warning: cmake-3.2.3 already installed
Warning: Already tapped!
Warning: homebrew/versions/gcc48-4.8.4 already installed
Warning: devil-1.7.8_1 already installed
Warning: pkg-config-0.28 already installed
Zip file is present, so just unzipping, removing old dir to install so we don't have any conflicts
Archive: VisualSFM_osx64bit.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
Changing VSFM GCC to Brews gcc-4.8
Changing /usr/x11/lib to OS X default /opt/x11/lib
About to make...
mkdir -p build
mkdir -p bin
cd build; ar -x ../lib/VisualSFM.a; cd ..;
g++-4.8 -w -o bin/VisualSFM build/._ -L/usr/local/lib -L/opt/X11/lib -pthread -lGL -lGLU -lX11 -ldl -L/usr/local/Cellar/gtk+/2.24.28_2/lib -L/usr/local/Cellar/pango/1.36.8_1/lib -L/usr/local/Cellar/atk/2.16.0/lib -L/usr/local/Cellar/cairo/1.14.2_1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -lgtk-quartz-2.0 -lgdk-quartz-2.0 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl lib/lapack.a lib/blas.a lib/libf2c.a lib/libjpeg.a
Undefined symbols for architecture x86_64:
"_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
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *\ [VisualSFM] Error 1
VSFM application failed to build, halting.
Hello, I am trying to compile on Yosemite: all of the object file generate correctly until CMVS-PMVS-master is being built; then I get this error:
I tried looking at the log but I couldn't find anything about the error; I have tried reinstalling cmake which is at version 3.1.0 I have run the brew doctor and I get no errors or warnings; it is at the current version
Thanks in advance.