Fall 2016 CSE 2040 Group Project (Open CV) Members: Liandra, Abdul, Zhi, Ilya
!Always Pull Before!
add files or paths to .gitignore to make git ignore them
don't commit trash!
Install git
go into/create your future parent directory of opencv repo
git clone
After repository is downloaded go to it and make sure it's the same(ls, tree)
create a text file named after you and add some text to it
echo 'it's my first commit!' >>
add that to git tracking
git add
make a commit
git commit -m '
push your commit to master branch
git push origin master
Note: if you have troubles with our remote repo url use:
git remote set-url URL
mkdir build
cd build
cmake -D BUILD_EXAMPLES=ON ../
(add all needed flags)
Alternatively cmake-gui: sources: ../opencv build: ../opencv/build
check all needed flags and add your own(BUILD_EXAMPLES)
dont build java, cuda, etc it WILL slow the build!
make
(make -jx faster with >=x processors)
sudo make install
##########TO CHECK THE BUILD############
set needed Environmental variables: LD_LIBRARY_PATH, etc
compile with pkg-config for convienience:
g++ -o out.exe sourcefile `pkg-config --cflags --libs opencv`