ofxCMake
ofxCMake copied to clipboard
macOS problem - app structure
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