artoolkitx / arunityx

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

Can't package on Linux #33

Closed infinityplusb closed 1 year ago

infinityplusb commented 4 years ago

I've downloaded and run the setup.sh linux which seems to be successful. Log:

brian@me:~/Documents/Programming/arunityx/Source$ ./build.sh linux
+ test 1 -gt 0
+ case "$1" in
+ BUILD_LINUX=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=8
+ TAR=/bin/tar
+ source /etc/os-release
++ NAME=Ubuntu
++ VERSION='18.04.3 LTS (Bionic Beaver)'
++ ID=ubuntu
++ ID_LIKE=debian
++ PRETTY_NAME='Ubuntu 18.04.3 LTS'
++ VERSION_ID=18.04
++ HOME_URL=https://www.ubuntu.com/
++ SUPPORT_URL=https://help.ubuntu.com/
++ BUG_REPORT_URL=https://bugs.launchpad.net/ubuntu/
++ PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy
++ VERSION_CODENAME=bionic
++ UBUNTU_CODENAME=bionic
+ grep -qE '(Microsoft|WSL)' /proc/version
+ '[' ']'
+ echo 'start download of libs'
start download of libs
+ '[' ']'
+ '[' ']'
+ '[' ']'
+ '[' ']'

however when I then try to run the packaging it tells me that I need to run the build.sh ...

brian@me:~/Documents/Programming/arunityx/Source$ ./packaging/package.sh 
+ UNITY_VERSION=
+++ dirname ./packaging/package.sh
++ cd ./packaging
++ pwd
+ OURDIR=/home/brian/Documents/Programming/arunityx/Source/packaging
+ ARUNITYX_HOME=/home/brian/Documents/Programming/arunityx/Source/packaging/../..
+ '[' -f /home/brian/Documents/Programming/arunityx/Source/packaging/../Extras/artoolkitX/LICENSE.txt ']'
+ cd /home/brian/Documents/Programming/arunityx/Source/packaging
+ CONFIG_LOCATION=/SDK/include/ARX/AR/config.h
+ '[' '!' -f /SDK/include/ARX/AR/config.h ']'
+ CONFIG_LOCATION=/SDK/Frameworks/ARX.framework/Headers/AR/config.h
+ '[' '!' -f /SDK/Frameworks/ARX.framework/Headers/AR/config.h ']'
+ '[' -f /home/brian/Documents/Programming/arunityx/Source/packaging/../../Source/Package/Assets/Plugins/Android/arxjUnity.jar ']'
+ '[' -f /home/brian/Documents/Programming/arunityx/Source/packaging/../../Source/Package/Assets/Plugins/iOS/libARX.a ']'
+ '[' -f /home/brian/Documents/Programming/arunityx/Source/packaging/../../Source/Package/Assets/Plugins/x86_64/ARX.dll ']'
+ '[' -f /home/brian/Documents/Programming/arunityx/Source/packaging/../../Source/Package/Assets/Plugins/ARX.bundle ']'
+ echo 'You need to run ./build.sh <plattform> before packaging.'
You need to run ./build.sh <plattform> before packaging.
+ exit -1

Any ideas?

philip-lamb commented 1 year ago

Packaging should work in 1.1.2 release.