Gra nie działa na innym komputerze – dlaczego?

0

Witam, napisałem grę w C++ & SFML 2.5.1 ( Integrated Development Environment to Xcode ) i u mnie na komputerze działa ale na innym macu nie działa. Kompilator to clang++ ( Jakoś tak ), błąd wyskakuje:

Process:               FreeZe [8184]
Path:                  /Volumes/VOLUME/FreeZe.app/Contents/MacOS/FreeZe
Identifier:            com.NintySwinty.FreeZe
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           FreeZe [8184]
User ID:               501

Date/Time:             2018-12-02 15:38:23.254 +0100
OS Version:            Mac OS X 10.14.1 (18B75)
Report Version:        12
Anonymous UUID:        2B07AF9B-27DD-5E5A-8661-610D3B1FA46F

Sleep/Wake UUID:       97520D66-1D47-4658-BF8D-4819FFCED7ED

Time Awake Since Boot: 110000 seconds
Time Since Wake:       220 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: @rpath/libsfml-system.2.5.dylib
  Referenced from: /Volumes/VOLUME/FreeZe.app/Contents/MacOS/FreeZe
  Reason: image not found

Binary Images:
       0x10902e000 -        0x109031fff +com.NintySwinty.FreeZe (0) <3A5F94C5-495C-36F0-852B-C6FBFDCF5660> /Volumes/VOLUME/FreeZe.app/Contents/MacOS/FreeZe
       0x114caf000 -        0x114d2d6a7  dyld (635.2) <1780094A-8FE2-3EAA-B4A3-C4CF14BC5196> /usr/lib/dyld

Ktoś wie jak to naprawić?

3

Przecież jak byk jest napisane, że brakuje dynamicznie linkowanej biblioteki o nazwie libsfml-system.2.5.dylib.

1

Do poczytania coś takiego:

@rpath

New in Mac OS X 10.5 Leopard is @rpath. Key points:

  • the down side: you now have to pass additional linker flags when building the host application (eg. -rpath @executable_path/../Frameworks or /Library/Frameworks; note that specifying both will cause the dynamic linker to try looking in both locations)

1 użytkowników online, w tym zalogowanych: 0, gości: 1