openframeworks / openframeworks/openFrameworks
Bug : ofToDataPath issues on VS2015 when running EXE standalone
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
Running the imageLoader example.
Everything ok if running from VS.
ofLogNotice() << ofToDataPath(""); // prints: data/
But if running the exe directly the paths are not working:

Im running stable branch with is set to CHANGELOG 0.9.2.
Contributor guide
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
Run the imageLoader example under VS2015 and directly from its standalone executable, then start at the ofToDataPath entry point and compare the reported paths. Done means the standalone executable resolves the data path correctly, matching the behavior when launched from VS on the stable 0.9.2 branch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100