Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS problem - app structure #15

Open
ramboza opened this issue Apr 4, 2018 · 0 comments
Open

macOS problem - app structure #15

ramboza opened this issue Apr 4, 2018 · 0 comments

Comments

@ramboza
Copy link

ramboza commented Apr 4, 2018

Hello,

Thank you for your addon!
I hope this can help to improve it!

this error I get on macOS X when I run compiled application.

/Users/user/Projects/Cpp/myAppCM/MyAppCM/bin/ofApp.app/Contents/MacOS/ofApp
dyld: Library not loaded: @rpath/libopenFrameworksShared.dylib
Referenced from: /Users/user/Projects/Cpp/myAppCM/MyAppCM/bin/ofApp.app/Contents/MacOS/ofApp
Reason: image not found

This is structure of the build.

bin/
└── ofApp.app
    └── Contents
        ├── Frameworks
        │   └── libopenFrameworksShared.dylib
        ├── Info.plist
        └── MacOS
            ├── libfmodex.dylib
            └── ofApp

the same project but working and structure from Xcode build.

└── MyAppCMDebug.app
    └── Contents
        ├── Frameworks
        │   ├── GLUT.framework
        │   │   ├── GLUT -> Versions/Current/GLUT
        │   │   ├── Headers -> Versions/Current/Headers
        │   │   ├── Resources -> Versions/Current/Resources
        │   │   └── Versions
        │   │       ├── A
        │   │       │   ├── GLUT
        │   │       │   ├── Headers
        │   │       │   │   ├── copy.h
        │   │       │   │   ├── extrude.h
        │   │       │   │   ├── glsmap.h
        │   │       │   │   ├── glsmapint.h
        │   │       │   │   ├── glut.h
        │   │       │   │   ├── glutbitmap.h
        │   │       │   │   ├── glutf90.h
        │   │       │   │   ├── glutstroke.h
        │   │       │   │   ├── gutil.h
        │   │       │   │   ├── intersect.h
        │   │       │   │   ├── port.h
        │   │       │   │   ├── rot.h
        │   │       │   │   ├── segment.h
        │   │       │   │   ├── tube.h
        │   │       │   │   ├── tube_gc.h
        │   │       │   │   └── vvector.h
        │   │       │   └── Resources
        │   │       │       ├── Caution.tiff
        │   │       │       ├── English.lproj
        │   │       │       │   ├── GLUT.nib
        │   │       │       │   │   └── objects.nib
        │   │       │       │   ├── GLUTClipboard.nib
        │   │       │       │   │   └── objects.nib
        │   │       │       │   ├── GLUTPreferences.nib
        │   │       │       │   │   └── objects.nib
        │   │       │       │   ├── GLUTUI.strings
        │   │       │       │   └── InfoPlist.strings
        │   │       │       ├── Info.plist
        │   │       │       ├── blankCursor.tiff
        │   │       │       ├── bottomCursor.tiff
        │   │       │       ├── bottomleftCursor.tiff
        │   │       │       ├── bottomrightCursor.tiff
        │   │       │       ├── crossCursor.tiff
        │   │       │       ├── cycleCursor.tiff
        │   │       │       ├── destroyCursor.tiff
        │   │       │       ├── fingerCursor.tiff
        │   │       │       ├── helpCursor.tiff
        │   │       │       ├── leftCursor.tiff
        │   │       │       ├── leftRightCursor.tiff
        │   │       │       ├── rightArrowCursor.tiff
        │   │       │       ├── rightCursor.tiff
        │   │       │       ├── sprayCursor.tiff
        │   │       │       ├── topCursor.tiff
        │   │       │       ├── topleftCursor.tiff
        │   │       │       ├── toprightCursor.tiff
        │   │       │       ├── upDownCursor.tiff
        │   │       │       └── waitCursor.tiff
        │   │       └── Current -> A
        │   └── libfmodex.dylib
        ├── Info.plist
        ├── MacOS
        │   └── MyAppCMDebug
        ├── PkgInfo
        └── Resources
            └── icon-debug.icns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant