I could build CERES on CentOS using the patched suitesparse RPM (3.4.0.9). But I am running into issues while building Bundler, as illustrated below. Could anyone offer insight ?
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libspqr.so: undefined reference to `tbb::task_scheduler_init::terminate()'
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libspqr.so: undefined reference to `typeinfo for tbb::task'
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libspqr.so: undefined reference to `tbb::task::spawn_and_wait_for_all(tbb::task_list&)'
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libspqr.so: undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned long) const'
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libspqr.so: undefined reference to `vtable for tbb::task'
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libspqr.so: undefined reference to `tbb::task::note_affinity(unsigned short)'
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libspqr.so: undefined reference to `tbb::task_scheduler_init::initialize(int, unsigned long)'
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libspqr.so: undefined reference to `tbb::internal::allocate_root_proxy::allocate(unsigned long)'
I installed suitesparse from the following RPMs: suitesparse-3.4.0-9.el6.src.rpm and suitesparse-devel-3.4.0-9.el6.x86_64.rpm. When I did a cmake on ceres-solver-1.9, the output was :
-- Found Eigen version 3.0.6: /usr/include/eigen3
-- A library with BLAS API found.
-- Found LAPACK library: /usr/lib64/atlas/liblapack.so;/usr/lib64/atlas/libf77blas.so;/usr/lib64/atlas/libatlas.so
-- Found BLAS library: /usr/lib64/atlas/libf77blas.so;/usr/lib64/atlas/libatlas.so
-- 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
-- Enabling CERES_USE_OPENMP in Ceres config.h
-- Enabling CERES_HAVE_PTHREAD in Ceres config.h
-- Enabling CERES_HAVE_RWLOCK in Ceres config.h
-- Enabling CERES_TR1_UNORDERED_MAP in Ceres config.h
-- Enabling CERES_TR1_MEMORY_HEADER in Ceres config.h
-- Enabling CERES_TR1_SHARED_PTR in Ceres config.h
-- Build the examples.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ovuser/Finder/software/ceres-bin_test