openframeworks / openframeworks/projectGenerator
Template: OSX Application with no FMOD linking broken
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 90
- Forks
- 79
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 5
Description
The generated Project.xcconfig file sets OF_CORE_LIBS without FMOD. However, FMOD is still referenced from OF, like
_FMOD_SYSTEM_CLOSE
In the past, I have set something like OF_NO_FMOD and avoided all of the fmod calls if it is set.
In the Run Script Build Phase FMOD is being copied over
rsync -aved "$OF_PATH/libs/fmod/lib/osx/libfmod.dylib" "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks/";
Could be an opportunity to integrate something like OF_NO_SOUND or the like. This could also be referenced in the Build phase to avoid unnecessarily copying over FMOD.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the generated Project.xcconfig and the Run Script Build Phase that copies libfmod.dylib; trace how OF_CORE_LIBS and FMOD references are produced for the OSX application template. Confirm the intended no-sound or no-FMOD behavior with maintainers, then verify that a generated project has no FMOD linking or copying when that option is disabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, shell
- Domain
- build-system, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100