openframeworks / openframeworks/projectGenerator

If OF to stored on a different drive than your project root, visual studio project file is invalid

Open
#117 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
90
Forks
79
Avg merge
2d 9h
Merged PRs (30d)
5

Description

My setup is this:

  • OF directory is stored on my d: drive
  • App code is stored on my c: drive (dropbox folder for reasons)

If I used the project generator, the sln and vcxproj files refer to the of directory as a bunch of ../.. with no mention of the drive letter once it gets to the root. This means the solution file and the vcxproj file need to have a search and replace done on it that replaces all of the ../'s with the drive letter (in my case d:.

If I can figure it out, I'll send a PR that checks for going across drive boundaries, and then just using the absolute path from the drive.

Contributor guide

No contributing guide indexed for this repository

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

Reproduce the project-generator setup with the OF directory on one drive and the app on another, then inspect how it writes the .sln and .vcxproj paths. Done means generated Visual Studio project files retain the OF drive letter and open without manual search-and-replace.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, tooling
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.