Comments (4)
Hi Daniel,
I've just pushed a change to the Makefile that might fix your issue -- can
you try it out and let me know if it works now?
Noah
On Thu, May 15, 2014 at 3:11 PM, Daniel Lee [email protected]:
Working from the latest commit c34aaa0c34aaa0,
I'm able to compile. While running make, compilation works fine until
compiling the source. Here's the truncated output containing the error:g++ -o bundler -O3 -Wall -Wno-unused-result -std=gnu++0x -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 -I../include -I/usr/include/eigen3 -L../lib -L../lib/ann_1.1_char/lib
-D__NO_UI__ -D__BUNDLER__ -D__BUNDLER_DISTR__ -D__USE_CERES__ BaseApp.o BundlerApp.o keys.o Register.o Epipolar.o Bundle.o BundleFast.o MatchTracks.o Camera.o Geometry.o ImageData.o SifterUtil.o BaseGeometry.o BundlerGeometry.o BoundingBox.o BundleAdd.o ComputeTracks.o BruteForceSearch.o BundleIO.o ProcessBundle.o BundleTwo.o Decompose.o RelativePose.o Distortion.o TwoFrameModel.o LoadJPEG.o BundleCeres.o -limage -lsfmdrv -lsba.v1.5 -lmatrix -lz -lblas -llapack -lcblas -lminpack -lm -l5point -ljpeg -lANN_char -lgfortran -lceres -lcholmod -lcolamd -lamd -lcamd -lcxsparse -lsuitesparseconfig -lgomp -lglog -lpthread
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/libcholmod.so: undefined reference toccolamd_l_recommended' /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/libcholmod.so: undefined reference to
ccolamd_set_defaults'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/libcholmod.so: undefined reference toccolamd_recommended' /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/libcholmod.so: undefined reference to
ccolamd'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/libcholmod.so: undefined reference tocsymamd_l' /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/libcholmod.so: undefined reference to
csymamd'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/libcholmod.so: undefined reference toccolamd_l' /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/libcholmod.so: undefined reference to
ccolamd_l_set_defaults'
collect2: error: ld returned 1 exit status
make[1]: *** [bundler] Error 1
make[1]: Leaving directory `/home/me/bundler_sfm/src'
make: *** [default] Error 2I have libcholmod 2.1.2-39.1 installed. Is this perhaps a SuiteSparse
issue? I have the development headers for SuiteSparse from my package
manager, version 4.2.1-39.1.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/16
.
from bundler_sfm.
Hi Noah,
Just deleted a few spurious posts about misconfigured paths, you can ignore them if you got them by mail because the problem was on my side :P
After pulling the newest code, there's unfortunately no difference - the executable still fails when trying to link because of the undefined references in libcholmod.so
. In order to get back to the point where the compilation got so far, though, I had to comment a line back in that added the path to eigen
to INCLUDE_PATH
:
diff --git a/src/Makefile b/src/Makefile
index 845894a..09c6a3a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -55,7 +55,7 @@ BUNDLER_LIBS=$(CERES_LIBS) $(BUNDLER_BASE_LIBS)
BUNDLER_OBJS+=BundleCeres.o
INCLUDE_PATH+=$(CERES_INCLUDE_PATH)
LIB_PATH+=$(CERES_LIB_PATH)
-# INCLUDE_PATH+=-I/usr/include/eigen3
+INCLUDE_PATH+=-I/usr/include/eigen3
else
BUNDLER_LIBS=$(BUNDLER_BASE_LIBS)
endif
When compiling after doing make clean
, compilation now stops at g++ -c -o BundleCeres.o ...
rather than when trying to compile bundler
.
from bundler_sfm.
Thanks -- just readded that include path, and tried to add -lccolamd to the
list of libraries (before it had -lcolamd, but not -lccolamd). Please give
it another try.
Noah
On Sat, May 17, 2014 at 10:04 AM, Daniel Lee [email protected]:
Hi Noah,
Just deleted a few spurious posts about misconfigured paths, you can
ignore them if you got them by mail because the problem was on my side :PAfter pulling the newest code, there's unfortunately no difference - the
executable still fails when trying to link because of the undefined
references in libcholmod.so. In order to get back to the point where the
compilation got so far, though, I had to comment a line back in that added
the path to eigen to INCLUDE_PATH:diff --git a/src/Makefile b/src/Makefile
index 845894a..09c6a3a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -55,7 +55,7 @@ BUNDLER_LIBS=$(CERES_LIBS) $(BUNDLER_BASE_LIBS)
BUNDLER_OBJS+=BundleCeres.o
INCLUDE_PATH+=$(CERES_INCLUDE_PATH)
LIB_PATH+=$(CERES_LIB_PATH)
-# INCLUDE_PATH+=-I/usr/include/eigen3
+INCLUDE_PATH+=-I/usr/include/eigen3
else
BUNDLER_LIBS=$(BUNDLER_BASE_LIBS)
endifWhen compiling after doing make clean, compilation now stops at g++ -c -o
BundleCeres.o ... rather than when trying to compile bundler.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-43407694
.
from bundler_sfm.
Hi Noah,
Thanks, that did the trick! :)
Daniel
2014-05-18 5:38 GMT+02:00 Noah Snavely [email protected]:
Thanks -- just readded that include path, and tried to add -lccolamd to
the
list of libraries (before it had -lcolamd, but not -lccolamd). Please give
it another try.Noah
On Sat, May 17, 2014 at 10:04 AM, Daniel Lee [email protected]:
Hi Noah,
Just deleted a few spurious posts about misconfigured paths, you can
ignore them if you got them by mail because the problem was on my side
:PAfter pulling the newest code, there's unfortunately no difference - the
executable still fails when trying to link because of the undefined
references in libcholmod.so. In order to get back to the point where the
compilation got so far, though, I had to comment a line back in that
added
the path to eigen to INCLUDE_PATH:diff --git a/src/Makefile b/src/Makefile
index 845894a..09c6a3a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -55,7 +55,7 @@ BUNDLER_LIBS=$(CERES_LIBS) $(BUNDLER_BASE_LIBS)
BUNDLER_OBJS+=BundleCeres.o
INCLUDE_PATH+=$(CERES_INCLUDE_PATH)
LIB_PATH+=$(CERES_LIB_PATH)
-# INCLUDE_PATH+=-I/usr/include/eigen3
+INCLUDE_PATH+=-I/usr/include/eigen3
else
BUNDLER_LIBS=$(BUNDLER_BASE_LIBS)
endifWhen compiling after doing make clean, compilation now stops at g++ -c
-o
BundleCeres.o ... rather than when trying to compile bundler.—
Reply to this email directly or view it on GitHub<
https://github.com/snavely/bundler_sfm/issues/16#issuecomment-43407694>
.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-43430591
.
from bundler_sfm.
Related Issues (20)
- Where is RunSFM_Ceres? HOT 7
- Assert in MatchTracks.cpp HOT 1
- New to bundler HOT 1
- No such file or directory: 'list.rd.txt' HOT 1
- Add typical workflow to readme
- Can this project generate 3D in realtime? HOT 1
- can Photo Tourism be made open source?
- Could not generate bundle.out by RunBundler.sh HOT 5
- How to get the saved feature point
- Can't estimate focal length in pixels for the photo HOT 4
- can't estimate the focal length of camera
- solution for "EstimateFMatrix failure #10"
- segment falut
- Questions about bundler.py and make
- can't find 'pmvs/00000000.txt' stat
- segfault on bundler, Ubuntu 18.04.4 LTS *dscal* libopenblas.so.0 HOT 2
- make src/Makefile fails
- Unable to run Bundler
- Insecure Temporary File
- [Out-of-bounds] `proj` in `Camera.cpp`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bundler_sfm.