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

Update Spinnaker to v.1.19.0.22 #660

Merged
merged 13 commits into from
Dec 24, 2018
Merged
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
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

* Add `FlyCapture2Video.h` and `FlyCapture2VideoDef.h`, and remove `AVIRecorder.h` in presets for FlyCapture
* Add `QuickSpinC.h`, `SpinVideoC.h`, and `TransportLayer*C.h` for Spinnaker ([pull #660](https://github.com/bytedeco/javacpp-presets/pull/660))
* Add `FlyCapture2Video.h` and `FlyCapture2VideoDef.h`, and remove `AVIRecorder.h` for FlyCapture ([pull #613](https://github.com/bytedeco/javacpp-presets/pull/613))
* Switch to Clang for Android builds with recent versions of the NDK ([issue #562](https://github.com/bytedeco/javacpp-presets/issues/562))
* Include `sys/sysinfo.h` for system API of Linux
* Include `ucrtbase.dll` when bundling the runtime for Visual Studio 2015 on Windows ([issue bytedeco/javacv#1098](https://github.com/bytedeco/javacv/issues/1098))
Expand All @@ -15,7 +16,7 @@
* Add builds for `linux-mips64el` to presets for ARToolKitPlus, Chilitags, flandmark, OpenBLAS, and FFTW ([pull #637](https://github.com/bytedeco/javacpp-presets/pull/637))
* Update sample code for GSL with a more complex example ([issue #636](https://github.com/bytedeco/javacpp-presets/issues/636))
* Fix CUDA build for OpenCV on Mac OS X missing `libopencv_cudev.dylib` ([issue #626](https://github.com/bytedeco/javacpp-presets/issues/626))
* Upgrade presets for OpenCV 4.0.0, and FFmpeg 4.1, FlyCapture 2.13.3.31, HDF5 1.10.4, MKL 2019.1, MKL-DNN 0.17.1, OpenBLAS 0.3.4, Leptonica 1.77.0, Tesseract 4.0.0, cuDNN 7.4, MXNet 1.3.1, TensorFlow 1.12.0, and their dependencies
* Upgrade presets for OpenCV 4.0.0, and FFmpeg 4.1, FlyCapture 2.13.3.31, Spinnaker 1.19.0.22, HDF5 1.10.4, MKL 2019.1, MKL-DNN 0.17.1, OpenBLAS 0.3.4, Leptonica 1.77.0, Tesseract 4.0.0, cuDNN 7.4, MXNet 1.3.1, TensorFlow 1.12.0, and their dependencies

### October 15, 2018 version 1.4.3
* Keep globally shared dummy deallocator for `TF_Tensor` out of `PointerScope`
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ Each child module in turn relies by default on the included [`cppbuild.sh` scrip

* OpenCV 4.0.0 https://opencv.org/releases.html
* FFmpeg 4.1.x http://ffmpeg.org/download.html
* FlyCapture 2.11.x http://www.ptgrey.com/flycapture-sdk
* Spinnaker 1.15.x https://www.ptgrey.com/spinnaker-sdk
* FlyCapture 2.13.x http://www.ptgrey.com/flycapture-sdk
* Spinnaker 1.19.x https://www.ptgrey.com/spinnaker-sdk
* libdc1394 2.1.x or 2.2.x http://sourceforge.net/projects/libdc1394/files/
* libfreenect 0.5.3 https://github.com/OpenKinect/libfreenect
* libfreenect2 0.2.0 https://github.com/OpenKinect/libfreenect2
Expand Down
23 changes: 14 additions & 9 deletions ci/install-travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ if [[ "$OS" == "linux-x86" ]] || [[ "$OS" == "linux-x86_64" ]] || [[ "$OS" =~ an
python $TRAVIS_BUILD_DIR/ci/gDownload.py 1YtVjdnbQLZHX_ocQ6xAmiq6pjftuPOPd $HOME/downloads/flycapture2-2.13.3.31-amd64-pkg_xenial.tgz
fi
tar xzvf $HOME/downloads/flycapture2-2.13.3.31-amd64-pkg_xenial.tgz -C $TRAVIS_BUILD_DIR/../
ls $TRAVIS_BUILD_DIR/../flycapture2-2.13.3.31-amd64/*.deb | while read fName; do ar vx $fName; tar -xvf data.tar.xz; done;
mv usr $TRAVIS_BUILD_DIR/../
docker exec -ti $DOCKER_CONTAINER_ID /bin/bash -xec "cp -pr $HOME/build/usr/* /usr/"
ls $TRAVIS_BUILD_DIR/../flycapture2-2.13.3.31-amd64/*.deb | while read fName; do ar vx $fName; tar -xvf data.tar.xz; done;
cp -a usr $TRAVIS_BUILD_DIR/../
docker exec -ti $DOCKER_CONTAINER_ID /bin/bash -xec "cp -a $HOME/build/usr/* /usr/"
elif [ "$OS" == "linux-x86" ]; then
if [[ $(find $HOME/downloads/flycapture2-2.13.3.31-i386-pkg_xenial.tgz -type f -size +1000000c 2>/dev/null) ]]; then
echo "Found flycap32 in cache and size seems ok"
Expand All @@ -97,20 +97,25 @@ if [[ "$OS" == "linux-x86" ]] || [[ "$OS" == "linux-x86_64" ]] || [[ "$OS" =~ an
python $TRAVIS_BUILD_DIR/ci/gDownload.py 1BOpSik1Fndagzjf4ykwzermt2qlTzsWI $HOME/downloads/flycapture2-2.13.3.31-i386-pkg_xenial.tgz
fi
tar xzvf $HOME/downloads/flycapture2-2.13.3.31-i386-pkg_xenial.tgz -C $TRAVIS_BUILD_DIR/../
ls $TRAVIS_BUILD_DIR/../flycapture2-2.13.3.31-i386/*.deb | while read fName; do ar vx $fName; tar -xvf data.tar.xz; done;
mv usr $TRAVIS_BUILD_DIR/../
docker exec -ti $DOCKER_CONTAINER_ID /bin/bash -xec "cp -pr $HOME/build/usr/* /usr/"
ls $TRAVIS_BUILD_DIR/../flycapture2-2.13.3.31-i386/*.deb | while read fName; do ar vx $fName; tar -xvf data.tar.xz; done;
cp -a usr $TRAVIS_BUILD_DIR/../
docker exec -ti $DOCKER_CONTAINER_ID /bin/bash -xec "cp -a $HOME/build/usr/* /usr/"
fi
fi
if [[ "$PROJ" =~ spinnaker ]]; then
if [ "$OS" == "linux-x86_64" ]; then
if [[ $(find $HOME/downloads/spinnaker_local_v.1.15.0.63.tar.gz -type f -size +1000000c 2>/dev/null) ]]; then
if [[ $(find $HOME/downloads/spinnaker-1.19.0.22-amd64-pkg.tar.gz -type f -size +1000000c 2>/dev/null) ]]; then
echo "Found spinnaker in cache and size seems ok"
else
echo "Downloading spinnaker as not found in cache or too small"
python $TRAVIS_BUILD_DIR/ci/gDownload.py 1IYtvqzpNHJgZK-TPztW_WDYuDEyo56D_ $HOME/downloads/spinnaker_local_v.1.15.0.63.tar.gz
python $TRAVIS_BUILD_DIR/ci/gDownload.py 1PifxEkF5dVEgdO8s7vJKyfZEP9mqhkCU $HOME/downloads/spinnaker-1.19.0.22-amd64-pkg.tar.gz
fi
docker exec -ti $DOCKER_CONTAINER_ID /bin/bash -xec "tar xvf $HOME/downloads/spinnaker_local_v.1.15.0.63.tar.gz -C /"
tar xzvf $HOME/downloads/spinnaker-1.19.0.22-amd64-pkg.tar.gz -C $TRAVIS_BUILD_DIR/../
ls $TRAVIS_BUILD_DIR/../spinnaker-1.19.0.22-amd64/*.deb | while read fName; do ar vx $fName; tar -xvf data.tar.xz; done;
ln -s libSpinnaker_C.so.1.19.0.22 usr/lib/libSpinnaker_C.so.1
ln -s libSpinnaker.so.1.19.0.22 usr/lib/libSpinnaker.so.1
cp -a usr $TRAVIS_BUILD_DIR/../
docker exec -ti $DOCKER_CONTAINER_ID /bin/bash -xec "cp -a $HOME/build/usr/* /usr/"
fi
fi
if [[ "$PROJ" == "mkl" ]] && [[ "$OS" =~ linux ]]; then
Expand Down
34 changes: 19 additions & 15 deletions ci/install-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,41 +60,45 @@ if [[ "$PROJ" =~ flycapture ]]; then
echo "Downloading flycap to cache as not found"
/c/python27/python $APPVEYOR_BUILD_FOLDER/ci/gDownload.py 14QM7W5RHhvZanF1UBobgEIvwdy6VwTht /c/Downloads/FlyCapture_2.13.3.31_x64.msi
fi
msiexec //quiet //i c:\\Downloads\\FlyCapture_2.13.3.31_x64.msi ADDLOCAL=ALL
# we can get this msi file by starting the installation from the exe file
cmd /c 'msiexec /quiet /i C:\Downloads\FlyCapture_2.13.3.31_x64.msi ADDLOCAL=ALL'
elif [ "$OS" == "windows-x86" ]; then
if [[ $(find /c/Downloads/FlyCapture_2.13.3.31_x86.msi -type f -size +1000000c 2>/dev/null) ]]; then
echo "Found flycap32 in cache and size seems ok"
else
echo "Downloading flycap32 to cache as not found"
/c/python27/python $APPVEYOR_BUILD_FOLDER/ci/gDownload.py 1ctSSAMF5IkxTKWiiLtID-ltmm27pHFdr /c/Downloads/FlyCapture_2.13.3.31_x86.msi
fi
msiexec //quiet //i c:\\Downloads\\FlyCapture_2.13.3.31_x86.msi ADDLOCAL=ALL
# we can get this msi file by starting the installation from the exe file
cmd /c 'msiexec /quiet /i C:\Downloads\FlyCapture_2.13.3.31_x86.msi ADDLOCAL=ALL'
fi
echo "Finished flycapture install"
fi

if [[ "$PROJ" =~ spinnaker ]]; then
echo Spinnaker install
if [ "$OS" == "windows-x86_64" ]; then
if [[ $(find /c/Downloads/spinnaker.zip -type f -size +1000000c 2>/dev/null) ]]; then
if [[ $(find /c/Downloads/Spinnaker_*_v140_x64.msi -type f -size +1000000c 2>/dev/null) ]]; then
echo "Found spinnaker in cache and size seems ok"
else
echo "Downloading spinnaker.zip to cache as not found"
/c/python27/python $APPVEYOR_BUILD_FOLDER/ci/gDownload.py 1b5vduBfsK44cJdwzMaR_f1kkmQxhsO7C /c/Downloads/spinnaker.zip
echo "Downloading spinnaker to cache as not found"
/c/python27/python $APPVEYOR_BUILD_FOLDER/ci/gDownload.py 1sjFe7KyvjxPEmEFp9xP3wIs3QCOHAN1m /c/Downloads/Spinnaker_Binaries_v140_x64.msi
/c/python27/python $APPVEYOR_BUILD_FOLDER/ci/gDownload.py 1gLfpCE3XkcXbWaoFqT6kQqQm_EO55vYS /c/Downloads/Spinnaker_SourceCode_v140_x64.msi
fi
unzip /c/Downloads/spinnaker.zip
mkdir -p /c/Program\ Files/Point\ Grey\ Research
mv Point\ Grey\ Research/* /c/Program\ Files/Point\ Grey\ Research
# we can get these msi files by starting the installation from the exe file
cmd /c 'msiexec /quiet /i C:\Downloads\Spinnaker_Binaries_v140_x64.msi ADDLOCAL=ALL INSTALLFOLDER="C:\Program Files\Point Grey Research\Spinnaker"'
cmd /c 'msiexec /quiet /i C:\Downloads\Spinnaker_SourceCode_v140_x64.msi ADDLOCAL=ALL INSTALLFOLDER="C:\Program Files\Point Grey Research\Spinnaker"'
elif [ "$OS" == "windows-x86" ]; then
if [[ $(find /c/Downloads/spinnaker.zip -type f -size +1000000c 2>/dev/null) ]]; then
echo "Found spinnaker in cache and size seems ok"
if [[ $(find /c/Downloads/Spinnaker_*_v140_x86.msi -type f -size +1000000c 2>/dev/null) ]]; then
echo "Found spinnaker32 in cache and size seems ok"
else
echo "Downloading spinnaker.zip to cache as not found"
/c/python27/python $APPVEYOR_BUILD_FOLDER/ci/gDownload.py 1b5vduBfsK44cJdwzMaR_f1kkmQxhsO7C /c/Downloads/spinnaker.zip
echo "Downloading spinnaker32 to cache as not found"
/c/python27/python $APPVEYOR_BUILD_FOLDER/ci/gDownload.py 1YJcLAaf8Bf2XzC7Puv4ZwXdibdmVcwNg /c/Downloads/Spinnaker_Binaries_v140_x86.msi
/c/python27/python $APPVEYOR_BUILD_FOLDER/ci/gDownload.py 1BG51avW4q605c2KGGJ3ehjhUlVFBObqh /c/Downloads/Spinnaker_SourceCode_v140_x86.msi
fi
unzip /c/Downloads/spinnaker.zip
mkdir -p /c/Program\ Files/Point\ Grey\ Research
mv Point\ Grey\ Research/* /c/Program\ Files/Point\ Grey\ Research
# we can get these msi files by starting the installation from the exe file
cmd /c 'msiexec /quiet /i C:\Downloads\Spinnaker_Binaries_v140_x86.msi ADDLOCAL=ALL INSTALLFOLDER="C:\Program Files (x86)\Point Grey Research\Spinnaker"'
cmd /c 'msiexec /quiet /i C:\Downloads\Spinnaker_SourceCode_v140_x86.msi ADDLOCAL=ALL INSTALLFOLDER="C:\Program Files (x86)\Point Grey Research\Spinnaker"'
fi
echo "Finished spinnaker install"
fi
Expand Down
4 changes: 2 additions & 2 deletions flycapture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic
<modelVersion>4.0.0</modelVersion>
<groupId>org.bytedeco.javacpp-presets.flycapture</groupId>
<artifactId>flycapture2test</artifactId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
<properties>
<exec.mainClass>FlyCapture2Test</exec.mainClass>
</properties>
<dependencies>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>flycapture-platform</artifactId>
<version>2.13.3.31-1.4.3</version>
<version>2.13.3.31-1.4.4-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
Expand Down
2 changes: 1 addition & 1 deletion flycapture/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ case $PLATFORM in
fi
;;
windows-*)
if [[ ! -d "/C/Program Files/Point Grey Research/" ]]; then
if [[ ! -d "/C/Program Files/Point Grey Research/" ]] && [[ ! -d "/C/Program Files (x86)/Point Grey Research/" ]]; then
echo "Please install FlyCapture under the default installation directory"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion platform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>spinnaker-platform</artifactId>
<version>1.15.0.63-${project.version}</version>
<version>1.19.0.22-${project.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
Expand Down
6 changes: 3 additions & 3 deletions spinnaker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Introduction

This directory contains the JavaCPP Presets module for:

* Spinnaker 1.15.0.63 https://www.ptgrey.com/spinnaker-sdk
* Spinnaker 1.19.0.22 https://www.ptgrey.com/spinnaker-sdk

Please refer to the parent README.md file for more detailed information about the JavaCPP Presets.

Expand Down Expand Up @@ -34,15 +34,15 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic
<modelVersion>4.0.0</modelVersion>
<groupId>org.bytedeco.javacpp-presets.flycapture</groupId>
<artifactId>spinnater_test</artifactId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
<properties>
<exec.mainClass>Acquisition_C</exec.mainClass>
</properties>
<dependencies>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>spinnaker-platform</artifactId>
<version>1.15.0.63-1.4.3</version>
<version>1.19.0.22-1.4.4-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
Expand Down
4 changes: 2 additions & 2 deletions spinnaker/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [[ -z "$PLATFORM" ]]; then
exit
fi

SPINNAKER_VERSION=1.15.0.63
SPINNAKER_VERSION=1.19.0.22

case $PLATFORM in
linux-arm*)
Expand All @@ -29,7 +29,7 @@ case $PLATFORM in
fi
;;
windows-*)
if [[ ! -d "/C/Program Files/Point Grey Research/" ]]; then
if [[ ! -d "/C/Program Files/Point Grey Research/" ]] && [[ ! -d "/C/Program Files (x86)/Point Grey Research/" ]]; then
echo "Please install Spinnaker under the default installation directory"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion spinnaker/platform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>spinnaker-platform</artifactId>
<version>1.15.0.63-${project.parent.version}</version>
<version>1.19.0.22-${project.parent.version}</version>
<name>JavaCPP Presets Platform for Spinnaker</name>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion spinnaker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>spinnaker</artifactId>
<version>1.15.0.63-${project.parent.version}</version>
<version>1.19.0.22-${project.parent.version}</version>
<name>JavaCPP Presets for Spinnaker</name>

<dependencies>
Expand Down
Loading