Skip to content

Instantly share code, notes, and snippets.

/a.rb

Created April 8, 2015 07:42
Show Gist options
  • Save anonymous/abc9f3a7725ec8c72519 to your computer and use it in GitHub Desktop.
Save anonymous/abc9f3a7725ec8c72519 to your computer and use it in GitHub Desktop.
[root@qi-gis-02 OpenSfM]# python2 setup.py install
Configuring...
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- A library with BLAS API found.
-- Found AMD library: /usr/lib64/libamd.so
-- Found AMD header in: /usr/include/suitesparse
-- Found CAMD library: /usr/lib64/libcamd.so
-- Found CAMD header in: /usr/include/suitesparse
-- Found COLAMD library: /usr/lib64/libcolamd.so
-- Found COLAMD header in: /usr/include/suitesparse
-- Found CCOLAMD library: /usr/lib64/libccolamd.so
-- Found CCOLAMD header in: /usr/include/suitesparse
-- Found CHOLMOD library: /usr/lib64/libcholmod.so
-- Found CHOLMOD header in: /usr/include/suitesparse
-- Found SuiteSparseQR library: /usr/lib64/libspqr.so
-- Found SuiteSparseQR header in: /usr/include/suitesparse
-- Found Intel Thread Building Blocks (TBB) library: /usr/lib64/libtbb.so, assuming SuiteSparseQR was compiled with TBB.
-- Found Intel Thread Building Blocks (TBB) Malloc library: /usr/lib64/libtbbmalloc.so
-- Found SuiteSparse_config library: /usr/lib64/libsuitesparseconfig.so
-- Found SuiteSparse_config header in: /usr/include/suitesparse
-- Adding librt: /usr/lib64/librt.so to SuiteSparse_config libraries (required on Linux & Unix [not OSX] if SuiteSparse is compiled with timing).
-- Found METIS library: /usr/lib64/libmetis.so.
-- Boost version: 1.57.0
-- Found the following Boost libraries:
-- python
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/OpenSfM/cmake_build
Compiling extension...
[ 8%] Built target akaze
[ 76%] Built target vl
[ 98%] Built target mv
[100%] Building CXX object CMakeFiles/csfm.dir/csfm.cc.o
In file included from /usr/local/src/OpenSfM/opensfm/src/multiview.cc:7:0,
from /usr/local/src/OpenSfM/opensfm/src/csfm.cc:10:
/usr/local/src/OpenSfM/opensfm/src/third_party/libmv/tools/tool.h: In function ‘void libmv::Init(const char*, int*, char***)’:
/usr/local/src/OpenSfM/opensfm/src/third_party/libmv/tools/tool.h:41:3: error: ‘SetUsageMessage’ is not a member of ‘libmv::gflags’
gflags::SetUsageMessage(std::string(usage));
^
/usr/local/src/OpenSfM/opensfm/src/third_party/libmv/tools/tool.h:41:3: note: suggested alternative:
In file included from /usr/include/glog/logging.h:85:0,
from /usr/local/src/OpenSfM/opensfm/src/third_party/libmv/logging/logging.h:24,
from /usr/local/src/OpenSfM/opensfm/src/third_party/libmv/multiview/nviewtriangulation.h:30,
from /usr/local/src/OpenSfM/opensfm/src/multiview.cc:6,
from /usr/local/src/OpenSfM/opensfm/src/csfm.cc:10:
/usr/include/gflags/gflags.h:331:29: note: ‘gflags::SetUsageMessage’
extern GFLAGS_DLL_DECL void SetUsageMessage(const std::string& usage);
^
In file included from /usr/local/src/OpenSfM/opensfm/src/multiview.cc:7:0,
from /usr/local/src/OpenSfM/opensfm/src/csfm.cc:10:
/usr/local/src/OpenSfM/opensfm/src/third_party/libmv/tools/tool.h:42:3: error: ‘ParseCommandLineFlags’ is not a member of ‘libmv::gflags’
gflags::ParseCommandLineFlags(argc, argv, true);
^
/usr/local/src/OpenSfM/opensfm/src/third_party/libmv/tools/tool.h:42:3: note: suggested alternative:
In file included from /usr/include/glog/logging.h:85:0,
from /usr/local/src/OpenSfM/opensfm/src/third_party/libmv/logging/logging.h:24,
from /usr/local/src/OpenSfM/opensfm/src/third_party/libmv/multiview/nviewtriangulation.h:30,
from /usr/local/src/OpenSfM/opensfm/src/multiview.cc:6,
from /usr/local/src/OpenSfM/opensfm/src/csfm.cc:10:
/usr/include/gflags/gflags.h:346:31: note: ‘gflags::ParseCommandLineFlags’
extern GFLAGS_DLL_DECL uint32 ParseCommandLineFlags(int *argc, char*** argv, bool remove_flags);
^
make[2]: *** [CMakeFiles/csfm.dir/csfm.cc.o] Error 1
make[1]: *** [CMakeFiles/csfm.dir/all] Error 2
make: *** [all] Error 2
Building package
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /usr/lib/python2.7/site-packages/OpenSfM-0.1-py2.7.egg-info
Writing /usr/lib/python2.7/site-packages/OpenSfM-0.1-py2.7.egg-info
[root@qi-gis-02 OpenSfM]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment