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

Error importing. Libpango*.so undefined symbol. PyPangolin works #11

Closed
clmnin opened this issue Oct 14, 2018 · 11 comments
Closed

Error importing. Libpango*.so undefined symbol. PyPangolin works #11

clmnin opened this issue Oct 14, 2018 · 11 comments

Comments

@clmnin
Copy link

clmnin commented Oct 14, 2018

Compiled and build the package but I'm getting this error

Python 3.5.6 |Anaconda, Inc.| (default, Aug 26 2018, 21:41:56) 
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pangolin
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined symbol: hb_font_funcs_set_variation_glyph_func

Since this was failing I tried compiling and building the original C++ version link and it was successfully build. I'm also able to import pypangolin

But Steven's version doesn't have DrawPoints, DrawLines, DrawCameras, DrawBoxes and so I would love it if my problem could be solved. Is the an issue with my libpango? Should I install any other package before I build?

@clmnin
Copy link
Author

clmnin commented Oct 14, 2018

During the build I passed -DPYTHON_EXECUTABLE to point to the python env. And so the PythonInterp has the right value but the PythonLibs does not.

-- Found PythonInterp: /home/clmno/anaconda3/envs/slam/bin/python (found version "3.5.6") 
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so

As you can see my PythonLibs has a value which is for python3.6. How do I pass in the flag for PythonLibs too?

cmake .. -DPYTHON_EXECUTABLE="/home/clmno/anaconda3/envs/slam/bin/python"

@plasticuproject
Copy link

Do you have any OpenGL libraries installed, like libglew-dev? It is in the dependencies list. Also I would recommend installing libeigen3-dev as well. There is also an unresolved typo in the setup.py script, so you will have to edit it to resemble the scripts in the pull requests.

@plasticuproject
Copy link

If you are looking for help from the maintainer, this repo has long been abandoned

@clmnin
Copy link
Author

clmnin commented Oct 14, 2018

Yes, I've installed libglew-dev and libeigen3-dev. Also modified the setup.py.

Oh, it has been abandoned? God! Should I try my luck with the original C++ repo?

Do you know how I can pass a flag to let cmake know where my pythonlibs must be?

@plasticuproject
Copy link

Depends on what you need it for I guess. Or fork and maintain your own version. The pull requests for the setup.py, as simple as a fix as it is, is like 9 months old, so I'd consider it a dead project.

@clmnin
Copy link
Author

clmnin commented Oct 14, 2018

Alright, thanks. I'll close this Issue.

@clmnin clmnin closed this as completed Oct 14, 2018
@plasticuproject
Copy link

Regarding the cmake flag, sorry, not off the top of my head.

@clmnin
Copy link
Author

clmnin commented Oct 14, 2018

OMG! This repo wasn't even a pull from the original one and so I currently have no clue where the changes are!(No git history) This was so cruel of uopi to do this.

@plasticuproject
Copy link

I suspected something like that, just didn't look into it. I found my way here by cloning someone else's project, ha.

@plasticuproject
Copy link

If it helps, I haven't tested it yet, but I forked stevenlovegrove's Pangolin, and applied uoip's bindings to it, so now you can see the change history. Hope that works, and I hope that helps you.

@EWouters
Copy link

If it helps, I haven't tested it yet, but I forked stevenlovegrove's Pangolin, and applied uoip's bindings to it, so now you can see the change history. Hope that works, and I hope that helps you.

Sounds like stevenlovegrove would be interested in that! #8

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

No branches or pull requests

3 participants