Skip to content
0
  • Recent
  • Tags
  • Popular
  • SAMSON Connect
  • Get SAMSON
  • Recent
  • Tags
  • Popular
  • SAMSON Connect
  • Get SAMSON
Collapse
SAMSON Forum
  1. Home
  2. Develop
  3. Getting started
  4. SAMSON-Core.command file missing in MacOS

SAMSON-Core.command file missing in MacOS

Scheduled Pinned Locked Moved Getting started
2 Posts 2 Posters 2.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    J
    Jean-Luc
    wrote on last edited by
    #1

    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 ?

    1 Reply Last reply
    0
    • J
      J
      Jocelyn
      wrote on last edited by Jocelyn
      #2

      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

      1 Reply Last reply
      0

      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
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Login or register to search.
      • First post
        Last post