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

libsiftgpu.so failed to build. Halting - on MacOS Sierra 10.12.3 #39

Open
MartinHahner opened this issue Mar 27, 2017 · 2 comments
Open

Comments

@MartinHahner
Copy link

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.8</string>

xquartz_version_result=0
Your version of XQuartz is 2.7.8 - 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.36.2 already installed
Warning: cairo-1.14.8 already installed
Warning: freetype-2.7.1 already installed
Warning: Already linked: /usr/local/Cellar/freetype/2.7.1
To relink: brew unlink freetype && brew link freetype
Warning: pango-1.40.4 already installed
Warning: Already linked: /usr/local/Cellar/pixman/0.34.0
To relink: brew unlink pixman && brew link pixman
Warning: Already linked: /usr/local/Cellar/fontconfig/2.12.1_2
To relink: brew unlink fontconfig && brew link fontconfig
######################################################################## 100.0%
Warning: gtk+-2.24.28 already installed
Warning: glew-2.0.0 already installed
Warning: gsl-2.3 already installed
Warning: boost-1.63.0 already installed
Warning: intltool-0.51.0 already installed
Warning: cmake-3.7.2 already installed
Warning: gcc@4.9-4.9.4 already installed, it's just not linked.
Warning: devil-1.8.0 already installed
Warning: pkg-config-0.29.2 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.9
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.9 -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.40.4/lib -L/usr/local/Cellar/atk/2.22.0/lib -L/usr/local/Cellar/cairo/1.14.8/lib -L/usr/local/Cellar/gdk-pixbuf/2.36.2/lib -L/usr/local/Cellar/glib/2.50.3/lib -L/usr/local/Cellar/pango/1.40.4/lib -L/usr/local/Cellar/glib/2.50.3/lib -L/usr/local/Cellar/fontconfig/2.12.1_2/lib -L/usr/local/opt/freetype/lib -L/usr/local/Cellar/glib/2.50.3/lib -L/usr/local/opt/gettext/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-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
LIB_SIFT_GPU is present, skipping download and unzip. removing old dir to install so we don't have any conflicts
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_and_accuracy.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
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
Disable TestWin build for this OS X build

WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist

Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.

mkdir -p build
mkdir -p bin
sed -i -e 's/\///g' demos/.bat
g++ -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++ -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
In file included from src/SiftGPU/GlobalUtil.cpp:47:0:
src/SiftGPU/LiteWindow.h: In destructor 'virtual LiteWindow::~LiteWindow()':
src/SiftGPU/LiteWindow.h:20:48: warning: 'void glutDestroyWindow(int)' is deprecated (declared at /System/Library/Frameworks/GLUT.framework/Headers/glut.h:443) [-Wdeprecated-declarations]
virtual ~LiteWindow() { if(glut_id > 0) glutDestroyWindow(glut_id); }
^
src/SiftGPU/LiteWindow.h:20:73: warning: 'void glutDestroyWindow(int)' is deprecated (declared at /System/Library/Frameworks/GLUT.framework/Headers/glut.h:443) [-Wdeprecated-declarations]
virtual ~LiteWindow() { if(glut_id > 0) glutDestroyWindow(glut_id); }
^
src/SiftGPU/LiteWindow.h: In member function 'void LiteWindow::MakeCurrent()':
src/SiftGPU/LiteWindow.h:21:32: warning: 'void glutSetWindow(int)' is deprecated (declared at /System/Library/Frameworks/GLUT.framework/Headers/glut.h:450) [-Wdeprecated-declarations]
void MakeCurrent() { glutSetWindow(glut_id); }
^
src/SiftGPU/LiteWindow.h:21:53: warning: 'void glutSetWindow(int)' is deprecated (declared at /System/Library/Frameworks/GLUT.framework/Headers/glut.h:450) [-Wdeprecated-declarations]
void MakeCurrent() { glutSetWindow(glut_id); }
^
src/SiftGPU/LiteWindow.h: In member function 'void LiteWindow::Create(int, int, const char
)':
src/SiftGPU/LiteWindow.h:28:38: warning: 'int glutGetWindow()' is deprecated (declared at /System/Library/Frameworks/GLUT.framework/Headers/glut.h:449) [-Wdeprecated-declarations]
if(_glut_init_called) glut_id = glutGetWindow();
^
src/SiftGPU/LiteWindow.h:28:52: warning: 'int glutGetWindow()' is deprecated (declared at /System/Library/Frameworks/GLUT.framework/Headers/glut.h:449) [-Wdeprecated-declarations]
if(_glut_init_called) glut_id = glutGetWindow();
^
src/SiftGPU/LiteWindow.h:36:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
char * argv[4] = { "-iconic", 0 , 0, 0};
^
src/SiftGPU/LiteWindow.h:40:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
argv[1] = "-display";
^
src/SiftGPU/LiteWindow.h:43:7: warning: 'void glutInit(int*, char**)' is deprecated (declared at /System/Library/Frameworks/GLUT.framework/Headers/glut.h:431) [-Wdeprecated-declarations]
glutInit(&argc, argv);
^
src/SiftGPU/LiteWindow.h:43:27: warning: 'void glutInit(int*, char**)' is deprecated (declared at /System/Library/Frameworks/GLUT.framework/Headers/glut.h:431) [-Wdeprecated-declarations]
glutInit(&argc, argv);
^
src/SiftGPU/LiteWindow.h:44:7: warning: 'void glutInitDisplayMode(unsigned int)' is deprecated (declared at /System/Library/Frameworks/GLUT.framework/Headers/glut.h:432) [-Wdeprecated-declarations]
glutInitDisplayMode (GLUT_RGBA );
^
src/SiftGPU/LiteWindow.h:44:38: warning: 'void glutInitDisplayMode(unsigned int)' is deprecated (declared at /System/Library/Frameworks/GLUT.framework/Headers/glut.h:432) [-Wdeprecated-declarations]
glutInitDisplayMode (GLUT_RGBA );
^
src/SiftGPU/LiteWindow.h:47:18: warning: 'void glutInitWindowPosition(int, int)' is deprecated (declared at /System/Library/Frameworks/GLUT.framework/Headers/glut.h:436) [-Wdeprecated-declarations]
if(x != -1) glutInitWindowPosition(x, y);
^
src/SiftGPU/LiteWindow.h:47:45: warning: 'void glutInitWindowPosition(int, int)' is deprecated (declared at /System/Library/Frameworks/GLUT.framework/Headers/glut.h:436) [-Wdeprecated-declarations]
if(x != -1) glutInitWindowPosition(x, y);
^
src/SiftGPU/LiteWindow.h:50:16: warning: 'int glutCreateWindow(const char*)' is deprecated (declared at /System/Library/Frameworks/GLUT.framework/Headers/glut.h:441) [-Wdeprecated-declarations]
glut_id = glutCreateWindow ("SIFT_GPU_GLUT");
^
src/SiftGPU/LiteWindow.h:50:49: warning: 'int glutCreateWindow(const char*)' is deprecated (declared at /System/Library/Frameworks/GLUT.framework/Headers/glut.h:441) [-Wdeprecated-declarations]
glut_id = glutCreateWindow ("SIFT_GPU_GLUT");
^
src/SiftGPU/LiteWindow.h:51:6: warning: 'void glutHideWindow()' is deprecated (declared at /System/Library/Frameworks/GLUT.framework/Headers/glut.h:459) [-Wdeprecated-declarations]
glutHideWindow();
^
src/SiftGPU/LiteWindow.h:51:21: warning: 'void glutHideWindow()' is deprecated (declared at /System/Library/Frameworks/GLUT.framework/Headers/glut.h:459) [-Wdeprecated-declarations]
glutHideWindow();
^
g++ -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
In file included from src/SiftGPU/ShaderMan.h:31:0,
from src/SiftGPU/GLTexImage.cpp:41:
src/SiftGPU/ProgramGLSL.h: In member function 'virtual void* ProgramGLSL::GetProgramID()':
src/SiftGPU/ProgramGLSL.h:68:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
virtual void * GetProgramID() { return (void*) _programID; }
^
g++ -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
In file included from src/SiftGPU/ProgramGLSL.cpp:38:0:
src/SiftGPU/ProgramGLSL.h: In member function 'virtual void* ProgramGLSL::GetProgramID()':
src/SiftGPU/ProgramGLSL.h:68:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
virtual void * GetProgramID() { return (void*) _programID; }
^
src/SiftGPU/ProgramGLSL.cpp: In static member function 'static void ShaderBagGLSL::WriteOrientationCodeToStream(std::ostream&)':
src/SiftGPU/ProgramGLSL.cpp:1351:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
testpeak_code = "\\n"
^
src/SiftGPU/ProgramGLSL.cpp:1357:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
savepeak_code = "\\n"
^
src/SiftGPU/ProgramGLSL.cpp:1364:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
savepeak_code = "\\n"
^
src/SiftGPU/ProgramGLSL.cpp:1373:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
savepeak_code = "\\n"
^
src/SiftGPU/ProgramGLSL.cpp:1388:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
testpeak_code ="\\n"
^
src/SiftGPU/ProgramGLSL.cpp:1391:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
savepeak_code="\\n"
^
g++ -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
In file included from src/SiftGPU/ShaderMan.h:31:0,
from src/SiftGPU/ProgramGPU.cpp:34:
src/SiftGPU/ProgramGLSL.h: In member function 'virtual void* ProgramGLSL::GetProgramID()':
src/SiftGPU/ProgramGLSL.h:68:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
virtual void * GetProgramID() { return (void*) _programID; }
^
g++ -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
In file included from src/SiftGPU/ShaderMan.cpp:35:0:
src/SiftGPU/ProgramGLSL.h: In member function 'virtual void* ProgramGLSL::GetProgramID()':
src/SiftGPU/ProgramGLSL.h:68:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
virtual void * GetProgramID() { return (void*) _programID; }
^
g++ -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
In file included from src/SiftGPU/ShaderMan.h:31:0,
from src/SiftGPU/SiftGPU.cpp:42:
src/SiftGPU/ProgramGLSL.h: In member function 'virtual void* ProgramGLSL::GetProgramID()':
src/SiftGPU/ProgramGLSL.h:68:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
virtual void * GetProgramID() { return (void*) _programID; }
^
g++ -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++ -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
In file included from src/SiftGPU/ShaderMan.h:31:0,
from src/SiftGPU/PyramidGL.cpp:36:
src/SiftGPU/ProgramGLSL.h: In member function 'virtual void* ProgramGLSL::GetProgramID()':
src/SiftGPU/ProgramGLSL.h:68:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
virtual void * GetProgramID() { return (void*) _programID; }
^
g++ -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
In file included from src/SiftGPU/SiftMatch.cpp:33:0:
src/SiftGPU/ProgramGLSL.h: In member function 'virtual void* ProgramGLSL::GetProgramID()':
src/SiftGPU/ProgramGLSL.h:68:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
virtual void * GetProgramID() { return (void*) _programID; }
^
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++ -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: warning: directory not found for option '-L/usr/lib64'
Undefined symbols for architecture x86_64:
"std::__throw_out_of_range_fmt(char const*, ...)", referenced from:
std::vector<std::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::basic_string<char, std::char_traits, std::allocator > > >::_M_range_check(unsigned long) const in SiftGPU.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [siftgpu] Error 1
libsiftgpu.so failed to build. Halting.

@MartinHahner
Copy link
Author

I tried the hints from the closed issue "libsiftgpu.so failed to build." but they did not work for me.

@vbongioanni
Copy link

Ninerian's first comment from this thread solved it for me:
#44

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

2 participants