how to build autopsy and sleuthkit open source code

When I try to run the open sourçe code it gives me this error:
Problem with Sleuth Kit JNI. Test call failed!
Is Autopsy or Cyber Triage already running?
Details: java.lang.UnsatisfiedLinkError: ‘java.lang.String org.sleuthkit.datamodel. SleuthkitJNI.getVersionNat()’