Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

Fixes for setup.py under Ubuntu 18.04 #371

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Tuebel
Copy link

@Tuebel Tuebel commented Jul 23, 2020

Hey,

I had some issues with the pip version of python-pcl since it seems to depend on pcl 1.7 (pretty much the same as here #317).
One advice was to install it from source via python3 setup.py install, which failed for me. This pull request contains the fixes I have made to build this lib:

  • Ubuntu 18.04 uses pcl v1.8 with vtk v6.3 -> changed vtk_version from 7.0 to 6.3
  • linking vtk 6.3 yielded some linker errors. Removing the missing libraries from the list fixed the issues for me.

This change is Reviewable

@mpitropov
Copy link

I was able to install on Ubuntu 18.04 using this branch.

@dogghou
Copy link

dogghou commented Apr 7, 2021

Hey,

I had some issues with the pip version of python-pcl since it seems to depend on pcl 1.7 (pretty much the same as here #317).
One advice was to install it from source via python3 setup.py install, which failed for me. This pull request contains the fixes I have made to build this lib:

  • Ubuntu 18.04 uses pcl v1.8 with vtk v6.3 -> changed vtk_version from 7.0 to 6.3
  • linking vtk 6.3 yielded some linker errors. Removing the missing libraries from the list fixed the issues for me.

This change is Reviewable

My environment: agx-xavier + ubuntu18.04 + vtk6.3 + python-pcl
I use this way to install the python-pcl successfully. But when i use pcl_visualization to visualize the points cloud, it aborted.
And i notice that you add pcl/pcl_visualization.cpp in the file named .gitignore, do u mean the visualization can not work.

When i test, the errors :
ERROR: In /build/vtk6-5rzKol/vtk6-6.3.0+dfsg1/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx, line 394
vtkXOpenGLRenderWindow (0x20813810): Could not find a decent visual

ERROR: In /build/vtk6-5rzKol/vtk6-6.3.0+dfsg1/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx, line 394
vtkXOpenGLRenderWindow (0x20813810): Could not find a decent visual

ERROR: In /build/vtk6-5rzKol/vtk6-6.3.0+dfsg1/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx, line 394
vtkXOpenGLRenderWindow (0x20813810): Could not find a decent visual

ERROR: In /build/vtk6-5rzKol/vtk6-6.3.0+dfsg1/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx, line 633
vtkXOpenGLRenderWindow (0x20813810): Cannot create GLX context. Aborting.

Aborted

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

Successfully merging this pull request may close these issues.

3 participants