Skip to content

Commit

Permalink
Update Readme and Changelog
Browse files Browse the repository at this point in the history
Reference of PYLON_ROOT var in README
  • Loading branch information
thiesmoeller committed Jul 30, 2024
1 parent 7b7c88e commit 2eb2136
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 3 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# Changelog
All notable changes to this project will be documented in this file.

## [0.7.2] - 2024-07-12
### Changed
- add debian packaging
* CI builds for std x86/aarch64 ubuntu and debian targets
* Building deb packates for NVIDIA Jetson is documented in the README

### Fixed
- workaround for failed tests for Ubuntu 22.04
* fixes #111
- fix nvmm error if no camera connected
* fixes #88

## [0.7.1] - 2024-06-06
### Changed
- check for cuda version >= 11 to enable nvmm code
Expand Down
61 changes: 58 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,8 @@ Installing Basler pylon SDK will also install the Basler pylon viewer. You shoul
The differences in the build steps for [Linux](#Linux), [Windows](#Windows) and [macos](#macOS) are described in the next sections.
Building debian packages locally is described in the sections [Debian/Ubuntu](#debian-packaging) and [Nvidia Jetson](#debian-nvidia-packaging)
## Linux
Make sure the dependencies are properly installed. In Debian-based
systems you can run the following commands:
Expand Down Expand Up @@ -410,6 +412,59 @@ Finally, test for proper installation:
gst-inspect-1.0 pylonsrc
```
## Linux package building
### Debian Packaging
Install the pylon and codemeter debian packages. They will install into `/opt/pylon`
Install the platform dependencies:
```
sudo apt-get install cmake meson ninja-build debhelper dh-python \
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-python3-plugin-loader \
python3 python3-dev python3-pip python3-setuptools pybind11-dev
```
Prepare the build setup ( from main project folder ):
```
ln -sfn packaging/debian
tools/patch_deb_changelog.sh
```
Build the debian packages
```
PYLON_ROOT=/opt/pylon dpkg-buildpackage -us -uc -rfakeroot
```
### Debian NVIDIA Packaging
Install the pylon and codemeter debian packages. They will install into `/opt/pylon`
Install the platform dependencies:
```
sudo apt-get install cmake meson ninja-build debhelper dh-python \
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-python3-plugin-loader \
python3 python3-dev python3-pip python3-setuptools pybind11-dev \
deepstream-6.3 # depending on platform deepstream-6.4 or deepstream-7.0
```
Prepare the build setup ( from main project folder ):
```
ln -sfn packaging/debian
tools/patch_deb_changelog.sh
```
Build the debian packages using the nvidia profile
```
DEB_BUILD_PROFILES=nvidia PYLON_ROOT=/opt/pylon dpkg-buildpackage -us -uc -rfakeroot
```
### Integrating with GStreamer monorepo
The monorepo is a top-level repository that integrates and builds all
Expand Down Expand Up @@ -464,15 +519,15 @@ meson setup builddir --prefix /usr/ --werror --buildtype=debug -Dgobject-cast-ch
```
### Cross compilation for linux targets
#### NVIDIA Jetson Jetpack
TBD
#### YOCTO recipe
A reference yocto recipe for honister is available in the [meta-basler-tools](https://github.com/basler/meta-basler-tools/tree/honister/recipes-multimedia/gstreamer)
on github. This recipe still needs a backport patch due to the version of meson tool in honister.
on github.
Builds on yocto kirkstone and later work without the patch.
( This recipe still needs a backport patch due to the version of meson tool in honister. )
## Windows
Install the dependencies:
Expand Down

0 comments on commit 2eb2136

Please sign in to comment.