Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patched ARToolkit (in ar_recog) does not compile on Ubuntu 13.04 [solution provided] #20

Open
GoogleCodeExporter opened this issue Jul 7, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. download ar_recog.tar.bz2 from this code repo
2. extract into ROS Hydro workspace
3. run ./getAndBuildARToolkit.py

What is the expected output? What do you see instead?
Expected: compilation successful. Got: bunch of linker warnings about basic gst 
/ glib functions not found (e.g. g_print)


What version of the product are you using? On what operating system?
Ubuntu 13.04 x64, ROS Hydro. Latest codebased as of November 27th, 2013.


SOLUTION:
The problem appears to be due to a change in the process ordering of linked 
libraries. This can be fixed by making a few more patches to ARToolkit's 
Configure script (full python script attached below):

112c112
<         LDFLAG="$GST_LIBS -L/usr/X11R6/lib -L/usr/local/lib"

---
>         LDFLAG="-L/usr/X11R6/lib -L/usr/local/lib"
115c115
<         LIBS="-lpthread -lglut -lGLU -lGL -lXi -lX11 -lm"

---
>         LIBS="-lpthread -lglut -lGLU -lGL -lXi -lX11 -lm $GST_LIBS"

Original issue reported on code.google.com by [email protected] on 28 Nov 2013 at 8:12

Attachments:

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

No branches or pull requests

1 participant