Ask Your Question
0

Trouble with hogman_minimal on OS X

asked 2011-03-07 23:06:40 -0500

Eponymous gravatar image

Get the following errors. Has anyone done this install successfully? Seems to be related to csparse.

  Linking CXX shared library ../lib/libhogman_graph_optimizer_hogman.dylib
  Undefined symbols:
    "_cs_ereach", referenced from:
        AISNavigation::cs_chol_workspace(cs_sparse const*, cs_symbolic const*, int*, double*)in csparse_helper.o
    "_cs_spalloc", referenced from:
        AISNavigation::cs_chol_workspace(cs_sparse const*, cs_symbolic const*, int*, double*)in csparse_helper.o
    "_cs_ndone", referenced from:
        AISNavigation::cs_chol_workspace(cs_sparse const*, cs_symbolic const*, int*, double*)in csparse_helper.o
    "_cs_ipvec", referenced from:
        AISNavigation::cs_cholsolinvblocksymb(cs_sparse const*, double**, int, int, int, int, double*, cs_symbolic const*, double*, double*, double*, int*)in csparse_helper.o
        AISNavigation::cs_cholsolinvblocksymb(cs_sparse const*, double**, int, int, int, int, double*, cs_symbolic const*, double*, double*, double*, int*)in csparse_helper.o
        AISNavigation::cs_cholsolsymb(cs_sparse const*, double*, cs_symbolic const*, double*, int*)in csparse_helper.o
    "_cs_symperm", referenced from:
        AISNavigation::cs_chol_workspace(cs_sparse const*, cs_symbolic const*, int*, double*)in csparse_helper.o
    "_cs_nfree", referenced from:
        AISNavigation::cs_cholsolinvblocksymb(cs_sparse const*, double**, int, int, int, int, double*, cs_symbolic const*, double*, double*, double*, int*)in csparse_helper.o
        AISNavigation::cs_cholsolsymb(cs_sparse const*, double*, cs_symbolic const*, double*, int*)in csparse_helper.o
    "_cs_ltsolve", referenced from:
        AISNavigation::cs_cholsolinvblocksymb(cs_sparse const*, double**, int, int, int, int, double*, cs_symbolic const*, double*, double*, double*, int*)in csparse_helper.o
        AISNavigation::cs_cholsolinvblocksymb(cs_sparse const*, double**, int, int, int, int, double*, cs_symbolic const*, double*, double*, double*, int*)in csparse_helper.o
        AISNavigation::cs_cholsolsymb(cs_sparse const*, double*, cs_symbolic const*, double*, int*)in csparse_helper.o
    "_cs_calloc", referenced from:
        AISNavigation::cs_chol_workspace(cs_sparse const*, cs_symbolic const*, int*, double*)in csparse_helper.o
    "_cs_pvec", referenced from:
        AISNavigation::cs_cholsolinvblocksymb(cs_sparse const*, double**, int, int, int, int, double*, cs_symbolic const*, double*, double*, double*, int*)in csparse_helper.o
        AISNavigation::cs_cholsolinvblocksymb(cs_sparse const*, double**, int, int, int, int, double*, cs_symbolic const*, double*, double*, double*, int*)in csparse_helper.o
        AISNavigation::cs_cholsolsymb(cs_sparse const*, double*, cs_symbolic const*, double*, int*)in csparse_helper.o
    "_cs_lsolve", referenced from:
        AISNavigation::cs_cholsolinvblocksymb(cs_sparse const*, double**, int, int, int, int, double*, cs_symbolic const*, double*, double*, double*, int*)in csparse_helper.o
        AISNavigation::cs_cholsolinvblocksymb(cs_sparse const*, double**, int, int, int, int, double*, cs_symbolic const*, double*, double*, double*, int*)in csparse_helper.o
        AISNavigation::cs_cholsolsymb(cs_sparse const*, double*, cs_symbolic const*, double*, int*)in csparse_helper.o
  ld: symbol(s) not found
  collect2: ld returned 1 exit status
  make[3]: *** [../lib/libhogman_graph_optimizer_hogman.dylib] Error 1
  make[2]: *** [CMakeFiles/hogman_graph_optimizer_hogman.dir/all] Error 2
  make[1]: *** [all] Error 2
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-06-17 11:35:00 -0500

Mac gravatar image

Welcome to the amusing world of ROS on OS X!

Because there are no pre-built packages for csparse (either in MacPorts or ROS), you'll need to install it from source (see the wiki page). Then, if you add <depend package="csparse"/> to manifest.xml in hogman_minimal, and issue rosmake, it should compile.

edit flag offensive delete link more
0

answered 2011-05-06 11:57:34 -0500

I don't have a solution to this problem, but I was wondering if you managed to solve this problem? If you did, please tell me how! I'm stuck at this phase and I really need to get a demo working that relies on the hogman package.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-03-07 23:06:40 -0500

Seen: 160 times

Last updated: Jun 17 '11