-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
This applies to rev 442, pulled on 07/09/13. When attempting to build
bot2-vis, I encountered the following error(s):
Undefined symbols for architecture x86_64:
"_XFree", referenced from:
_bot_gtk_gl_drawing_area_init in gl_drawing_area.c.o
_bot_gtk_gl_drawing_area_realize in gl_drawing_area.c.o
_bot_gtk_gl_drawing_area_unrealize in gl_drawing_area.c.o
"_XGetVisualInfo", referenced from:
_bot_gtk_gl_drawing_area_realize in gl_drawing_area.c.o
"_XVisualIDFromVisual", referenced from:
_bot_gtk_gl_drawing_area_init in gl_drawing_area.c.o
_bot_gtk_gl_drawing_area_realize in gl_drawing_area.c.o
ld: symbol(s) not found for architecture x86_64
After looking at the build files cmake generated, it looks like the linker was
not being told to include the X11 library. To fix, I modified the
CMakeLists.txt in the bot2-vis root to set a X11_LIBRARIES variable, and then
modified CMakeLists.txt in src/bot_vis to use this new variable.
A diff against rev 442 is attached.
Original issue reported on code.google.com by theJe...@gmail.com on 10 Jul 2013 at 7:17
Attachments:
Reactions are currently unavailable