Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

can't compile on Ubuntu 16.04 fresh install #2

Open
mcamurri opened this issue Oct 30, 2017 · 2 comments
Open

can't compile on Ubuntu 16.04 fresh install #2

mcamurri opened this issue Oct 30, 2017 · 2 comments

Comments

@mcamurri
Copy link

mcamurri commented Oct 30, 2017

I'm having an issue compiling the repository on a new machine:

~/legacy_pods/libbot/bot2-vis/pod-build/lib/libbot2-vis.so: error: undefined reference to 'XOpenDisplay'
~/legacy_pods/libbot/bot2-vis/pod-build/lib/libbot2-vis.so: error: undefined reference to 'XFree'
~/legacy_pods/libbot/bot2-vis/pod-build/lib/libbot2-vis.so: error: undefined reference to 'XVisualIDFromVisual'
~/legacy_pods/libbot/bot2-vis/pod-build/lib/libbot2-vis.so: error: undefined reference to 'XGetVisualInfo'

Is there a missing dependency? I couldn't find a README with pre-requisites.

Note that I've commented out the tobuild.txt of the repo to include only as follows:

  • bot_core_lcmtypes
  • libbot
  • occ-map
  • common_utils

and the common_utils to include only:

  • concise-args
  • stl-utils
  • path-util
  • eigen-utils

This works on another machine I've already set up.

@mauricefallon
Copy link
Contributor

i cant reply now, but does this help:
https://github.com/ashuang/libbot
https://github.com/libbot2/libbot2
its the upstream source of libbot

@mcamurri
Copy link
Author

mcamurri commented Nov 7, 2017

I've solved the problem by explicitly adding X11 to the target libraries.

Note: the commit of libbot this repo is pointing to is pretty old. It does not include my previous bugfix.

I've created a merge request on top of libbot-openhumanoids and not mf-revert-double-pane-on-gtk-viewer as it is pointing right now.

This change has to be coupled with its counterpart in common_utils.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants