openframeworks / openframeworks/openFrameworks

ofSetDataPathRoot does not work when running from IDE

Open
#5,359 0 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

I'm running VS2015 and when I set the path to data folder it works only when double clicking the app (or running from cmd) but not when running from the IDE.

forum post:
https://forum.openframeworks.cc/t/ofsetdatapathroot-does-not-apply-from-ide/25118

No idea where to start looking to change IDE's behaviour..

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

Start with the ofSetDataPathRoot entry point and reproduce the difference between launching the app from Visual Studio 2015 and from the command line. Read the linked forum post for context, then inspect how the IDE launch context affects the data-folder path. Done means the configured data path behaves consistently in both launch modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.