You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm copying my reply to another issue with compilation problems:
"The original project is not active since 2009-10. If you want, you can check out my fork (https://github.com/tiendan/OpenGazer) which has several improvements (modular structure, Qt interface, etc.) and less requirements (removed VXL and some other dependencies)."
when i install opengazer-0.1.2 on ubuntu 12.04 32bit I met these errors like this,
root@candy-OptiPlex-380:/home/candy/opengazer-0.1.2# make
g++ -Wall -g -O3 -o opengazer
pkg-config cairomm-1.0 opencv gtkmm-2.4 --libs
-L/usr/local/include/vxl -L/usr/local/lib -lm -ldl -lvnl -lmvl -lvnl_algo -lvgl -lgthread-2.0 opengazer.o Calibrator.o GazeTrackerGtk.o HeadTracker.o LeastSquares.o EyeExtractor.o GazeTracker.o MainGazeTracker.o OutputMethods.o PointTracker.o FaceDetector.o GazeArea.o TrackingSystem.o GtkStore.o Containers.o GraphicalPointer.o Point.o utils.o BlinkDetector.o FeatureDetector.o Alert.og++ -o opengazer opengazer.o Calibrator.o GazeTrackerGtk.o HeadTracker.o LeastSquares.o EyeExtractor.o GazeTracker.o MainGazeTracker.o OutputMethods.o PointTracker.o FaceDetector.o GazeArea.o TrackingSystem.o GtkStore.o Containers.o GraphicalPointer.o Point.o utils.o BlinkDetector.o FeatureDetector.o Alert.o
pkg-config cairomm-1.0 opencv gtkmm-2.4 --libs
-L/usr/local/include/vxl -L/usr/local/lib -lm -ldl -lvnl -lmvl -lvnl_algo -lvgl -lgthread-2.0 -Wall -g -O3/usr/local/lib/libvnl_algo.a(vnl_cholesky.o): In function
vnl_cholesky::vnl_cholesky(vnl_matrix<double> const&, vnl_cholesky::Operation)': vnl_cholesky.cxx:(.text+0x132): undefined reference to
v3p_netlib_dpofa_'vnl_cholesky.cxx:(.text+0x1dd): undefined reference to
v3p_netlib_dpoco_' /usr/local/lib/libvnl_algo.a(vnl_cholesky.o): In function
vnl_cholesky::solve(vnl_vector const&, vnl_vector) const':vnl_cholesky.cxx:(.text+0x329): undefined reference to
v3p_netlib_dposl_' /usr/local/lib/libvnl_algo.a(vnl_cholesky.o): In function
vnl_cholesky::solve(vnl_vector const&) const':vnl_cholesky.cxx:(.text+0x3c9): undefined reference to
v3p_netlib_dposl_' /usr/local/lib/libvnl_algo.a(vnl_cholesky.o): In function
vnl_cholesky::determinant() const':vnl_cholesky.cxx:(.text+0x44b): undefined reference to
v3p_netlib_dpodi_' /usr/local/lib/libvnl_algo.a(vnl_cholesky.o): In function
vnl_cholesky::inverse() const':vnl_cholesky.cxx:(.text+0x526): undefined reference to
v3p_netlib_dpodi_' /usr/local/lib/libvnl_algo.a(vnl_cholesky.o): In function
v3p_netlib_initializer::v3p_netlib_initializer()':vnl_cholesky.cxx:(.text.ZN22v3p_netlib_initializerC2Ev[ZN22v3p_netlib_initializerC5Ev]+0x7): undefined reference to
v3p_netlib_initialize' /usr/local/lib/libvnl_algo.a(vnl_svd+double-.o): In function
vnl_linpack_svdc(double, long const, long const, long const_, double_, double_, double_, long const_, double_, long const_, double_, long const_, long_)':vnl_svd+double-.cxx:(.text.Z16vnl_linpack_svdcPdPKlS1_S1_S_S_S_S1_S_S1_S_S1_Pl[vnl_linpack_svdc(double, long const_, long const_, long const_, double_, double_, double_, long const_, double_, long const_, double_, long const_, long*)]+0x61): undefined reference to
v3p_netlib_dsvdc_' /usr/local/lib/libvnl_algo.a(vnl_svd+double-.o): In function
vnl_svd::vnl_svd(vnl_matrix const&, double)':vnl_svd+double-.cxx:(.text._ZN7vnl_svdIdEC2ERK10vnl_matrixIdEd[_ZN7vnl_svdIdEC5ERK10vnl_matrixIdEd]+0x15f): undefined reference to
vnl_fortran_copy<double>::vnl_fortran_copy(vnl_matrix<double> const&)' vnl_svd+double-.cxx:(.text._ZN7vnl_svdIdEC2ERK10vnl_matrixIdEd[_ZN7vnl_svdIdEC5ERK10vnl_matrixIdEd]+0x3aa): undefined reference to
std::basic_ostream<char, std::char_traits >& vnl_matlab_print(std::basic_ostream<char, std::char_traits >&, vnl_matrix const&, char const*, vnl_matlab_print_format)'vnl_svd+double-.cxx:(.text._ZN7vnl_svdIdEC2ERK10vnl_matrixIdEd[_ZN7vnl_svdIdEC5ERK10vnl_matrixIdEd]+0x560): undefined reference to
vnl_fortran_copy<double>::~vnl_fortran_copy()' vnl_svd+double-.cxx:(.text._ZN7vnl_svdIdEC2ERK10vnl_matrixIdEd[_ZN7vnl_svdIdEC5ERK10vnl_matrixIdEd]+0x7b4): undefined reference to
vnl_fortran_copy::~vnl_fortran_copy()'/usr/local/lib/libvnl_algo.a(vnl_svd+double-.o): In function
vnl_svd<double>::solve(vnl_vector<double> const&) const': vnl_svd+double-.cxx:(.text._ZNK7vnl_svdIdE5solveERK10vnl_vectorIdE[vnl_svd<double>::solve(vnl_vector<double> const&) const]+0x158): undefined reference to
std::basic_ostream<char, std::char_traits >& operator<< (std::basic_ostream<char, std::char_traits >&, vnl_diag_matrix const&)'/usr/local/lib/libvnl_algo.a(vnl_svd+double-.o): In function
std::basic_ostream<char, std::char_traits<char> >& operator<< <double>(std::basic_ostream<char, std::char_traits<char> >&, vnl_svd<double> const&)': vnl_svd+double-.cxx:(.text._ZlsIdERSoS0_RK7vnl_svdIT_E[std::basic_ostream<char, std::char_traits<char> >& operator<< <double>(std::basic_ostream<char, std::char_traits<char> >&, vnl_svd<double> const&)]+0x98): undefined reference to
std::basic_ostream<char, std::char_traits >& operator<< (std::basic_ostream<char, std::char_traits >&, vnl_diag_matrix const&)'collect2: ld returned 1 exit status
make: *** [opengazer] Error 1
And my Makefile is:
required libraries: vxl, opencv, boost, gtkmm
VXLDIR = /home/candy/opengazer-0.1.2
VERSION = opengazer-0.1.2
CPPFLAGS = -Wall -g -O3
LINKER = -L/usr/local/include/vxl -L/usr/local/lib -lm -ldl -lvnl -lmvl -lvnl_algo -lvgl -lgthread-2.0
change the following line if your vxl library is installed elsewhere
INCLUDES=-L/usr/local/include/vxl$(foreach prefix,/usr/local/include $ (VXLDIR)/include $(VXLDIR)/include/vxl,
$(foreach suffix,/core /vcl /contrib/oxl,-I$ (prefix)$(suffix)))
INCLUDES=-L/usr/local/include/
INCLUDES = -I{/usr/local/include,/opt/local/include,/usr/local/include/vxl/core,/usr/local/include/vxl/vcl,/usr/local/include/vxl/contrib/oxl,/usr/local/include/vxl/rply,/usr/local/include/vxl/v3p}
INCLUDES =
-I/usr/include/ffmpeg
-lcv0.9.7 -lhighgui0.9.7
-lvgui
sources = opengazer.cpp Calibrator.cpp GazeTrackerGtk.cpp HeadTracker.cpp LeastSquares.cpp EyeExtractor.cpp GazeTracker.cpp MainGazeTracker.cpp OutputMethods.cpp PointTracker.cpp FaceDetector.cpp GazeArea.cpp TrackingSystem.cpp GtkStore.cpp Containers.cpp GraphicalPointer.cpp Point.cpp utils.cpp BlinkDetector.cpp FeatureDetector.cpp Alert.cpp
objects =$(patsubst %.cpp,%.o,$ (sources))
%.o.depends: %.cpp$< > $ @
g++ -MM
%.o: %.cpp$(CPPFLAGS) -o $ @ $(INCLUDES) $ <$@ $ (INCLUDES) $<
#g++ -c
pkg-config cairomm-1.0 opencv gtkmm-2.4 --cflags
g++ -c -o
pkg-config cairomm-1.0 opencv gtkmm-2.4 --cflags
$(CPPFLAGS)opengazer: $(objects)$(CPPFLAGS) -o $ @ $(LINKER) $ ^$@ $ ^ $(LINKER) $ (CPPFLAGS)
#g++
pkg-config cairomm-1.0 opencv gtkmm-2.4 --libs
g++ -o
pkg-config cairomm-1.0 opencv gtkmm-2.4 --libs
include$(patsubst %.cpp,%.o.depends,$ (sources))
TAGS: always
etags *.cpp *.h
ship: always$(VERSION) || rm -fr $ (VERSION)/*$$(for file in $$ (cat $(addsuffix .depends,$ (objects))) ; do test -f $$file && echo $$file ; done | sort -u) $(VERSION)/$(VERSION).tar.gz $ (VERSION)
mkdir
cp LICENSE README Makefile calpoints.txt haarcascade_frontalface_alt.xml
tar czf
cp $(VERSION).tar.gz README /home/ftp/pub/www/opengazer/
.PHONY: always ship
~
~
~
~
"Makefile" 46 lines, 2065 characters
Is anyone can help me ? thanks.
The text was updated successfully, but these errors were encountered: