GSLAM icon indicating copy to clipboard operation
GSLAM copied to clipboard

gslam: symbol lookup error: ./libgslam_optimizer.so: undefined symbol: cholmod_start

Open Helmholz opened this issue 5 years ago • 4 comments

When running the test procedure: $ gslam Act=Tests --gtest_filter=* The gslam program gives the following output: [==========] Running 27 tests from 8 test cases. [----------] Global test environment set-up. [----------] 1 test from SLAM [ RUN ] SLAM.LoadRelease [ OK ] SLAM.LoadRelease (0 ms) [----------] 1 test from SLAM (0 ms total)

[----------] 6 tests from Svar [ RUN ] Svar.Int [ OK ] Svar.Int (0 ms) [ RUN ] Svar.Double [ OK ] Svar.Double (0 ms) [ RUN ] Svar.String [ OK ] Svar.String (0 ms) [ RUN ] Svar.Pointer [ OK ] Svar.Pointer (0 ms) [ RUN ] Svar.VecParament [ OK ] Svar.VecParament (0 ms) [ RUN ] Svar.Parse Auther of GSLAM is ZhaoYong Name is ChangedName FunctionCalled=1 [ OK ] Svar.Parse (0 ms) [----------] 6 tests from Svar (0 ms total)

[----------] 1 test from Scommand [ RUN ] Scommand.Regist [ OK ] Scommand.Regist (0 ms) [----------] 1 test from Scommand (0 ms total)

[----------] 1 test from HashMapTest [ RUN ] HashMapTest.MultiThreadReadWrite [ OK ] HashMapTest.MultiThreadReadWrite (2 ms) [----------] 1 test from HashMapTest (2 ms total)

[----------] 6 tests from Estimator [ RUN ] Estimator.HomographyRANSAC H:,0.998268,1.99992,3.07404,3.99708,5.00007,6.08132,-4.52509e-06,1.78728e-06,1 MidNoise:0.110101,MidError:0.149897 [ OK ] Estimator.HomographyRANSAC (74 ms) [ RUN ] Estimator.FundamentalSevenPoint /home/shihl/workspace/GSLAM/GSLAM/gslam/Tests/EstimatorTest.cpp:88: Failure Expected: (fabs(F[0]-4.81441976)) <= (1e-6), actual: 1.00506e-06 vs 1e-06 /home/shihl/workspace/GSLAM/GSLAM/gslam/Tests/EstimatorTest.cpp:89: Failure Expected: (fabs(F[1]+8.16978909)) <= (1e-6), actual: 1.07973e-06 vs 1e-06 /home/shihl/workspace/GSLAM/GSLAM/gslam/Tests/EstimatorTest.cpp:90: Failure Expected: (fabs(F[2]-6.73133404)) <= (1e-6), actual: 1.67578e-06 vs 1e-06 /home/shihl/workspace/GSLAM/GSLAM/gslam/Tests/EstimatorTest.cpp:94: Failure Expected: (fabs(-9.92570126-F[6])) <= (1e-6), actual: 1.47626e-06 vs 1e-06 [ FAILED ] Estimator.FundamentalSevenPoint (0 ms) [ RUN ] Estimator.FundamentalEightPoint [ OK ] Estimator.FundamentalEightPoint (1 ms) [ RUN ] Estimator.EssentialFivePoint [ OK ] Estimator.EssentialFivePoint (0 ms) [ RUN ] Estimator.SE3PlaneRansac [ OK ] Estimator.SE3PlaneRansac (0 ms) [ RUN ] Estimator.Triangulate [ OK ] Estimator.Triangulate (0 ms) [----------] 6 tests from Estimator (75 ms total)

[----------] 3 tests from GImageTest [ RUN ] GImageTest.GImageReadThreadSafe [ OK ] GImageTest.GImageReadThreadSafe (1001 ms) [ RUN ] GImageTest.CheckGImageType [ OK ] GImageTest.CheckGImageType (0 ms) [ RUN ] GImageTest.OpenCVNoCopy [ OK ] GImageTest.OpenCVNoCopy (237 ms) [----------] 3 tests from GImageTest (1238 ms total)

[----------] 1 test from Thread [ RUN ] Thread.ThreadPool [ OK ] Thread.ThreadPool (71 ms) [----------] 1 test from Thread (71 ms total)

[----------] 8 tests from Optimizer [ RUN ] Optimizer.OptimizePoseSimulate gslam: symbol lookup error: ./libgslam_optimizer.so: undefined symbol: cholmod_start

Is that normal? What is wrong? Why this error comes out during runtime?

Helmholz avatar Mar 07 '19 11:03 Helmholz

I have the same issue. Did you figure out how to solve this?

yfcube avatar Apr 15 '19 03:04 yfcube

我也出现了相同的问题

DavidHan008 avatar Apr 16 '19 06:04 DavidHan008

Now cholmod dependency added, please pull the code with:

git pull origin master

zdzhaoyong avatar Apr 17 '19 01:04 zdzhaoyong

Now cholmod dependency added, please pull the code with:

git pull origin master

The error is stiil exist.

Dreamer-Sea avatar Jul 07 '19 22:07 Dreamer-Sea