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_PATH

    echo "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-Core

    Jocelyn


Log in to reply
 

Looks like your connection to SAMSON Connect - Forum was lost, please wait while we try to reconnect.