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

How to run on Ubuntu 16.04? #6

Open
ALei-imotion opened this issue Sep 2, 2019 · 7 comments
Open

How to run on Ubuntu 16.04? #6

ALei-imotion opened this issue Sep 2, 2019 · 7 comments

Comments

@ALei-imotion
Copy link

Hey, I want to know how to run it in Ubuntu 16.04?
What environment does it depend on?
What versions of PCL and VTK are needed?
Can you give me a complete installation tutorial?

If you can provide these, I would appreciate it very much.
Thank you

@springzfx
Copy link
Owner

As readme has point out:

Tested with pcl 1.8, vtk 8.1, Qt5 under both ubuntu 16.04 and windows 10.

Maybe you need you compiled these dependencies first. You should read their official document for detail.

@ALei-imotion
Copy link
Author

➜ build git:(master) ✗ make
Scanning dependencies of target point_cloud_annotation_tool_autogen
[ 2%] Generating ui_mainwindow.h
[ 5%] Automatic MOC for target point_cloud_annotation_tool
[ 5%] Built target point_cloud_annotation_tool_autogen
Scanning dependencies of target point_cloud_annotation_tool
[ 8%] Building CXX object CMakeFiles/point_cloud_annotation_tool.dir/main.cpp.o
[ 11%] Building CXX object CMakeFiles/point_cloud_annotation_tool.dir/visualizer.cpp.o
In file included from /home/ubuntu/point-cloud-annotation-tool/visualizer.cpp:2:0:
/home/ubuntu/point-cloud-annotation-tool/build/ui_mainwindow.h:32:24: fatal error: QVTKWidget.h: 没有那个文件或目录
compilation terminated.
CMakeFiles/point_cloud_annotation_tool.dir/build.make:79: recipe for target 'CMakeFiles/point_cloud_annotation_tool.dir/visualizer.cpp.o' failed
make[2]: *** [CMakeFiles/point_cloud_annotation_tool.dir/visualizer.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/point_cloud_annotation_tool.dir/all' failed
make[1]: *** [CMakeFiles/point_cloud_annotation_tool.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Excuse me, what is the cause of this mistake?This mistake has stuck with me for a long time.
I have installed PCL 1.9 ,VTK8.2 and Qt5.8.

@springzfx
Copy link
Owner

Make sure your VTK is built with QT support.

@ALei-imotion
Copy link
Author

Okay, I'll try. Thank you very much!

@springzfx
Copy link
Owner

from VTKUsersGuide
image

@ALei-imotion
Copy link
Author

Which version of the QT option should be selected? 4 or 5?

@Qjizhi
Copy link

Qjizhi commented Dec 12, 2019

Which version of the QT option should be selected? 4 or 5?

hello, did you find out which version of these software should I install?

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