Skip to content

[bug Linux?] when processing addon data, PG is thrown off if intermediary directories are not preexisting #619

@artificiel

Description

@artificiel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions