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

Make error #41

Open
CmdNomad opened this issue Oct 20, 2016 · 2 comments
Open

Make error #41

CmdNomad opened this issue Oct 20, 2016 · 2 comments

Comments

@CmdNomad
Copy link

Hello i currently try to set up myself a SFM Pipeline with the Bundler included.
I installed all Dependencys but got a error i could not solve when i went to "make" the Bundler.
Im Using Ubuntu 13.04 LTS.
This is what i get from the Terminal:

vkannen1@vismaggie:~/Desktop/BundlerSFM/bundler-v0.4-source$ make
cd lib/5point; make
make[1]: Entering directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/5point'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/5point'
cd lib/ann_1.1_char; make linux-g++-shared
make[1]: Entering directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/ann_1.1_char'
cd src ; make linux-g++-shared
make[2]: Entering directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/ann_1.1_char/src'
make targets
"ANNLIB = libANN_char.so"
"C++ = g++"
"CFLAGS = -g2 -fPIC"
"MAKELIB = g++ -shared -o "
"RANLIB = true"
make[3]: Entering directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/ann_1.1_char/src'
make[3]: Nothing to be done for 'targets'.
make[3]: Leaving directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/ann_1.1_char/src'
make[2]: Leaving directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/ann_1.1_char/src'
make[1]: Leaving directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/ann_1.1_char'
cd lib/imagelib; make
make[1]: Entering directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/imagelib'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/imagelib'
cd lib/matrix; make
make[1]: Entering directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/matrix'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/matrix'
cd lib/sba-1.5; make
make[1]: Entering directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/sba-1.5'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/sba-1.5'
cd lib/sfm-driver; make
make[1]: Entering directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/sfm-driver'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/sfm-driver'
cd lib/minpack; make
make[1]: Entering directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/minpack'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/minpack'
cd lib/cblas; make
make[1]: Entering directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/cblas'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/cblas'
cd lib/f2c; make
make[1]: Entering directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/f2c'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/lib/f2c'
cd src; make
make[1]: Entering directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/src'
g++ -c -o BundlerApp.o -O3 -Wall -I../lib/imagelib -I../lib/sfm-driver -I../lib/matrix -I../lib/5point -I../lib/sba-1.5 -I../lib/ann_1.1_char/include -D__NO_UI__ -D__BUNDLER__ -D__BUNDLER_DISTR__ BundlerApp.cpp
In file included from /usr/include/c++/5/ext/hash_map:60:0,
from BaseApp.h:45,
from BundlerApp.h:23,
from BundlerApp.cpp:35:
/usr/include/c++/5/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
#warning
^
In file included from BundlerApp.cpp:35:0:
BundlerApp.h: In constructor ‘BundlerApp::BundlerApp()’:
BundlerApp.h:91:27: warning: deprecated conversion from string constant to ‘char_’ [-Wwrite-strings]
m_match_directory = ".";
^
BundlerApp.h:94:25: warning: deprecated conversion from string constant to ‘char_’ [-Wwrite-strings]
m_key_directory = ".";
^
BundlerApp.h:95:27: warning: deprecated conversion from string constant to ‘char_’ [-Wwrite-strings]
m_image_directory = ".";
^
BundlerApp.h:96:28: warning: deprecated conversion from string constant to ‘char_’ [-Wwrite-strings]
m_output_directory = ".";
^
BundlerApp.h: In constructor ‘SkeletalApp::SkeletalApp()’:
BundlerApp.h:620:32: error: cannot call constructor ‘SkeletalApp::BundlerApp’ directly [-fpermissive]
BundlerApp::BundlerApp();
^
BundlerApp.h:620:32: note: for a function-style cast, remove the redundant ‘::BundlerApp’
BundlerApp.cpp: In member function ‘virtual void BundlerApp::ProcessOptions(int, char*)’:
BundlerApp.cpp:739:29: warning: ignoring return value of ‘size_t fread(void
, size_t, size_t, FILE_)’, declared with attribute warn_unused_result [-Wunused-result]
fread(opt_str, 1, 4096, f);
^
Makefile:45: recipe for target 'BundlerApp.o' failed
make[1]: *_* [BundlerApp.o] Error 1
make[1]: Leaving directory '/home/vkannen1/Desktop/BundlerSFM/bundler-v0.4-source/src'
Makefile:21: recipe for target 'default' failed
make: *** [default] Error 2

Could you maybe give me a hand and tell me what i did wrong?
Thank you in advance for any help.

@snavely
Copy link
Owner

snavely commented Dec 12, 2016

Hi CmdNomad,

You are using an old version of Bundler -- instead of downloading the zip file from the bundler webpage, please clone the source from the github repo at https://github.com/snavely/bundler_sfm

@xueao
Copy link

xueao commented Dec 22, 2016

@snavely
Hi, when I run with bundle_sfm , an error occured if the number of photos was up to 2000 (num_cameras in bundle.cpp )and the related points up to 10000000 (num_pts in bundle.cpp).
It seemed to me that the pointer , vmask, in bundle.cpp is too big to be defined correctly.
I'd be appreciated if you could give me some advise to solve the problem?
Thank you.

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

No branches or pull requests

3 participants