- HandlerMinelayerData: BUILD_RTI Guards für RTI-Abhängigkeiten - svcTabCommon: Export-Header-Fix via Fallback-Target - TrainingAreaBase: Stub-Header für BUILD_RTI=OFF - ddsfts: Include-Pfad und Dependency-Fixes - BUILD_RTI=OFF Compilation vollständig unterstützt Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Entire-Checkpoint: 01M0JNZA586SACX1PRZ2DJAE5S
58 lines
2.4 KiB
Bash
Executable File
58 lines
2.4 KiB
Bash
Executable File
#!/bin/sh
|
|
#########################################################################
|
|
# (c) 2022 Copyright, Real-Time Innovations. All rights reserved. #
|
|
# No duplications, whole or partial, manual or electronic, may be made #
|
|
# without express written permission. Any such copies, or #
|
|
# revisions thereof, must display this notice unaltered. #
|
|
# This code contains trade secrets of Real-Time Innovations, Inc. #
|
|
#########################################################################
|
|
|
|
filename=$0
|
|
script_dir=`cd "\`dirname "$filename"\`"; pwd`
|
|
executable_name=rticollectorserviceapp
|
|
script_version=7.7.0
|
|
|
|
civetweb_version=1.16
|
|
curl_version=8.16.0
|
|
openssl_version=3.5.5
|
|
opentelemetry_version=1.24.0
|
|
prometheus_version=1.3.0
|
|
protobuf_version=33.0
|
|
|
|
rticommon_script_dir=$script_dir/../resource/scripts
|
|
rticommon_script_name=rticommon.sh
|
|
|
|
if [ ! -f "$rticommon_script_dir/$rticommon_script_name" ]
|
|
then
|
|
rticommon_script_dir=$script_dir/../../ndds.4.1/resource/scripts
|
|
fi
|
|
|
|
. "$rticommon_script_dir/$rticommon_script_name"
|
|
|
|
if [ ! -f "$app_lib_dir/$platform_name/libssl.$shared_lib_extension" ]
|
|
then
|
|
echo "Error: OpenSSL 3 runtime libraries were not found in '$app_lib_dir/$platform_name'."
|
|
echo "To resolve this, install the OpenSSL 3 host package for your platform:"
|
|
echo "openssl-$openssl_version-$script_version-host-<host_platform>.rtipkg"
|
|
exit 1
|
|
fi
|
|
|
|
# Add third-party dependency folders to LD_ and DYLD_LIBRARY_PATH
|
|
export LD_LIBRARY_PATH="\
|
|
$NDDSHOME/third_party/civetweb-$civetweb_version/$platform_name/release/lib:\
|
|
$NDDSHOME/third_party/curl-$curl_version/$platform_name/release/lib:\
|
|
$NDDSHOME/third_party/opentelemetry-cpp-$opentelemetry_version/$platform_name/release/lib:\
|
|
$NDDSHOME/third_party/prometheus-cpp-$prometheus_version/$platform_name/release/lib:\
|
|
$NDDSHOME/third_party/protobuf-$protobuf_version/$platform_name/release/lib:\
|
|
$LD_LIBRARY_PATH"
|
|
|
|
export DYLD_LIBRARY_PATH="\
|
|
$NDDSHOME/third_party/civetweb-$civetweb_version/$platform_name/release/lib:\
|
|
$NDDSHOME/third_party/curl-$curl_version/$platform_name/release/lib:\
|
|
$NDDSHOME/third_party/opentelemetry-cpp-$opentelemetry_version/$platform_name/release/lib:\
|
|
$NDDSHOME/third_party/prometheus-cpp-$prometheus_version/$platform_name/release/lib:\
|
|
$NDDSHOME/third_party/protobuf-$protobuf_version/$platform_name/release/lib:\
|
|
$DYLD_LIBRARY_PATH"
|
|
|
|
"$bin_dir/$platform_name/$executable_name" "$@"
|