pritasam / ceres-solver

Automatically exported from code.google.com/p/ceres-solver
Other
0 stars 0 forks source link

undefined reference when make ceres #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install suitesparse with or without metis
2. after successfully cmake the ceres, and then make
3.

What version of the product are you using? On what operating system?
Ubuntu 10.04

Please provide any additional information below.

/usr/local/lib/libcholmod.a(cholmod_colamd.o): In function `cholmod_colamd':
cholmod_colamd.c:(.text+0x173): undefined reference to `colamd_recommended'
cholmod_colamd.c:(.text+0x18d): undefined reference to `colamd_set_defaults'
cholmod_colamd.c:(.text+0x1eb): undefined reference to `colamd_printf'
cholmod_colamd.c:(.text+0x4f9): undefined reference to `colamd'
/usr/local/lib/libcholmod.a(cholmod_amd.o): In function `cholmod_amd':
cholmod_amd.c:(.text+0x2df): undefined reference to `amd_malloc'
cholmod_amd.c:(.text+0x2ed): undefined reference to `amd_free'
cholmod_amd.c:(.text+0x2fb): undefined reference to `amd_calloc'
cholmod_amd.c:(.text+0x309): undefined reference to `amd_realloc'
cholmod_amd.c:(.text+0x314): undefined reference to `amd_printf'
cholmod_amd.c:(.text+0x3b5): undefined reference to `amd_2'
collect2: ld returned 1 exit status

Original issue reported on code.google.com by zhangq....@gmail.com on 8 May 2012 at 4:51

GoogleCodeExporter commented 9 years ago
What version of ceres are you using? If you are not using the master branch, 
could you try that please. I think this has been fixed there.

Original comment by sameerag...@google.com on 8 May 2012 at 8:20

GoogleCodeExporter commented 9 years ago

Original comment by sameerag...@google.com on 8 May 2012 at 8:21

GoogleCodeExporter commented 9 years ago
Hi,

Thanks so much. The master branch works for me.

Original comment by zhangq....@gmail.com on 9 May 2012 at 7:25

GoogleCodeExporter commented 9 years ago
Closing the bug as the master branch works. Will cut a new release soon.

Original comment by sameerag...@google.com on 9 May 2012 at 3:27