openframeworks / openframeworks/projectGenerator
[bug Linux?] when processing addon data, PG is thrown off if intermediary directories are not preexisting
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 90
- Forks
- 79
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 5
Description
starting from an empty project, holding only
src/ addons.make
with an addon that specificies addon_data, gives the PG error:
Command failed: /opt/openFrameworks/apps/projectGenerator/commandLine/bin/projectGenerator -o"/opt/openFrameworks" -a"ofxAsio,ofxAutoReloadedShader,ofxColorSeparator,ofxCv,ofxDeckLink,ofxEasing,ofxExprTk,ofxFastFboReader,ofxFboDeluxe,ofxFmtLib,ofxGui,ofxHistogram,ofxImGui,ofxImGuiLib,ofxMQTT,ofxMQTTParameterSpace,ofxMidi,ofxNetwork,ofxNetworkUtils,ofxOpenCv,ofxOsc,ofxPSBlend,ofxPoco,ofxRGBVHistogram,ofxSol,ofxSurfingHelpers,ofxSurfingImGui,ofxVectorGuiWidgets,ofxWatchFile" -p"linux64" -t"" "/home/artificiel/source_control/674_murs-de-chair/projets/674-murs"
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: cannot create directory: No such file or directory [/home/artificiel/source_control/674_murs-de-chair/projets/674-murs/bin/data/addon_shaders]
project is partly built, seems it should create missing intermediary directories bin + data when trying to create bin/data/addon_shaders. now the directory is:
674-murs.code-workspace addons.make config.make Makefile src/
after doing:
mkdir -p bin/data
PG then completes the task.
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
Reproduce the projectGenerator command-line run from an empty project containing src/ and addons.make, with an addon that specifies addon_data. Inspect the addon_data processing path and verify that generation completes while creating the missing bin/data/addon_shaders hierarchy without requiring mkdir -p first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100