Skip to content

Commit 85cee31

Browse files
Upload pure RealSense SDK build 2.36.0 to codebase
Basically copy librealsense v2.36.0 source code to our codebase
1 parent 170d602 commit 85cee31

File tree

1,853 files changed

+297492
-83017
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,853 files changed

+297492
-83017
lines changed

.gitignore

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
bin/
22
lib/
3-
build*/
43

54
ubuntu-xenial/
65
ubuntu-xenial-hwe/
76

7+
# Docs
8+
doc/doxygen/html/
9+
*.html.lnk
10+
811
# CMake
9-
build/
12+
build*/
1013
connectivity_check
1114

1215
# XCode
@@ -27,6 +30,7 @@ DerivedData
2730
librealsense.xc/build
2831

2932
*~
33+
*.TMP
3034
*.a
3135
*.o
3236
*.so
@@ -85,3 +89,4 @@ librealsense-log.txt
8589
*.ini
8690
*.cxx
8791

92+
.vscode/*

.travis.yml

Lines changed: 55 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,97 +1,107 @@
11
env:
2-
- LRS_BUILD_CONFIG=Debug
2+
global:
3+
- LRS_BUILD_CONFIG=Debug
4+
- LRS_RUN_CONFIG=Release
35
matrix:
46
include:
5-
- name: "Windows - cpp"
7+
- name: "Windows Testing - cpp, Win USB (Win7)"
68
os: windows
79
language: cpp
10+
env: VS15=false RS_CPP_TEST=true
811
script:
9-
- cmake .. -G "Visual Studio 14 2015 Win64" -DBUILD_EXAMPLES=true -DBUILD_WITH_OPENMP=false -DHWM_OVER_XU=false -DBUILD_WITH_TM2=false
10-
- cmake --build . --config $LRS_BUILD_CONFIG -- -m:4
11-
- ls $LRS_BUILD_CONFIG
12-
13-
- name: "Windows - Win USB(Win7)"
12+
- cmake .. -G "Visual Studio 15 2017 Win64" -DBUILD_UNIT_TESTS=true -DBUILD_EXAMPLES=false -DBUILD_GRAPHICAL_EXAMPLES=false -DBUILD_WITH_TM2=false -DFORCE_RSUSB_BACKEND=true -DCHECK_FOR_UPDATES=true
13+
- cmake --build . --config $LRS_RUN_CONFIG -- -m
14+
- cd $LRS_RUN_CONFIG
15+
- ls
16+
- ./live-test.exe -d yes -i [software-device]
17+
- unset LRS_LOG_LEVEL
18+
- C:/Python38/python.exe ../../unit-tests/run-unit-tests.py --verbose .
19+
20+
- name: "Windows - cpp"
1421
os: windows
1522
language: cpp
23+
env: VS15=true
1624
script:
17-
- cmake .. -G "Visual Studio 14 2015 Win64" -DBUILD_WITH_OPENMP=false -DHWM_OVER_XU=false -DBUILD_WITH_TM2=false -DFORCE_WINUSB_UVC=true
18-
- cmake --build . --config $LRS_BUILD_CONFIG -- -m:4
25+
- cmake .. -G "Visual Studio 14 2015 Win64" -DBUILD_EXAMPLES=true -DBUILD_WITH_TM2=true -DCHECK_FOR_UPDATES=true
26+
- cmake --build . --config $LRS_BUILD_CONFIG -- -m
1927
- ls $LRS_BUILD_CONFIG
2028

2129
- name: "Windows - C#"
2230
os: windows
2331
language: cpp
32+
env: VS15=true
2433
script:
25-
- cmake .. -G "Visual Studio 14 2015 Win64" -DBUILD_EXAMPLES=false -DBUILD_CSHARP_BINDINGS=true -DDOTNET_VERSION_LIBRARY="4.5" -DDOTNET_VERSION_EXAMPLES="4.5"
26-
- cmake --build . --config $LRS_BUILD_CONFIG -- -m:4
34+
- cmake .. -G "Visual Studio 14 2015 Win64" -DBUILD_EXAMPLES=false -DBUILD_CSHARP_BINDINGS=true -DDOTNET_VERSION_LIBRARY="4.5" -DDOTNET_VERSION_EXAMPLES="4.5" -DCHECK_FOR_UPDATES=true
35+
- cmake --build . --config $LRS_BUILD_CONFIG -- -m
2736
- ls $LRS_BUILD_CONFIG
2837

29-
- name: "Mac - cpp"
30-
os: osx
31-
language: cpp
32-
sudo: required
33-
osx_image: xcode7
34-
script:
35-
- cmake .. -DBUILD_EXAMPLES=true -DBUILD_WITH_OPENMP=false -DHWM_OVER_XU=false
36-
- cmake --build . --config $LRS_BUILD_CONFIG -- -j4
37-
- ls
38-
3938
- name: "Linux Testing - cpp"
4039
os: linux
4140
language: cpp
4241
sudo: required
4342
dist: xenial
44-
env:
45-
RS_CPP_TEST=true
43+
env: RS_CPP_TEST=true
4644
script:
47-
- cmake .. -DBUILD_UNIT_TESTS=true -DBUILD_EXAMPLES=false -DBUILD_WITH_TM2=false
48-
- cmake --build . --config $LRS_BUILD_CONFIG -- -j4
45+
- cmake .. -DBUILD_UNIT_TESTS=true -DBUILD_EXAMPLES=false -DBUILD_WITH_TM2=false -DCHECK_FOR_UPDATES=true
46+
- cmake --build . --config $LRS_RUN_CONFIG -- -j4
4947
- ./unit-tests/live-test -d yes -i [software-device]
5048
- for i in ./records/single_cam/*; do ./unit-tests/live-test -d yes -i ~[multicam] from "$i"; done
5149
- for i in ./records/multi_cam/*; do ./unit-tests/live-test -d yes -i [multicam] from "$i"; done
5250

53-
- name: "Linux - cpp"
51+
- name: "Linux - cpp - static"
5452
os: linux
5553
language: cpp
5654
sudo: required
5755
dist: xenial
5856
script:
59-
- cmake .. -DBUILD_EXAMPLES=true -DBUILD_WITH_TM2=true
57+
- cd ../scripts && ./pr_check.sh && cd ../build
58+
- cmake .. -DBUILD_UNIT_TESTS=true -DBUILD_EXAMPLES=true -DBUILD_WITH_TM2=true -DBUILD_SHARED_LIBS=false -DCHECK_FOR_UPDATES=true
6059
- cmake --build . --config $LRS_BUILD_CONFIG -- -j4
61-
- ls
60+
- python3 ../unit-tests/run-unit-tests.py --verbose .
6261

6362
- name: "Linux - python & nodejs"
6463
os: linux
6564
language: cpp
6665
sudo: required
6766
dist: xenial
6867
python: "2.7"
69-
node_js: "6"
70-
env:
71-
- LRS_BUILD_NODEJS=true
68+
node_js: "10"
69+
env: LRS_BUILD_NODEJS=true
7270
script:
73-
- cmake .. -DBUILD_PYTHON_BINDINGS=true -DBUILD_NODEJS_BINDINGS=true -DPYBIND11_PYTHON_VERSION=2.7
71+
- cmake .. -DBUILD_PYTHON_BINDINGS=true -DBUILD_NODEJS_BINDINGS=true -DPYBIND11_PYTHON_VERSION=2.7 -DCHECK_FOR_UPDATES=true
7472
- cmake --build . --config $LRS_BUILD_CONFIG -- -j4
75-
- cd ../wrappers/nodejs/test
76-
- wget http://realsense-hw-public.s3.amazonaws.com/rs-tests/nodejs_record.rec
77-
- mocha test-functional.js --playback nodejs_record.rec
73+
- cd ../wrappers/nodejs/
74+
- npm install
75+
- cd test
76+
- wget http://realsense-hw-public.s3.amazonaws.com/rs-tests/nodejs_records.rec
77+
- mocha test-functional.js --playback nodejs_records.rec
78+
79+
- name: "Mac - cpp"
80+
os: osx
81+
language: cpp
82+
sudo: required
83+
osx_image: xcode7
84+
script:
85+
- cmake .. -DBUILD_EXAMPLES=true -DBUILD_WITH_OPENMP=false -DHWM_OVER_XU=false -DCHECK_FOR_UPDATES=true
86+
- cmake --build . --config $LRS_BUILD_CONFIG -- -j4
87+
- ls
7888

7989
- name: "Android - cpp"
8090
os: linux
8191
language: cpp
8292
sudo: required
8393
dist: xenial
84-
env:
85-
- LRS_BUILD_ANDROID=true
94+
env: LRS_BUILD_ANDROID=true
8695
script:
87-
- cmake .. -DCMAKE_TOOLCHAIN_FILE=../android-ndk-r16b/build/cmake/android.toolchain.cmake
96+
- cmake .. -DCMAKE_TOOLCHAIN_FILE=../android-ndk-r16b/build/cmake/android.toolchain.cmake -DCHECK_FOR_UPDATES=true
8897
- cmake --build . --config $LRS_BUILD_CONFIG -- -j4
8998
- ls
9099

91100
before_install:
92101
- cd scripts && ./api_check.sh && cd ..
93102
- if [[ "$LRS_BUILD_NODEJS" == "true" ]]; then
94-
nvm use 6;
103+
nvm install 10.15.3;
104+
nvm use 10.15.3;
95105
npm install -g node-gyp;
96106
npm install -g mocha;
97107
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git;
@@ -108,7 +118,7 @@ before_install:
108118
- if [[ "$RS_CPP_TEST" == "true" ]]; then
109119
export LRS_LOG_LEVEL="DEBUG";
110120
url_records_path="http://realsense-hw-public.s3.amazonaws.com/rs-tests/lrs_2.8.3/";
111-
records_name="records.txt";
121+
records_name="records_test.txt";
112122
url_records_list=$url_records_path$records_name;
113123
wget $url_records_path$records_name;
114124
tests_list=`cat $records_name`;
@@ -128,12 +138,15 @@ install:
128138
fi
129139

130140
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
131-
choco install -y vcbuildtools --version 2015.4 --force;
141+
choco install -y python3 --version 3.8.1;
142+
if [[ "$VS15" == "true" ]]; then
143+
choco install -y vcbuildtools --version 2015.4 --force;
144+
fi;
132145
fi
133146

134147
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
135148
brew uninstall xctool;
136149
brew install xctool --HEAD;
137150
brew install homebrew/core/glfw3;
138151
brew list libusb || brew install libusb;
139-
fi
152+
fi

AUTHORS

Lines changed: 0 additions & 5 deletions
This file was deleted.

CMake/FindLibUSB.cmake

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)