Skip to content

Commit c388674

Browse files
authored
build file delete(_pcl_180.cpp) (strawlab#125)
Update readme.rst travis CI mac test add Appveyor pcl 1.8.1 test add reference count error
1 parent 45a9fc0 commit c388674

18 files changed

+710
-99978
lines changed

.travis.yml

Lines changed: 72 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
dist: trusty
2+
sudo: required
3+
4+
15
language: python
26

37
cache:
@@ -6,102 +10,57 @@ cache:
610

711
matrix:
812
include:
9-
# - os: linux
10-
# python: "2.7"
11-
# env:
12-
# - PCL_VERSION="1.7"
13-
# - os: linux
14-
# python: "3.4"
15-
# env:
16-
# - PCL_VERSION="1.7"
17-
# - os: linux
18-
# python: "3.5"
19-
# env:
20-
# - PCL_VERSION="1.7"
2113
- os: linux
2214
python: "2.7"
2315
env:
24-
- PCL_VERSION="1.8"
16+
- PCL_VERSION="1.7"
2517
- os: linux
2618
python: "3.4"
2719
env:
28-
- PCL_VERSION="1.8"
20+
- PCL_VERSION="1.7"
2921
- os: linux
3022
python: "3.5"
3123
env:
32-
- PCL_VERSION="1.8"
33-
24+
- PCL_VERSION="1.7"
3425
# TravisCI TimeLimit 50min
35-
# numpy error
36-
# - os: osx
37-
# language: generic
26+
# - os: linux
27+
# python: "2.7"
3828
# env:
39-
# - PYTHON_VERSION=2.7.10
40-
# - PYENV_ROOT=~/.pyenv
41-
# - PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
42-
# - os: osx
43-
# language: generic
29+
# - PCL_VERSION="1.8"
30+
# - os: linux
31+
# python: "3.4"
4432
# env:
45-
# - PYTHON_VERSION=3.4.3
46-
# - PYENV_ROOT=~/.pyenv
47-
# - PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
48-
# - os: osx
49-
# language: generic
33+
# - PCL_VERSION="1.8"
34+
# - os: linux
35+
# python: "3.5"
5036
# env:
51-
# - PYTHON_VERSION=3.5.1
52-
# - PYENV_ROOT=~/.pyenv
53-
# - PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
37+
# - PCL_VERSION="1.8"
5438

55-
# travis_wait 45 brew install pcl --without-vtk --without-qt;
56-
# use pcl version 1.7
57-
# sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl -y;
58-
# sudo apt-get update -y;
59-
# sudo apt-get install libpcl-all -y;
60-
# use pcl 1.8(Ubuntu)
61-
# sudo apt-get update -y;
62-
# git clone https://github.com/PointCloudLibrary/pcl.git pcl-trunk;
63-
# ln -s pcl-trunk pcl -y;
64-
# sudo apt-get install g++ -y;
65-
# sudo apt-get install cmake cmake-gui -y;
66-
# sudo apt-get install doxygen -y;
67-
# sudo apt-get install mpi-default-dev openmpi-bin openmpi-common -y;
68-
# sudo apt-get install libflann1.8 libflann-dev -y;
69-
# sudo apt-get install libeigen3-dev -y;
70-
# sudo apt-get install libboost-all-dev -y;
71-
# sudo apt-get install libvtk5.8-qt4 libvtk5.8 libvtk5-dev -y;
72-
# sudo apt-get install libqhull* -y;
73-
# sudo apt-get install libusb-dev -y;
74-
# sudo apt-get install libgtest-dev -y;
75-
# sudo apt-get install git-core freeglut3-dev pkg-config -y;
76-
# sudo apt-get install build-essential libxmu-dev libxi-dev -y;
77-
# sudo apt-get install libusb-1-0-dev graphviz mono-complete -y;
78-
# sudo apt-get install qt-sdk openjdk-7-jdk openjdk-7-jre -y;
79-
# sudo apt-get install phonon-backend-gstreamer -y;
80-
# sudo apt-get install phonon-backend-vlc -y;
81-
# sudo apt-get install libpcap-dev -y;
82-
# cd pcl;
83-
# mkdir build;
84-
# cd build;
85-
# cmake -DCMAKE_BUILD_TYPE=None -DBUILD_GPU=OFF -DBUILD_apps=ON -DBUILD_examples=ON .. ;
86-
# travis_wait 45 make;
87-
# travis_wait 45 sudo make install;
88-
# https://github.com/hsean/Capstone-44-Object-Segmentation/wiki/PCL-1.8:-Ubuntu-14.04-Installation-Guide
89-
# Add OpenNI2?
90-
# sudo apt-get install -yV g++ python libusb-1.0.0-dev libudev-dev openjdk-6-jdk freeglut3-dev doxygen graphviz
91-
# git clone https://github.com/OpenNI/OpenNI2.git
92-
# cd OpenNI2
93-
# make
94-
# cd Packaging
95-
# python ./ReleaseVersion.py x86
96-
# cd OpenNI-Linux-x86-2.2
97-
# cp -a Include /usr/local/include/ni2
98-
# cp -a Redist /usr/local/lib/ni2
99-
# cd ../../..
100-
# other
101-
# sudo apt-get install openni2-utils
102-
###
39+
# TravisCI TimeLimit 50min
40+
- os: osx
41+
language: generic
42+
env:
43+
- PYTHON_VERSION=2.7.10
44+
- PYENV_ROOT=~/.pyenv
45+
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
46+
- os: osx
47+
language: generic
48+
env:
49+
- PYTHON_VERSION=3.4.3
50+
- PYENV_ROOT=~/.pyenv
51+
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
52+
- os: osx
53+
language: generic
54+
env:
55+
- PYTHON_VERSION=3.5.1
56+
- PYENV_ROOT=~/.pyenv
57+
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
58+
59+
60+
# pcl 1.8.1 only(MacOSX/Ubuntu)
61+
# pcl_2d-1.8.pc copy /usr/local/lib/pkgconfig/pcl_2d-1.8.pc
10362
before_install:
104-
- if [[ $TRAVIS_OS_NAME = "osx" ]]; then
63+
- if [ ${TRAVIS_OS_NAME} = "osx" ]; then
10564
brew update >/dev/null;
10665
brew outdated pyenv || brew upgrade --quiet pyenv;
10766
brew install homebrew/boneyard/pyenv-pip-rehash;
@@ -111,32 +70,55 @@ before_install:
11170
pyenv global $PYTHON_VERSION;
11271
python --version;
11372

114-
brew search versions/pcl;
11573
travis_wait 45 brew install pcl --without-qt;
74+
75+
cp -n ./travisCI/pcl_2d-1.8.pc /usr/local/lib/pkgconfig/pcl_2d-1.8.pc;
11676
fi
11777

118-
- if [[ $TRAVIS_OS_NAME = "linux" ]]; then
78+
install:
79+
- if [[ ( "$TRAVIS_OS_NAME" == "linux" ) && ( "$PCL_VERSION" == "1.7" ) ]]; then
11980
sudo apt-get install openni2-utils
12081

12182
sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl -y;
12283
sudo apt-get update -y;
12384
sudo apt-get install libpcl-all -y;
12485
fi
125-
126-
127-
install:
86+
- if [[ ( "$TRAVIS_OS_NAME" == "linux" ) && ( "$PCL_VERSION" == "1.8" ) ]]; then
87+
sudo add-apt-repository -y ppa:webupd8team/java && sudo apt update && sudo apt -y install oracle-java8-installer;
88+
89+
sudo apt-get install zram-config;
90+
91+
sudo apt -y install g++ doxygen mpi-default-dev openmpi-bin openmpi-common libusb-1.0-0-dev libqhull* libusb-dev libgtest-dev;
92+
sudo apt -y install git-core freeglut3-dev pkg-config build-essential libxmu-dev libxi-dev libphonon-dev libphonon-dev phonon-backend-gstreamer;
93+
sudo apt -y install phonon-backend-vlc graphviz mono-complete qt-sdk libflann-dev libflann1.8 libboost-all-dev libeigen3-dev;
94+
95+
wget --no-check-certificate -qO- http://www.cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz -O /tmp/cmake-3.6.2-Linux-x86_64.tar.gz;
96+
tar -xvf /tmp/cmake-3.6.2-Linux-x86_64.tar.gz;
97+
export PATH=$PWD/cmake-3.6.2-Linux-x86_64/bin/:$PATH;
98+
99+
sudo dd if=/dev/zero of=/swapfile bs=1024 count=4194304;
100+
sudo mkswap /swapfile;
101+
sudo swapon /swapfile;
102+
103+
sudo apt-get install ninja-build;
104+
105+
wget https://github.com/PointCloudLibrary/pcl/archive/pcl-1.8.0.tar.gz;
106+
tar -xf pcl-1.8.0.tar.gz;
107+
cd pcl-pcl-1.8.0 && mkdir build && cd build;
108+
cmake -G Ninja -DWITH_OPENGL:BOOL=OFF -DWITH_FZAPI:BOOL=OFF -DWITH_LIBUSB:BOOL=OFF -DWITH_VTK:BOOL=OFF -DBUILD_OPENNI:BOOL=OFF -DBUILD_OPENNI2:BOOL=OFF -DBUILD_apps:BOOL=OFF -DBUILD_geometry:BOOL=OFF -DBUILD_global_tests:BOOL=OFF -DBUILD_outofcore:BOOL=OFF -DBUILD_people:BOOL=OFF -DBUILD_tools:BOOL=OFF -DBUILD_tracking:BOOL=OFF -DBUILD_visualization:BOOL=OFF -DBUILD_examples:BOOL=OFF ..;
109+
110+
travis_wait 50 ninja -j4;
111+
sudo ninja -t targets install;
112+
cd ../..;
113+
fi
128114
- pip install --upgrade pip
129115
- pip install cython==0.25.2
130116
- pip install numpy
131117
- pip install coveralls
132118
- python setup.py build_ext -i
133119
- python setup.py install
134120

135-
# pcl base 1.7.2
136-
# - python examples/official/Recognition/cpython correspondence_grouping.py pcldata/tutorials/correspondence_grouping/milk.pcd pcldata/tutorials/correspondence_grouping/milk_cartoon_all_small_clorox.pcd
137121
script:
138-
# - coverage run --source=test_pcl setup.py test
139-
# - coverage run tests/test_pcl.py
140122
- coverage run --parallel-mode tests/test_pcl.py
141123
- coverage run --parallel-mode tests/test_registration.py
142124
# examples

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy