DV 1.4.1 released

90 views
Skip to first unread message

Luca Longinotti

unread,
Feb 17, 2021, 5:54:07 AM2/17/21
to dv-u...@googlegroups.com
A new bug-fix release of DV is available.

RELEASE 1.4.1 CHANGELOG

DV GUI release 1.4.1 - 17.02.2021

- Added support for running on Apple M1 hardware with Homebrew.
- Added button to restart managed runtime if it crashes, for example
due to faulty user modules.
- Project list is alphabetically sorted (issue #157).
- Last selected project is correctly highlighted on GUI restart (issue
#158).
- Prevent busy loop from using too much resources in 'waiting for
connection' state (issue #156).



DV runtime release 1.4.1 - 17.02.2021

NEW FEATURES
- Build: added support for Apple M1 systems with Homebrew (issue #391).
- dv-runtime: added CLI option --console to disable logging of messages
to console (issue #390).
- CI: extended automated testing to ARM32, ARM64 and PPC64
architectures.

BUG FIXES
- Logging: do not log to console if started from GUI (managed runtime)
or started as a system service, correctly set log buffers on every
log-file opening (issue #390).
- Converter: fixed calculation of initial time offset for AEDAT 3
files, was not correctly using the timezone from the file, but the
host's one.


--
Luca Longinotti (llongi)

Software Engineer
iniVation AG - https://inivation.com/
Zurich, Switzerland
Office: +41 44 500 32 14

Support - https://inivation.com/support/

jari...@gmail.com

unread,
Feb 18, 2021, 4:18:46 AM2/18/21
to dv-users
Hi Luca,

I have downloaded the new realease but I get some irregular messages that I didn't get before. I cross compile the dv-runtime software for a SoC based on ARM where a embedded Linux version called Petalinux is used. I have all dependencies in the root filesystem wehere the dv-runtime software will be cross compiled with and installed. When I configure the project using cmake, I get the following output:

-- Project name is: dv-runtime
-- Project version is: 1.4.1
-- Build type is: Release
-- Compiler is Clang: FALSE
-- Compiler is GCC: TRUE
-- Compiler is IntelCC: FALSE
-- Compiler is MS VisualC: FALSE
-- OS is Unix: TRUE
-- OS is Linux: TRUE
-- OS is MacOS X: FALSE
-- OS is Windows: FALSE
-- System is big-endian: 0
-- Thread support is PThreads: TRUE
-- Thread support is Win32 Threads: FALSE
-- Thread support libraries: -lpthread
-- C flags are:  -pedantic -Wall -Wextra -Wunused -Wundef -Wformat=2 -Wuninitialized -Winit-self -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wredundant-decls -Wmissing-declarations -Wdouble-promotion -Wshadow -Wconversion -Wstrict-overflow=5 -Wlogical-op -Wduplicated-cond -Wduplicated-branches  -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wjump-misses-init
-- CXX flags are:  -pedantic -Wall -Wextra -Wunused -Wundef -Wformat=2 -Wuninitialized -Winit-self -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wredundant-decls -Wmissing-declarations -Wdouble-promotion -Wshadow -Wconversion -Wstrict-overflow=5 -Wlogical-op -Wduplicated-cond -Wduplicated-branches  -Wold-style-cast -Wzero-as-null-pointer-constant
-- Final install bindir is: /home/arios/petalinux-workspace/vips_minized/images/linux/rootfs/usr/bin
-- Final install libdir is: /home/arios/petalinux-workspace/vips_minized/images/linux/rootfs/usr/lib
-- Final install includedir is: /home/arios/petalinux-workspace/vips_minized/images/linux/rootfs/usr/include
-- Final local prefix is: /home/arios/petalinux-workspace/vips_minized/images/linux/rootfs/usr
-- Could NOT find Boost (missing: nowide) (found suitable version "1.64.0", minimum required is "1.56")
-- Using internal Boost.nowide
-- Found Boost: /home/arios/petalinux-workspace/vips_minized/images/linux/rootfs/usr/include (found suitable version "1.64.0", minimum required is "1.56")  
-- Found Boost: /home/arios/petalinux-workspace/vips_minized/images/linux/rootfs/usr/include (found suitable version "1.64.0", minimum required is "1.56") found components: system filesystem program_options
-- Found OpenCV: /home/arios/petalinux-workspace/vips_minized/images/linux/rootfs/usr (found version "3.3.0") found components: core imgproc
-- Final modules installation directory is: /home/arios/petalinux-workspace/vips_minized/images/linux/rootfs/usr/share/dv/modules
-- Found OpenCV: /home/arios/petalinux-workspace/vips_minized/images/linux/rootfs/usr (found version "3.3.0") found components: core imgproc calib3d imgcodecs
-- Found OpenCV: /home/arios/petalinux-workspace/vips_minized/images/linux/rootfs/usr (found version "3.3.0") found components: core imgproc calib3d
-- Checking for module 'libavcodec>=57'
--   Requested 'libavcodec >= 57' but version of libavcodec is 56.60.100
-- Checking for module 'libavformat>=57'
--   Requested 'libavformat >= 57' but version of libavformat is 56.40.101
-- Checking for module 'libavutil>=55'
--   Requested 'libavutil >= 55' but version of libavutil is 54.31.100
-- Checking for module 'libswscale>=4'
--   Requested 'libswscale >= 4' but version of libswscale is 3.1.101
-- Checking for module 'libavcodec>=57'
--   Requested 'libavcodec >= 57' but version of libavcodec is 56.60.100
-- Checking for module 'libavformat>=57'
--   Requested 'libavformat >= 57' but version of libavformat is 56.40.101
-- Checking for module 'libavutil>=55'
--   Requested 'libavutil >= 55' but version of libavutil is 54.31.100
-- Checking for module 'libswscale>=4'
--   Requested 'libswscale >= 4' but version of libswscale is 3.1.101
-- Checking for module 'aravis-0.8>=0.8'
--   No package 'aravis-0.8' found

-- Configuring done
-- Generating done
-- Build files have been written to: /home/arios/Projects/VIPS/dv-runtime-1.4.1/build


The red messages are new in this compiling for this new realesed. I didn't get before and I don't know in what library that modules should be. I have tried to compile the project but I get the following error:

[ 13%] Linking CXX shared library libdvsdk.so
/opt/Xilinx/Petalinux/2018.2/tools/linux-i386/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/7.2.1/../../../../arm-linux-gnueabihf/bin/ld: /home/arios/petalinux-workspace/vips_minized/images/linux/rootfs/usr/lib/libfmt.a(format.cc.o): relocation R_ARM_MOVW_ABS_NC against `_ZZN3fmt2v76detail11utf8_decodeEPKcPjPiE5masks' can not be used when making a shared object; recompile with -fPIC
/home/arios/petalinux-workspace/vips_minized/images/linux/rootfs/usr/lib/libfmt.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
src/sdk_lib/CMakeFiles/dvsdk.dir/build.make:183: recipe for target 'src/sdk_lib/libdvsdk.so.1.4.1' failed
make[2]: *** [src/sdk_lib/libdvsdk.so.1.4.1] Error 1
CMakeFiles/Makefile2:915: recipe for target 'src/sdk_lib/CMakeFiles/dvsdk.dir/all' failed
make[1]: *** [src/sdk_lib/CMakeFiles/dvsdk.dir/all] Error 2
Makefile:170: recipe for target 'all' failed
make: *** [all] Error 2

Do you know what I probably is missing??

Thanks in advance,
Antonio

Luca Longinotti

unread,
Feb 18, 2021, 12:19:30 PM2/18/21
to dv-u...@googlegroups.com
Hello, the libraries CMake doesn't find are for optional modules, if
they're not found, the modules in question are simply disabled.
- the various libavutil etc. are FFMPEG dependencies for the
video_output and livestream modules
- aravis is a dependency of the mvcamera module to support machine
vision cameras from other manufacturers

The compile error you see looks related to the 'fmt' library that we
depend on, it looks like only the static library (libfmt.a) is
available, and not the shared library (libfmt.so).
On Ubuntu, if you compile fmt on your own, you have to pass an
additional flag to fmt's CMake for this to work:

-DBUILD_SHARED_LIBS=ON

Hope this helps, have a great week!

jari...@gmail.com

unread,
Feb 23, 2021, 3:29:09 AM2/23/21
to dv-users
Hi Luca,

That compile flag solved the compile error.

Thank you,
Antonio

FenderFred

unread,
Feb 14, 2024, 5:38:12 AMFeb 14
to dv-users
Hello!

Can you give the instructions how to cross compile dv-runtime on Xilinx PetaLinux please?

Fred

Reply all
Reply to author
Forward
0 new messages