Skip to content

Another build problem with pcl_visualization #158

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

Closed
MOZGIII opened this issue Jun 25, 2013 · 7 comments
Closed

Another build problem with pcl_visualization #158

MOZGIII opened this issue Jun 25, 2013 · 7 comments
Assignees

Comments

@MOZGIII
Copy link
Contributor

MOZGIII commented Jun 25, 2013

...
[ 26%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/image_viewer.cpp.o
In file included from /home/mozgiii/pclb/pcl/visualization/src/image_viewer.cpp:44:0:
/home/mozgiii/pclb/pcl/visualization/include/pcl/visualization/image_viewer.h:956:25: ошибка: нет декларации «vtkImageSlice» в этой области видимости
         vtkSmartPointer<vtkImageSlice> slice_;
                         ^
/home/mozgiii/pclb/pcl/visualization/include/pcl/visualization/image_viewer.h:956:38: ошибка: некорректный аргумент шаблона 1
         vtkSmartPointer<vtkImageSlice> slice_;
                                      ^
make[2]: *** [visualization/CMakeFiles/pcl_visualization.dir/src/image_viewer.cpp.o] Ошибка 1
make[1]: *** [visualization/CMakeFiles/pcl_visualization.dir/all] Ошибка 2
make: *** [all] Ошибка 2

The problem is that vtkImageSlice is not defined any where in image_viewer.h. Can you fix it for me please?

PS: sry for error messages in russian, I'm too lazy to redo everything...

@rbrusu
Copy link
Member

rbrusu commented Jun 25, 2013

Is this while compiling PCL?

@ghost ghost assigned rbrusu Jun 25, 2013
@MOZGIII
Copy link
Contributor Author

MOZGIII commented Jun 25, 2013

Yes.

Compiled with:

cd pcl
mkdir build && cd build
cmake ..
make

I'm on Arch Linux, VTK is 5.10.

@MOZGIII
Copy link
Contributor Author

MOZGIII commented Jun 25, 2013

Take a look here: https://github.com/MOZGIII/pcl/commit/2bf2c7b19e43c3c2bf235ecd9d84533d1913febf

This fixed the problem for me. Could you import this into upstream?

@rbrusu
Copy link
Member

rbrusu commented Jun 25, 2013

Looks good. Can you submit a pull request?

@MOZGIII
Copy link
Contributor Author

MOZGIII commented Jun 25, 2013

I'm trying... %)

@MOZGIII MOZGIII mentioned this issue Jun 25, 2013
@MOZGIII
Copy link
Contributor Author

MOZGIII commented Jun 25, 2013

Done

rbrusu added a commit that referenced this issue Jun 25, 2013
@rbrusu
Copy link
Member

rbrusu commented Jun 25, 2013

Thanks!

@rbrusu rbrusu closed this as completed Jun 25, 2013
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

2 participants