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

ImageDisplayerOCV #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,12 @@ Dependencies
- OpenCV
Download the source code https://github.com/Itseez/opencv/archive/3.0.0-alpha.zip
To quick install -
$ cmake-gui, set CMAKE_BUILD_TYPE to Release
$ sudo apt-get install libgtk2.0-dev pkg-config # for opencv imshow
$ cmake-gui, set CMAKE_BUILD_TYPE to Release, Configure & Generate
$ cd build directory
$ make -j7
$ sudo make install

- libjpeg
This is often present on standard operating systems since it is used by a lot of programs.
It can be downloaded from http://libjpeg.sourceforge.net/

- This code uses C++11. Some features require gcc >= 4.6.

---------------------------
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ CUDA_LIB=$(CUDA_ROOT)/lib64
CUDAMAT_DIR=$(CURDIR)/cudamat
CXX = g++
LIBFLAGS = -L$(LIB) -L$(CUDA_LIB) -L$(CUDAMAT_DIR)
CPPFLAGS = -I$(INC) -I$(CUDA_INC) -I$(SRC) -Ideps
LINKFLAGS = -lopencv_core -lopencv_imgcodecs -lopencv_imgproc -lopencv_videoio -lhdf5 -ljpeg -lX11 -lpthread -lprotobuf -lcublas -ldl -lgomp -lcudamat -lcudart -Wl,-rpath=$(CUDAMAT_DIR) -Wl,-rpath=$(LIB) -Wl,-rpath=$(CUDA_LIB)
CPPFLAGS = -I$(INC) -I$(CUDA_INC) -I$(SRC)
LINKFLAGS = -lopencv_core -lopencv_imgcodecs -lopencv_imgproc -lopencv_videoio -lopencv_highgui -lhdf5 -lpthread -lprotobuf -lcublas -ldl -lgomp -lcudamat -lcudart -Wl,-rpath=$(CUDAMAT_DIR) -Wl,-rpath=$(LIB) -Wl,-rpath=$(CUDA_LIB)
CXXFLAGS = -O2 -std=c++0x -mtune=native -Wall -Wno-unused-result -Wno-sign-compare -fopenmp

ifeq ($(USE_MPI), yes)
Expand Down
Loading