openframeworks / openframeworks/projectGenerator

Templates are not detected

Open
#317 3 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

Although scripts/templates folder is full of templates, projectGenerator is unable to detect any of them.

$ projectGenerator -o"/home/robert/myLibs/of_v20230119_linux64gcc6_release" -l

getOFRoot() /home/robert/myLibs/of_v20230119_linux64gcc6_release
[notice ] Templates for target linux64

Using projectGenerator GUI:

[notice ] -----------------------------------------------
[notice ] setting OF path to: /home/robert/myLibs/of_v20230119_linux64gcc6_release
[notice ] from -o option
[notice ] target platform is: linux64
[notice ] project path is: /home/robert/myLibs/of_v20230119_linux64gcc6_release/apps/myApps/mySketch
[notice ] using additional template vscode
[notice ] setting up new project /home/robert/myLibs/of_v20230119_linux64gcc6_release/apps/myApps/mySketch
[warning] Cannot find vscode using platform template only
[notice ] saving addons.make
[notice ] project created! 
[notice ] -----------------------------------------------


1 project created [notice ] in 0.0071201 seconds





(command used: "/home/robert/myLibs/of_v20230119_linux64gcc6_release/apps/projectGenerator/commandLine/bin/projectGenerator"  -o"/home/robert/myLibs/of_v20230119_linux64gcc6_release" -a" " -p"linux64" -t"vscode" "/home/robert/myLibs/of_v20230119_linux64gcc6_release/apps/myApps/mySketch")

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

Start by inspecting scripts/templates and reproducing the issue with projectGenerator -l and the GUI command shown in the report. Trace how the linux64 platform and vscode template are discovered. Done when the listed templates are detected and project generation no longer reports that vscode cannot be found.

Written by the indexing model from the issue text.

Assessment

Domain
cli, 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.