artoolkitx / arunityx

artoolkitX for Unity, providing high-performance video acquisition, marker and texture tracking and full Unity Editor support
https://www.artoolkitx.org/
Other
43 stars 22 forks source link

Linux support? #18

Closed omid3098 closed 1 year ago

omid3098 commented 5 years ago

can`t build this package in ArchLinux with this error:

./build.sh: line 232: cd: too many arguments

Full log:

+ test 1 -gt 0
+ case "$1" in
+ BUILD_ANDROID=1
+ shift
+ test 0 -gt 0
++ uname -s
+ OS=Linux
++ uname -m
+ ARCH=x86_64
+ TAR=/usr/bin/tar
+ '[' Linux = Linux ']'
++ /usr/bin/nproc
+ CPUS=4
+ TAR=/bin/tar
+ source /etc/os-release
++ NAME='Arch Linux'
++ PRETTY_NAME='Arch Linux'
++ ID=arch
++ BUILD_ID=rolling
++ ANSI_COLOR='0;36'
++ HOME_URL=https://www.archlinux.org/
++ DOCUMENTATION_URL=https://wiki.archlinux.org/
++ SUPPORT_URL=https://bbs.archlinux.org/
++ BUG_REPORT_URL=https://bugs.archlinux.org/
+ grep -qE '(Microsoft|WSL)' /proc/version
+ '[' ']'
+ echo 'start download of libs'
start download of libs
+ '[' ']'
+ '[' ']'
+ '[' 1 ']'
+ cd /home/omid/Desktop/ARToolkit Source/arunityx/Source
./build.sh: line 232: cd: too many arguments
kavra commented 5 years ago

Maybe it's a little bit late but... I think you have this problem because there is a whitespace character in the route "/home/omid/Desktop/ARToolkit Source/arunityx/Source" and the "cd" command interprets there are two arguments instead of one. You can try to rename the folder "ARToolkit Source" to something without white spaces.