SAMSON-Core.command file missing in MacOS
-
I am about to do the final steps of SDK installation on macOS, but I cannot find the file :
SAMSON-Core.command. Only files SAMSON-Core.console and SAMSON-Core starting with SAMSON are present in the directory ../SDK/0.11.0/SAMSON-Debug/Binaries/SAMSON-Core
Any idea where I got it wrong ? -
Hi,
Sorry for the issue the file was not shipped with the SDK.
See : https://documentation.samson-connect.net/developers/latest/page_installation.html
To launch SAMSON just execute SAMSON-Core after doing the step inside the previous link.If the file is absent you can create SAMSON-Core.command with the following content
#!/bin/sh
echo "saving context"
SAVED_DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH
SAVED_DYLD_FRAMEWORK_PATH=$DYLD_FRAMEWORK_PATH
SAVED_DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATHecho "launching SAMSON-Core"
script_dir=$(cd "$(dirname "$0")";pwd)
cd "$script_dir"echo "You need to add ~/Qt5.12.5/5.12.5/clang_64/lib folder in your DYLD_FRAMEWORK_PATH or edit this file"
#export DYLD_FRAMEWORK_PATH=~/Qt5.12.5/5.12.5/clang_64/lib or the one corresponding to your setup
export DYLD_LIBRARY_PATH=$script_dir
export DYLD_FALLBACK_LIBRARY_PATH=$script_dir./SAMSON-Core #available flags --disablenetwork /--import /--logconsole /--logfile "file" /--logdefaultfile
echo "restoring context"
export DYLD_LIBRARY_PATH=$SAVED_DYLD_LIBRARY_PATH
export DYLD_FRAMEWORK_PATH=$SAVED_DYLD_FRAMEWORK_PATH
export DYLD_FALLBACK_LIBRARY_PATH=$SAVED_DYLD_FALLBACK_LIBRARY_PATH
then execute chmod +x SAMSON-Core.command
then execute chmod +x SAMSON-CoreJocelyn
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login