openframeworks / openframeworks/openFrameworks

Bug : ofToDataPath issues on VS2015 when running EXE standalone

Open
#4,964 4 comments 0 reactions 0 assignees View on GitHub

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:

2016-03-02 14_47_34-c__openframeworks_examples_graphics_imageloaderexample_bin_imageloaderexample_de

Im running stable branch with is set to CHANGELOG 0.9.2.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.