Skip to content

Commit 833a9c7

Browse files
committed
Add more helpful messaging if setup fails due to missing libs, v2.9.3
1 parent 6345f59 commit 833a9c7

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.16)
2-
project(xrDriver VERSION 2.9.2 LANGUAGES C)
2+
project(xrDriver VERSION 2.9.3 LANGUAGES C)
33

44
# Emit compile_commands.json for IDEs (VS Code IntelliSense)
55
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

bin/xr_driver_setup

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ then
6565
lib_path_arg="$local_dir/xrDriver-libs-$ARCH.tar.gz"
6666
if [ ! -f "$lib_path_arg" ]; then
6767
echo "Error: Lib archive not found at $lib_path_arg"
68+
69+
YELLOW='\e[1;33m'
70+
RESET='\e[0m'
71+
echo -e "\n${YELLOW}IMPORTANT${RESET}: Be sure you're using the latest version of the setup script\n"
6872
exit 1
6973
fi
7074
fi

0 commit comments

Comments
 (0)