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

please let know the dependent library #19

Open
zaykl opened this issue Sep 12, 2017 · 3 comments
Open

please let know the dependent library #19

zaykl opened this issue Sep 12, 2017 · 3 comments

Comments

@zaykl
Copy link

zaykl commented Sep 12, 2017

I would to run this code. But I can't find any detail about the dependent library. Such as the version of opencv. Pls let know. That will help me a lot.

@Pratapabhay
Copy link

Hi @zaykl follow the instructions in the Readme File. While running cmake it will notify you what all libraries you are missing. Just Install them and run the make command, you are good to go.

@zaykl
Copy link
Author

zaykl commented Sep 29, 2017

@Pratapabhay I don't think this is a good idea. Sometimes the latest version library may cause crash.

@moonfish930
Copy link

I build the project on VMware Ubuntu14, here is my process

opencv

sudo apt-get install cmake  
sudo apt-get install build-essential cmake libgtk2.0-dev pkg-config Python-dev python-numpy libavcodec-dev libavformat-dev libswscale-dev 

then download opencv2.4 on https://github.com/opencv/opencv; build and install opencv2.4

qt4

first I remove qt5 thoroughly, then install qt4 through apt-get, at last install QGLviewer2.6.3(this is a version matches qt4)

sudo apt-get purge --auto-remove qt5-default
sudo apt-get install qt4-dev-tools qt4-doc qt4-qtconfig qt4-demos qt4-designer

download QGLvierwer2.6.3 from http://libqglviewer.com/src/ , then install it

others

sudo apt-get install libeigen3-dev libboost-all-dev libglew-dev 

source code modify

in CMakeLists.txt

#find_package(Eigen3 REQUIRED)  
include_directories(EIGEN3_INCLUDE_DIR)  
include_directories("/usr/include/eigen3")

in src/CMakeLists.txt

message(STATUS "Did not find qglviewer2, linking qglviewer-qt4")
set(QGLVIEWER QGLViewer)

in onlinefusionviewer.cpp

#include <QGLViewer/manipulatedFrame.h>

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